LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview DLL array

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

0 Kudos
Message 1 of 2
(2,582 Views)

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.

0 Kudos
Message 2 of 2
(2,563 Views)