LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stop function that stops all functions

I need a way to have a stop in the outer loop that also stops an inner loop once it is started before the inner loop ends if certain criteria are met.  Sort of an emergency stop of the inner and outer loop if criteria are met, to exit to the rest of the program immediately.
0 Kudos
Message 1 of 3
(2,585 Views)
You should place the stop condition in the innermost loop and everything will fall into place. 🙂
0 Kudos
Message 2 of 3
(2,581 Views)
Or, the ugly, brute force method, create a local variable of the outer loop's stop control and use it as one condition of the inner loop's stop, OR'd with any other stop conditions for that loop.


Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 3 of 3
(2,570 Views)