Function Syntax#

RETURN_CODE AlazarDSPGetBuffer(HANDLE boardHandle, void *buffer, U32 timeout_ms)#

Waits until a buffer becomes available or an error occurs.

This function should be called instead of AlazarWaitAsyncBufferComplete() in a standard acquisition configuration.

  • boardHandle – Board that filled the buffer we want to retrieve

  • buffer – Pointer to the DMA buffer we want to retrieve. This must correspond to the first DMA buffer posted to the board that has not yet been retrieved.

  • timeout_ms – Time to wait for the buffer to be ready before returning with an ApiWaitTimeout error.

LabVIEW Block Diagram#