取消
显示结果 
搜索替代 
您的意思是: 

show a vi that is normally hidden

已解决!
转到解答

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 项奖励
1 条消息(共 5 条)
3,454 次查看
解答
已被主题作者 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.

2 条消息(共 5 条)
3,451 次查看
Thanks, works great.
0 项奖励
3 条消息(共 5 条)
3,429 次查看

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 项奖励
4 条消息(共 5 条)
3,426 次查看

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 项奖励
5 条消息(共 5 条)
3,420 次查看