LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating reference of a subpanel to pass to a subvi

It does not appear to be possible to creat a reference to a subpanel (to pass to a subvi). Can someone confirm this? Can a subvi in anyway access the subpanel of another vi? This will make my code much more object oriented. Does anyone else feel this is a desired feature? Thanks.
Zuolan
0 Kudos
Message 1 of 4
(3,659 Views)
Hello Zuolan

the refnum of the SubPanel can be found in the "controls[]" - property of the parent vi (see attachment).

greetings
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 4
(3,659 Views)
In LabVIEW 7.0, on the front panel, popup on the frame of the subpanel control and select Create > Reference. It will create a reference for the subpanel. you can then create control from this and place that on your subVI.

I haven't actually tried to use one, but I did notice that it does create it.
Message 3 of 4
(3,659 Views)
This does work. Thanks.
0 Kudos
Message 4 of 4
(3,659 Views)