LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

input and output parameter for subpanels

Hi,

i'm creating a measurement configuration tool within LabVIEW and i want
to use subpanels for the several inputs/outputs (analog, digital...).

The configuration data is hold within a data storage (variant) and
contains all needed configuration parameters. Now i placed a subpanel
control and needed stuff inside the block diagram of the wizard and i'm
able to run it. Changes i made in that subpanels are lost currently
because i'm not able to retrieve the output (connector) of the selected
subpanel.

Is there a way to exchange data over the connectors of the vi or do i
have to use global variables in such a case? I hope i can avoid this.

Thanks
Henrik
0 Kudos
Message 1 of 4
(3,232 Views)
See the example in this recent posting. To get data from a subpanel, use Get Control Value or Get Control Value [Variant].
Message 2 of 4
(3,232 Views)
Dennis Knutson meinte:

> recent posting. To get data from a subpanel, use Get Control Value or
> Get Control Value [Variant].

Thanks. I already tried this invoke node at the weekend and it will fit
my conditions. If there are a lot of connectors it would be a bothering
work but with two input and two output terminals it's ok.

Henrik
0 Kudos
Message 3 of 4
(3,232 Views)
Hi Henrik,

Unfortunately, like Dennis has suggested, there isn't a straightforward way. That other thread would definitely be the way to go, regardless of the number of terminals you will be accessing. Of course, if you have more terminals you can always get all of the controls and store them in a cluster, and then get and set your data as you need to from that cluster.

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 4 of 4
(3,232 Views)