LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Handling array with Dll

Solved!
Go to solution

Hello every one 

I have made a dll with labview and i am calling the dll in labview only


I have given one input array and one output array to the connector pane and made this function as dll by adding 100 to the  input array internally.

But when i called that dll in another vi it shows input , output , len at input side and input 2 , output 2 , len 2 at output side 

But i am expecting to have one input , len and one output 

 

Please see the attached code

Thank you

 

 

0 Kudos
Message 1 of 5
(2,771 Views)
Solution
Accepted by topic author Nagaa

This matches the way you configured the function prototype in the build specification for the library. For the behavior you want, in the build specification for the DLL, change the function prototype so that the IN parameter is an Input/Output parameter as shown below.

define VI prototype.png

0 Kudos
Message 2 of 5
(2,753 Views)

0 Kudos
Message 3 of 5
(2,735 Views)

Is it possible to add Arguments in run time and configure its settings

 

0 Kudos
Message 4 of 5
(2,724 Views)

The number and data types of function call parameters must be known when you configure the Call Library Function Node. Otherwise, how would you get data into and out of the DLL function?

0 Kudos
Message 5 of 5
(2,713 Views)