LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

abort for loop

Solved!
Go to solution

2015/07/22

I'm trying to abort a subVI that has a for loop. I don't want to wait for the for loop to complete. Top Level VI Pass refnums for FP Controls (start time, current time, target time, Elapsed time, and Remaining Time) and refnum to the while loop stop button into subVI. SubVI Im using the Elapsed time express VI to get the start time, current time, target time, Elapsed time, and Remaining Time. I input Refnums to top level controls for each. The stop button value is retrieved with property node and sent to STOP. The STOP causes the subVI and the calling VI to stop.
0 Kudos
Message 1 of 2
(2,780 Views)
Solution
Accepted by topic author Regulator

I added a conditional terminal to the for loop.  Bingo!

0 Kudos
Message 2 of 2
(2,777 Views)