LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I pass a dynamic 2D array from a function which gets values from excel

I would like to pass a dynamic 2D array from a function. The function gets values from a range in excel. The function is based on exceldemo2000. Should I use safearrays? If yes how?

Thanks
0 Kudos
Message 1 of 2
(2,864 Views)
Hello

Have you tried the CA_SafeArrayTo2DArrayBufEx(). The CVI ActiveX library has a variety of functions that let you manipulate various activex types as C types. You can check out the function help for more information about the functions parameters.

Thanks

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,864 Views)