LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing Int32 pointers to Call Library Function

Hello,
 
I have a Call Library Function node that makes a call to an external DLL.  The function has 10 integer pointers as parameters.
 
If I create an Int32 constant and wire it to each of the 10 inputs, will LabView create copies of that value and pass references to different locations to the DLL?  Or will it just pass 10 values that point to the same location?
 
0 Kudos
Message 1 of 2
(2,401 Views)

"aiw" <x@no.email> wrote in message news:1169215807567-466020@exchange.ni.com...
Hello,
&nbsp;
I have a Call Library Function node that makes a call to an external DLL.&nbsp; The function has 10 integer pointers as&nbsp;parameters.
&nbsp;
If I create an Int32 constant and wire&nbsp;it to each of the 10 inputs, will LabView create copies of that value and pass references to&nbsp;different locations&nbsp;to the DLL?&nbsp; Or will it just pass 10 values that point to the same location?
&nbsp;


In the node configuration, mark the inputs as pointer. Then LV will pass 10 different pointers.


Regards,


Wiebe.
0 Kudos
Message 2 of 2
(2,398 Views)