LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using 2D Array variant from LV dll in c code

I want to pass a 2D array to and from a LabVIEW build DLL. It appears that I can't pass a C-type array structure due to a bug in application builder. I have to pass the array as a variant. I see you have sample code of how to do this in Visual Basic. Do you have any sample code of how to do this in C or C++?
0 Kudos
Message 1 of 2
(2,881 Views)

There are several example programs that I have attached to this post that might be helpful for you. Also, you might be interested in a tutorial NI has available that might be helpful for you:
NIDZ Tutorial: Creating and Calling LabVIEW DLLs with Various Data Types from Microsoft Visual C++

Good luck!

Kileen C.
NI

Download All
0 Kudos
Message 2 of 2
(2,881 Views)