LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

To stop a subvi from Main vi

Hi!
A subVi with producer consumer loop is called in main VI. how can the sub VI be stopped from the main VI? Which event can be used in the Producer loop of the subvi to stop the consumer loops when the user selects Stop subVI button on Main VI's front panel?
 
Thanks!
0 Kudos
Message 1 of 3
(2,679 Views)
This example might be helpful to you 🙂
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
Message 2 of 3
(2,667 Views)

Thanks Ian,

I used another consumer loop and changed the code logic. It works:)

Cheers!

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