Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69178

Dereferencing a pointer to a pointer

$
0
0

Hey all,

 

While I am finally getting the hang of LabVIEW, I only really know the basics of C, especially when it comes to pointers/dereferencers, and interfacing those things with labview.

 

I have a DLL that I imported into labview using the wizard.  I need data from one of the library calls to be used as input for another library call.  However, the output from the first library call is a "pointer to a double pointer" and the input for the second one should simply be a pointer.  Do I need to dereference the output of the first function?  I tried to use the GetValueByPointer function provided in the Labview utilities but it caused Labview to crash.

 

The details of the library functions as well as the VI I have so far are attached.

 

Thanks!


Viewing all articles
Browse latest Browse all 69178


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>