LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pop up message window

Solved!
Go to solution

Hello,

 

I'm currently using a single button dialogue box to display messages.

However, Is there a way to display a message that will clear without a button (No Button Dialogue)?

 

 

Thanks

 

 

0 Kudos
Message 1 of 5
(8,477 Views)
Solution
Accepted by topic author floresma

Make a small and simple VI that could either have a for/while loop with a timer (for the duration of display), string indicator and control and make it act as a dialog box on the VI properties.

 

Kas

0 Kudos
Message 2 of 5
(8,475 Views)

How will the dialog be dismissed? Does the user need to use the Close box in the title bar?

 

Have you looked at the shipping example? There's a dialog box demo that uses a subVI that is a dialog. You can easily copy that subVI and simply modify it to remove the buttons and then set the VI properties to show the Close box. You will need to read the state of the front panel to stop the loop so that the loop will end when front panel is closed. For example:

Message 3 of 5
(8,455 Views)

See attached examples.  One has a button, the other does not.

It will look like the existing One Button display.

 

I would add the modification smercurio suggested so that if the close window is clicked, it also stops the VI.

 

Download All
0 Kudos
Message 4 of 5
(8,454 Views)

Thanks:) it worked perfectly!

0 Kudos
Message 5 of 5
(8,413 Views)