LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

load a VI in the front panel of another VI

When the first VI runs I would like the other VI appear in the front panel of the first VI with all its components.I don;t want to have two windows, just one.
0 Kudos
Message 1 of 3
(2,681 Views)
I am pretty sure that this is not possible, yet. It should be possible with ActiveX, but there is no implementation yet.

-Jim
0 Kudos
Message 2 of 3
(2,681 Views)
It can be figured out by setting one VI as parent window and the others as child window.

LabVIEW provides the "Call Library Function" to call DLL. So you can come up with a DLL to set the window properties. The steps are:

1) Run VI's.
2) Get handles of the front panels by window names. (MFC function)
3) Set one of them as parent and others as child window. (MFC Function)
0 Kudos
Message 3 of 3
(2,681 Views)