LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

timed popup dialog box

Hi there,
 
I'm still trying to learn LabView here and I'm confronted by a problem.
 
I'm trying to build up a VI that has a timed dialog box with two buttons that tells the technican to press a switch.
 
My supervisor wanted it to be like 5 seconds that the popup dialog box is on, then goes onto the next swtich if there is no user interaction. All of this at the same time making a voltage measurement off the DMM (Agilent 34401A) to see if the switch is working within tolerances.  Also, he wants two buttons that are required: "Continue" if the technician wants to continue if there is a problem, or "Stop" the program altogether. 
 
For example: A dialog box come up and says "Press S1", at the same time, start taking measurements. Then without user intervention, goes onto the next switch and says "Press S2", measure voltage, and so on.
 
I've included the VI that I was creating and I know that it is not the right way to go. I was trying to use a timed loop to see if that would work, but it's all wrong.
 
Does anyone have any ideas on what I could do?
 
I would appreciate it.
 
Steve
Download All
0 Kudos
Message 1 of 2
(2,914 Views)

Steve,

You need to create a subVI and set the Properties -> Window Appearance to dialog.  This way you create your own dialog box that you can timeout to any value.  The inputs would be the message and the amout of time to wait for a response.  The outputs would be timed out or the button that was pressed.  If you use event structures this is very easy because the timeout case of the event structure is a user timeout.

 

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 2 of 2
(2,900 Views)