LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

passing array of variant to Microsoft COM object method

I've an LV 7.1 application that invoke a COM Object method (written in VC++ 7.0) , one of its parameters is an array of variant. I'd like to know how to prepare it in LV.
 
Thanks to all,
Massimo Ponte.
0 Kudos
Message 1 of 2
(2,558 Views)

Assuming you have the pieces of information that need to go into the array, convert each one into a variant using the built-in LV function. Next, combine all the resulting variants into an array using an array builder. Finally wire the array of variants to the com object terminal where you need it.

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 2
(2,552 Views)