LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I prompt a user after a stop command is initiated?

I am using labview 6.1. My application consists of doing an initial test on a bank of transducers. If the initial test finds a bad transucer, I want the VI to stop, prompt the user to replace the ducer and click ok when ready. Thanks for the input
0 Kudos
Message 1 of 2
(2,575 Views)
To prompt a user for an action in your application use the One Button or Two Button Dialog function in LabVIEW. These functions can be found in the Time&Dialog section of the function palette.

Placed in your diagram, the function will popup a dialog window with the string you pass to the function and will halt the execution of the section of the code in which the function is placed, i.e. the function will not return to the code unitl the button is pressed.

Throughout this whole sequence the main VI should not stop. The main VI will keep running and you should loop back to your test after the user presses the button on the dialog.

Christian L
authored by
Christian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX


  
Message 2 of 2
(2,575 Views)