Hello,
I tried your solution, it doesn't work,
The FP specifies that NULL is not allowed as a pointer to the buffer.
When I try with NULL, Iget a FATAL RUN-TIME ERROR Null pointer argument to
librairy function.
Any other idea?
Thanks ,
Marco
"Shiner" a écrit dans le message de
news:50650000000500000004350100-1066448259000@exchange.ni.com...
> You do it using two calls to the Read Function.
>
> You can pass NULL as the pointer to your buffer in the first call, and
> that will return the size of the buffer.
>
> You can then allocate the required space and in a second call, pass
> the pointer to that buffer.
>
> Hope this helps
>
> Chris