LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display message

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

Hugo Santos
Student at ISEC - Master Mechanical Equipment and Systems
0 Kudos
Message 1 of 2
(1,914 Views)

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.

=====================
LabVIEW 2012


Message 2 of 2
(1,905 Views)