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,301 Views)
I the subject you are talking about VIs in the text about menus. From the context I think you want a solution regarding VIs.

Is it right you have a VI and you call a subVI which opens its front panel? At this time you want that the front panel of the callee will be closed?

You need to do the following thing:
Get the title bar text of your VI which front panel you will hide with a property node. Give this text to the subVI via connector pane. In the subVI use the "hide window" VI to hide the front panel of the callee. When you are leaving use "show window" VI to display it again.

These functions are part of the LabVIEW Windows u
tilities
.
Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 2 of 2
(2,301 Views)