LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

array output of a Labview dll

Hi all,

 

I haven´t found the solution in the posts of this forum, if somebody has, please inform me.

I want to output an array from a dll compiled in LV7.1. It doesn´t work. I have tried all the combinations of Array Data Pointer & Array Handle Pointer, and the two calling conventions, and it doesn´t work. My output array (Y) is always the unchanged input array. Any idea?

 

setting_CallLibrary.jpg

 

define protp.jpg

 

VI_dll.jpg

 

 

0 Kudos
Message 1 of 3
(2,763 Views)

...and the function, which is compiled and called:

Function.jpg

0 Kudos
Message 2 of 3
(2,748 Views)

Whithout having your DLL it's difficult to say why your code is not working. There are different ways to pass array data, please also have a look at the examples that are contained in LabVIEW.

 

You can also find a pretty good tutorial here 

Message 3 of 3
(2,728 Views)