11-28-2011 03:20 AM
I am having a problem in using DLL in Labview.
My assignment is to create a DLL in LabVIEW which will take a input ( a string and a number).
Some calculation will be done in DLL
This DLL will be called in other VI and for given string and number input, output will be a 2D array of number, a 2D array of String and 1D array of Time.
I have tried but there is some problem in arrays, and sometimes the LV crashes, I have tried to read the forum but was not to apply to my code,
Sample is attached below.
am i missing anything.
Regards,
Shrek
11-28-2011 08:53 AM
You did not provide the actual DLL source code. Are you allocating the memory for the 2D array in the DLL? If not, then you need to allocate it in LabVIEW. Please review the "Call DLL" example that ships with LabVIEW that shows you how to allocate memory for arrays.