05-23-2022 07:34 AM
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 .
05-23-2022 09:24 AM
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.