LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is possible hide the front panel of a vi that launch other vi?

We have a vi that launchs other vi( modal subvi, that shows his front panel).
But while is running this subvi, I want to "hide" the vi, and when the subvi finish we want to show the vi's front panel.
How can we do it? I check property node /Invoke node functions, but I don't find any good solution!
Any idea?

Best regards,

Graci
0 Kudos
Message 1 of 5
(2,511 Views)
Create a refernce to the vi
then use an invoked method, to set its properties

Close FP closes front panel
Open FP opens fron t panel, it has properties that include Maximed/Minimized/Hidden

By setting appropriately these properties, you can acheive your goal
Message 2 of 5
(2,507 Views)
Here is a vi that does exactly what you are asking for.
Sorry for the french comments... It should not be to difficult to understand the code.

You must call this vi twice in the subvi.
1) With the input set to "Masquer" (--> hide) at the beginning of the execution of the subvi.
2) With the input set to "Afficher" (--> show) at the end of the execution of the subvi.
Message 3 of 5
(2,484 Views)
Message 4 of 5
(2,481 Views)
Thank you!!
It works really good!!!
Best regards,

Gracinda
0 Kudos
Message 5 of 5
(2,472 Views)