Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66762

Resetting a for loop counter and restarting the computation

$
0
0

I have a while loop nested inside a for loop to do a calculation of a model. 

 

Lets say I am on the for loop counter 4. Suppose I wanted to keep track of the number of iterations on one the while loop, and if it exceeded a certain number say 100, exit the while loop.  I am doing this to avoid my model calculation being stuck at a spot due to optimization issues. I now want to restart the calculations of for loop counter 4. 

 

Is there a way to do this in labview? 


Viewing all articles
Browse latest Browse all 66762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>