LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert to Variant 1D

Solved!
Go to solution

Hi

 

I am currently using VBAI API. I want to send my variables from LabVIEW to VBAI through Set Variables. The problem is it accepts only 1D Array of Variant. I tried using "To Variant" but error in connection. The question is how to build or convert 1D Array of Variant?

 

Thank you

0 Kudos
Message 1 of 3
(839 Views)
Solution
Accepted by topic author kellydaa

Use Build Array to go from a "scalar" of Variant to a 1 element 1-D array of Variant.

0 Kudos
Message 2 of 3
(826 Views)

OMG. That simple.. Why didn't I think of that?

Thank you! 

0 Kudos
Message 3 of 3
(804 Views)