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!!
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.
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.
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.