LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control Value:Set [Variant] Method - how can i use this with strict type definitions?

I want to pass default values to a strict type definition from a mainVI to a subVI, but I'm not allowed to use the "Control Value:Set [Variant] Method" invoke node to do it.  How else can I achieve this?
thanks,
Z
0 Kudos
Message 1 of 4
(2,594 Views)

Hi Z,

If you use strict type defintion references you can use Call by reference Node. Depending on the connector pane for the subvi which is referenced you just wire your data to the corresponding terminals. I attach an easy example which dynamically opens and writes to an arbitary number of a template.

Hope it helps

Pelle S
Account Manager
National Instruments Sweden
Message 2 of 4
(2,584 Views)
Hi Pelle,
    Thanks for your reponse.  I'm sorry for getting back so slowly.  I'd like to view your example, but I've only got labview 8.  can you save it in a previousw version.
-Z
0 Kudos
Message 3 of 4
(2,558 Views)

Hi Z,

Now the files should be version 8.0.

Hope it helps,

Pelle S
Account Manager
National Instruments Sweden
0 Kudos
Message 4 of 4
(2,534 Views)