LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i finisch the whole Programm with only one buton

I use While and loop in my Programm.Sometimes i use stop buton to end the programm.but the others runs .How can I end the general programm with only one buton(Stop).thanks!!
0 Kudos
Message 1 of 7
(3,238 Views)
I recommend Quit LabVIEW Function.
That path is
Function->Application Control->Quit LabVIEW
0 Kudos
Message 2 of 7
(3,238 Views)
If you're talking about multiple while loops, the simlest thing to do is create local variables of the stop button and monitor those in the other while loops.
Message 3 of 7
(3,238 Views)
This would certainly work, but a less drastic measure would be using the local variables as Dennis suggested. This allows you to retain some control over they way you quit, and prevents you from having to re-start LabVIEW numerous times during development.
0 Kudos
Message 4 of 7
(3,238 Views)
He want to end program.
If he desired to stop program,I would propose
global/local variable.
0 Kudos
Message 5 of 7
(3,238 Views)
You have to first use the local variables to stop all the while loops in a controlled manner and then you can use the Exit function. Doing anything else is flirting with disaster.
0 Kudos
Message 6 of 7
(3,238 Views)
Thank you a lot.I can this now
0 Kudos
Message 7 of 7
(3,238 Views)