AlazarDSPGetNextBuffer¶
Function Syntax¶
-
RETURN_CODE
AlazarDSPGetNextBuffer
(HANDLE boardHandle, void *buffer, U32 bytesToCopy, U32 timeout_ms)¶ Equivalent of AlazarDSPGetBuffer() to call with ADMA_ALLOC_BUFFERS.
This function should be called instead of AlazarWaitNextAsyncBufferComplete() in a standard acquisition configuration. See the documentation of this function for more information.
- Parameters
boardHandle
: Board that filled the buffer we want to retrievebuffer
: 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.