RETURN_CODE AlazarDSPGetNextBuffer(HANDLE boardHandle, void *buffer, U32 bytesToCopy, U32 timeout_ms)#
This function should be called instead of AlazarWaitNextAsyncBufferComplete() in a standard acquisition configuration. See the documentation of this function for more information.
boardHandle – Board that filled the buffer we want to retrieve
buffer – Pointer to a buffer to receive sample data from the digitizer board.
bytesToCopy – The number of bytes to copy into the buffer.
timeout_ms – Time to wait for the buffer to be ready before returning with an ApiWaitTimeout error.