LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using "Set Control Value" to pass a reference

Hi,
every time I tried to passe a Control Reference using "Set Control Value" I have the Error 1 (invalid input parameter at invoke node). Why is it not possible to pass a control reference using the invoke node??

Thanks
Golzio
0 Kudos
Message 1 of 2
(2,773 Views)
Hi,

This is possible. Trick is, the type of the control reference needs to be
the same as the input. E.g. a string control reference is a different type
as a numeric control reference (, or a control reference).

To avoid this conflic, make sure the input of the vi is a control reference
(and not a e.g. string control reference). Also make sure the to convert the
reference you pass to a control reference (using Application Control>To More
Generic Class).

Regards,

Wiebe.

"Golzio" wrote in message
news:506500000008000000C1F00000-1079395200000@exchange.ni.com...
> Hi,
> every time I tried to passe a Control Reference using "Set Control
> Value" I have the Error 1 (invalid input parameter at invoke node).
> Why is it not possible to pass a control re
ference using the invoke
> node??
>
> Thanks
> Golzio
0 Kudos
Message 2 of 2
(2,773 Views)