LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Polymorphic VI with only the output types changing.

I have build a Polymorphic VI but the only type that changes from one instance to the other is the outputs. The inputs are the same in each instance. But when I try to wired the different output type if it's not the default type the wire is broken. I have to right-click, chose Select Type and choose the instance that I want. But I want the VI to do this automatically depending on the output I wired....Is this possible or the instance of the VI is chosen on the inputs type only.
0 Kudos
Message 1 of 2
(2,658 Views)
Hi Gilles,

the instance of your vi doesn't know what type of data you need after call.
Between nearer datatypes LabVIEW creates automatically a cast to the new
type (like I32->I8), but when you have incompatible data no cast could be
created. Therefor you have to select the type of the used instance for
yourself.

Henrik


GillesHache schrieb in im Newsbeitrag:
506500000008000000C8200000-991728092000@quiq.com...
> I have build a Polymorphic VI but the only type that changes from one
> instance to the other is the outputs. The inputs are the same in each
> instance. But when I try to wired the different output type if it's
> not the default type the wire is broken. I have to right-click, chose
> Select Type and choose the instance that I want. But
I want the VI to
> do this automatically depending on the output I wired....Is this
> possible or the instance of the VI is chosen on the inputs type only.
0 Kudos
Message 2 of 2
(2,658 Views)