LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

address operator in dll [&]

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!

0 Kudos
Message 1 of 4
(2,563 Views)

Anyone have any idea, please?

0 Kudos
Message 2 of 4
(2,525 Views)

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').

Message 3 of 4
(2,506 Views)