LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stopping a subpannel VI with a stop button from the main VI

Hello community , help me please . i m executing a program that allows me when i clic on " start measurment button " it calls Chart.vi in a subpannel responsable for the graph plots of measurment test . i want when i press on " stop button" (from my main program) it stops the subpannel execution .

0 Kudos
Message 1 of 2
(620 Views)

1. You do not need to continuously start up and insert the VI ever sub-ms.  You can do that before the loop or use an Event Structure and let the user choose when to load the VI.

 

2. You should look into the Start Asynchronous Call function.  You can use it to call the VI to run asynchronously and allow you to wire up the controls instead of using the Control Value Set invoke nodes.

 

3. You should use a Notifier or Queue to send messages to the asynchronously called VI telling it to stop.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(583 Views)