LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

import VI into a tab Controller of an existing VI

Hello Is ther a way to importa an old VI from different project to a new VI?

 

In the new Vi I have this Tab Control, si the second tab will include the old Vi

 

Thanks.

0 Kudos
Message 1 of 3
(2,396 Views)

This make little sense.  A "Tab Control" is a container for objects that can exist on a vi front panel.  It cannot contain a vi.  A Tab control could contain a sub-panel and a vi can be loaded into a sub-panel but there are some provisos (e.g. events change scope to the vi containing the subpanel rather than the vi loaded into the subpanel)

 

What are you really triing to do?


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 3
(2,393 Views)
If you are wanting to include the front panel of the "old VI" in the front panel of a new VI you can use a subpanel control. The subpanel control can be placed with the 2nd pane of the tab control and then you can load the old VI programmatically. The help gives info on how to do this http://zone.ni.com/reference/en-XX/help/371361K-01/lvhowto/loading_panel_in_subpanel/. You can also look in the Example Finder and there are examples of using subpanels. Wire Warrior
Wire Warrior

Behold the power of LabVIEW as my army of Roomba minions streaks across the floor!
0 Kudos
Message 3 of 3
(2,392 Views)