Hi,
The attached VI might work. I'm not able to test it very well right now...
Regards,
Wiebe.
"Wiebe@CARYA" wrote in message
news:3f9e9bac@newsgroups....
> Hi,
>
> Do you need data, a value (handler) or a string from this pointer? If you
> need data the following applies. Our do you want to get a handle to a
string
> at a pointer's adress?
>
> You can use the Windows API "lstrcpyn" to retreive data from an adress.
Make
> the destination buffer large enough. The function copies the string until
> /00 is encountered, and returns a pointer to the copied string, which LV
> converts to a string. Get the size of the string. If it's shorter then the
> expected length, it is truncted by a /00. Concatinate a /00 to the string
,
> and get the rest of the data from the pointer+stringlength+1. Repeat until
> all data is in LabVIEW.
>
> It's crude, but it works...
>
> Regards,
>
> Wiebe.
>
> "Mark Hageman" wrote in message
> news:50650000000800000083AA0000-1066448259000@exchange.ni.com...
> > I am attempting to use Labview to communicate with a PCI board (via
> > DLL file) in order to control a CCD camera. When the board is
> > initialized it returns a pointer. I need to access the handle for the
> > board which is located at the memory location designated by the
> > pointer. How can I, given that I know the pointer, find out the
> > string that is stored in memory? Any help is appreciated.
>
>
[Attachment pointer to pointer.vi, see below]