LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"sub vi calling main vi"

I have a main menu calling several submenus using button functions. When i enter the submenu it should close main menu. Then how do i come back to the main menu after closing the submenu?
0 Kudos
Message 1 of 2
(2,228 Views)
You can use a VI reference to close and then reopen the front panel of your main menu vi. The attached example has a one button "menu". When you click the button, it closes the mainmenu front panel (not the VI, just its front panel), and runs a vi for the submenu. It waits for the subVI to get done, then it reopens the mainmenu front panel.
Download All
0 Kudos
Message 2 of 2
(2,228 Views)