12-18-2014 04:17 AM
Hello,
I was programming some function in dll with LabView.
With the C code provided, I can handle most of them. For example, when the dll function is "ReadOutData(unsigned int uiChannel, double uiData)", then I know I have to set two parameters in the dll property as unsigned integer and double, and link two numbers (integer and double) to the boxes.
Now come to a special case, the dll function looks like: "ReadDataAddress(unsigned int &uiChannel)".
How do I handle such operator "&" in LabView?
Thanks in advance!
12-18-2014 07:31 PM
Anyone have any idea, please?
12-19-2014 06:24 AM
If you're asking how to call a dll with a pointer, set the parameter as if it wasn't a pointer, and in the 'Pass' field, select 'pointer to value'. Then just wire the variable as you would nomally (no need to 'get the address').
12-19-2014 08:54 AM