ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pointer in Labview

Hi,

One of the function in my DLL is as follows:
getPosition (char *x, char *y, char *z, long boardNum)
This function returns a position of x,y,& z for a given boardNum.

How do I obtain the x,y,& z using Labview after creating the Call Library Function? How do I pass a pointer?

Thanks,
Frans
0 Kudos
Message 1 of 2
(2,742 Views)
I believe that when you are configuring your call library function you should define your arguments x, y, and z to all be type = "string" and format = "C String Pointer".

-Jim
0 Kudos
Message 2 of 2
(2,742 Views)