LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview pauses when dialog box displayed

When I display a dialog box in LabView, the program waits for the user to click ok. I would like for the program to not wait but keep running after it displays the box. How can I do this and how can I customize the dialog box?
0 Kudos
Message 1 of 7
(3,102 Views)
Hi,
If you don't need the signal generated by the dialog box, then, you can use a subVI for displaying only a pop-up, and including a button to disappear it. Also, if you want only showing a mesage, you can use a string indicator and use a "visible" property (property node) for hidden or showing the mesage. Tell me if you need some extra help...

JFT
0 Kudos
Message 2 of 7
(3,102 Views)
I want to use a subVI to display a pop-up and include an ok button to make it disappear. I want the program to keep running after the pop-up appears. Could you post an example on how to do this? Thanks.
0 Kudos
Message 3 of 7
(3,102 Views)
You can put the subVI in a separate loop or you can use an Invoke Node (Run VI) and set Wait until done to false.
0 Kudos
Message 4 of 7
(3,102 Views)
Just run...

JFT
0 Kudos
Message 5 of 7
(3,102 Views)
Could you explain how the invoke node works? I have not used them before.
0 Kudos
Message 6 of 7
(3,102 Views)
You drop an Invoke Node from the Application palette onto the block diagram, wire up a reference to the subVI, right click the invoke node and select the method. There's an example here that shows how an invoke node is used to make a front panel visible. There are other examples on the developer zone and several have been posted to this forum. You question seems to pop up once week or so and a little searching of the forum will give you a lot of examples.
0 Kudos
Message 7 of 7
(3,102 Views)