> I'm working with LV's "call library function"-vi to communicate with
> an external positioning stage. To read the actual position the
> corresponding function returns a pointer instead of the needed value.
> (LV returns a integer number which is suppoed to be a pointer to a
> float value (position))
>
> My question: how can I read (from LabView) the actual float value if I
> have it's pointer (integer)?
Without the function prototype and information about how you have
configured the DLL node, all I can do is make some guesses.
I'm assuming that the prototype is something like
int GetPosition(float *x, float *y);
If you configure the LV DLL dialog to pass the first and second
parameters by Point to Value instead of by Value, it will allocate some
storag
e for the DLL to write into, it will pass in whatever value you
wire to the left, the DLL can overwrite it, and return to you the float
value.
Be sure if you post again to be very specific about the types and
include more information about the DLL you are calling.
Greg McKaskle