LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

VarArrayCreate

Hello

I would like to know how to translate in CVI the delphi VarArrayCreate routine  that creates a  variant array   of specified dimensions and type. The result is stored in a  Variant type. I looked at the  ActiveX library but no function doing this was available. Could anybody help me.

Thanks and best regards.

Epiphane

0 Kudos
Message 1 of 2
(3,139 Views)

Hello Epiphane,

 

Did you look at the variant related functions ? Especially, the assigning functions, like  Variant Set 1D Array, Variant Set 2D Array, etc...

 

CA_VariantSet1DArray (VARIANT *Variant, unsigned int Array_Type, unsigned int Number_Of_Elements, const void *Array);

CA_VariantSet2DArray (VARIANT *Variant, unsigned int Array_Type, unsigned int Size_of_Dim_1, unsigned int Size_of_Dim_2, const void *Array);

 

Regards,

 

 

 

Message Edité par Maxime MULLER le 07-09-2009 07:15 AM
0 Kudos
Message 2 of 2
(3,113 Views)