07-10-2012 08:47 AM - edited 07-10-2012 08:47 AM
Good afternoon,
I would put a warning message, but that stopped when I click ok. He also liked to implement a message like "Are you sure get out?" to stop the program.
Greetings
07-10-2012 09:15 AM
Look at the Two Button Dialog. It has three inputs: One is the name of the message, one is the name of the 'true' button, and one is the name of the false button. It has a boolean output indicating if the true button or the false button was pressed. Wire that output to the stop terminal of your while loop.
Better yet make your own dialog with a stop and/or cancel button. Just write a subVI and set it to dialog under VI properties. Put an event structure in a while loop and have an output that indicates if the stop button was pressed. You could also use a named notifier to signal stop.