LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pass a "pointer type" into DLL

Hi! I am planning to do this thing:

 

  A. Create an array

  B. Pass its pointer into a sub-VI

  C. In this sub-VI, use this pointer in a function of a DLL library

  D. The function of the DLL library will write something into place defined by the pointer

 

My aim is to read back the result by viewing that array at step A.

 

My question is..

 

1. how to pass a pointer via VIs? Use Call be reference node in the mother VI, what about the daughter VI then?

2. if I am passing a pointer into the DLL, should I choose "value" or "pointer to value" in the call library node?

 

Raymond

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

duplicate post, continue here!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(2,380 Views)