LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i change automaticaly the type of output variable of a vi

Hello, 

i would like to put the variant conversion inside the vi on the left. ....but i dont find how do that ....and if it's possible!

 

vincent69_0-1716559373515.png

Thank You

0 Kudos
Message 1 of 4
(421 Views)

The "type" is the same as wired on top of the variant conversion. You could probably make a malleable VI that has that type as input and where you can wire a constant.

0 Kudos
Message 2 of 4
(409 Views)

the type of the vi could be very different !

I would like make an "universal" vi ....but perhaps it's not possible !

0 Kudos
Message 3 of 4
(332 Views)

Hi Vincent,

 

As suggested by altenbach, it is possible by turning your existing VI into a malleable VI.

Rename your VI with extension .vim instead of .vi, then make it "Inline" (VI Properties -> Execution -> Inline subVI).

Then put your "Variant to Data" inside your SubVI. The "Type" should be an input of your malleable VI.

 

Regards,

Raphaël.

Message 4 of 4
(316 Views)