From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can one create a temporary dialog box?

Hi all,

 

I want to make a temporary dialog box, so in short;

 

-User presses the start button

-Text appears over a section of the front panel

-When the program finishes the text goes away

-Without the user being able to interact with the text, ie. no close button

 

I hope I have explained this well enough for someone to understand,

 

Is this possible? and how could I do it?

 

Cheers,

 

JimJam Bot

0 Kudos
Message 1 of 5
(3,380 Views)

Make a modal subVI that ignores all panel close events.  Have the buttons on the main VI disable before running it and enable after running it.

0 Kudos
Message 2 of 5
(3,362 Views)

Create a VI that shows its front panel when called and close when complete (set in the VI properties).  All you need on the front panel (or at least visible) is your text.  When the code inside of the VI is complete, it will close (when called from another VI).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 5
(3,360 Views)

Thank you for responding, I managed to find a way involving the classic string indicator and a loop to print the string to the front panel then set it to nothing after so it effectively dissapeared.

 

JimJamBot

0 Kudos
Message 4 of 5
(3,335 Views)

use property node for string like this vi

0 Kudos
Message 5 of 5
(3,311 Views)