LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make a VI disappear but still have the VI run.

I am currently using labview 5.0. When I place a charge amount into my digital control box, I want the VI to disappear after I press my "ok" boolean button but still complete the charge so I can view my main panel. Can this be done?
0 Kudos
Message 1 of 7
(3,159 Views)
Not sure I understand the question. Please restate.

I'll try to answer what I think you are asking though.

If you want a dialog box, which appears when called, and disappears when complete, then just set the settings as appropriate in the VI settings under Window Appearance.

Good luck.
0 Kudos
Message 2 of 7
(3,158 Views)
Thank you for the answer. I will try to restate my question.
I have a main screen VI that controls the parameters of my reactor system. My "chemical VI" is set up so I can enter a required chemical amount, press "ok" and it signals a relay to open up a solenoid and charges the entered amount. Once I press the "ok" icon (which is a boolean button), the chemical VI needs to disappear from my main screen VI ,but continue to charge the liquid until the entered amount is reached.
Hope this clears it up a little.
0 Kudos
Message 3 of 7
(3,158 Views)
The simplest way is probably to make your dialog box a separate VI that just gets the initial value and doesn't do the controlling as well.
0 Kudos
Message 4 of 7
(3,158 Views)
What we need is a simple example of a vi for a popup dialog window to enter data and then is closable.

Thanks in advance.

PS: I've beat my head against this problem for two days, and the vi-properties DO NOT give the desired behavior, i.e. window not present until popup dialob vi called, and window disappears after vi completion.
0 Kudos
Message 5 of 7
(3,158 Views)
If you want to hide the front panel of a VI use the LVWutil32 library. In the windows subpalette is a function Hide Window.vi. This hides the front panel without stopping the execution. The only thing is you must know the text in the title bar.

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 6 of 7
(3,158 Views)
Have you looked at either of the two shipping examples of dialog boxes? Go to Help>Find Examples>Building User Interfaces>Designing Dialog Boxes. If niether of these do want you want, could you explain what you need in further detail?
0 Kudos
Message 7 of 7
(3,158 Views)