Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQdxGetImageData buffer question

Hi,

 

unfortunately I need to use the IMAQdx c++ library in an 64bit application, so I cannot use the Vision library since there is no 64bit library yet, as far as I know. This means I cannot use the Image type which limits reading an image to IMAQdxGetImageData:

 

IMAQdxGetImageData(IMAQdxSession id, void* buffer, uInt32 bufferSize, IMAQdxBufferNumberMode mode, uInt32 desiredBufferNumber, uInt32* actualBufferNumber);

 

However, I don't know how to handle the buffer and I did not find any documentation on this function. Am I supposed to alloc the buffer myself? If this is the case, how do I know how large the buffer has to be and to which datatype the void buffer needs to be cast?

 

Cheers,

Max

0 Kudos
Message 1 of 1
(3,710 Views)