LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

opening and closing sub vi's

I would like to open a sub vi that allows users to input parameters and once
they hit an enter button to have the front panel dissapear so that there
is a full screen graph.
How is this done?
0 Kudos
Message 1 of 3
(2,583 Views)
You can put the subVI on the diagram, and select subVI
setup, there, check "open front panel when called" and
"close if originally closed". If you implement a while loop
in the subVI, when you call it it will execute until you
hit the button, and then dissapear. About the full screen
graph, once you enter parameters, you can wire them to your
graph subVI and at VI setup check "size to screen" option.
Hope this helps

Gorka Larrea
glarrea_1@hotmail.com


* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful
0 Kudos
Message 2 of 3
(2,583 Views)
To do this, right click on the vi icon in the vi front panel view, select VI
Setup and then Execution Options. Select the Show Front Panel When Called
and Close Afterwards if Originally Closed. This will cause the sub-vi front
panel to appear when it starts to execute and then close when the sub-vi
completes execution (ie. after the "enter" button was pressed)

Ken Trudgeon
Pblue wrote in message
news:39582ce9@newsgroups.ni.com...
>
> I would like to open a sub vi that allows users to input parameters and
once
> they hit an enter button to have the front panel dissapear so that there
> is a full screen graph.
> How is this done?
0 Kudos
Message 3 of 3
(2,583 Views)