LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with the while loop stop !

 

I want to stop my while loop at any stage of execution without waiting for the subprogramme  exéxusion which is inside the loop.

I tried to use the concept of local variables as is shown in the attachments, but in vainerror.png

0 Kudos
Message 1 of 3
(2,620 Views)

The while loop can only complete once everything in it has completed. If the loop contains a slow subVI, you need to find a way to query the stop condition inside the subVI.

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

As for the error you have to right click on the stop control and change the mechanical action to switching.

=====================
LabVIEW 2012


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