LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

show a vi that is normally hidden

Solved!
Go to solution

Hi Guys,

               i have a VI that has a subVI constantly running in the back ground, but i want a button on the main VI to allow a user to make the subVI visible, then when the user closes the sub VI i want it to go back to running in the background.

 

So to clarify i want the SubVI to run all the time out of sight but allow a user to show/hide it from the main VI.

 

I have looked at property nodes but i cant create a reference for a sub VI.

 

Any ideas >?

 

thanks, zac

0 Kudos
Message 1 of 5
(2,697 Views)
Solution
Accepted by topic author Zac_Acal

Zac_Acal wrote:

I have looked at property nodes but i cant create a reference for a sub VI.


Easiest would be to place a static VI reference (application control palette), and browse for the correct VI. Then use an invoke node with  FP.open method.

Message 2 of 5
(2,694 Views)
Thanks, works great.
0 Kudos
Message 3 of 5
(2,672 Views)

Just one question...

 

Because the staticVIreference is looking for a path, does that mean that when i install the .exe version on another pc it wont work unless i copy that vi into that path on that pc, or will all that be taken care of in the compile ?

 

Cheers, Zac

0 Kudos
Message 4 of 5
(2,669 Views)

Zac_Acal wrote:

... or will all that be taken care of in the compile ?


Yes, everything will be taken care of automatically when you built the application.

0 Kudos
Message 5 of 5
(2,663 Views)