Showing results for 
Search instead for 
Did you mean: 

Counting up and then count down, over and over

Go to solution

@MGardner5 wrote:

How is that any different than putting everything inside an infinite while loop?

If your code was more complex and you had initialization code or other things going on they would get executed every time the VI runs. For example, the "First Call" would always return true at the start of the VI. Secondly, using the abort button to stop your VI is liking driving your car into a wall to stop it. Yes it works, but it is the best idea. The abort doesn't give you a chance to do any type of cleanup in your code. To be honest, NI should really remove the "Run Continuously" button from the tool bar.


Try this, then place it is a while loop with a Stop button and see what happens.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 11 of 11