LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CIN and address

sorry for my english,

i have the below question about the configuration of Call Library Functions:

 

int xFunc(int a, int *b)

it's ok

 

but this?

int xFunc(int a, int &b)

 

thanks in advance,

Roberto

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

Should be the same when config the dll.

Both want a int pointer for input.

Don't know if LabVIEW like the second one or not.

 

Different when use the input:

in the first case, b is a pointer; *b is the integer.

in the second case, b in the integer, &b is address of b, ie. a pointer.

 

 

George Zou
0 Kudos
Message 2 of 2
(2,397 Views)