AlazarDSPAbortCapture#
Function Syntax#
-
RETURN_CODE AlazarDSPAbortCapture(HANDLE boardHandle)#
Aborts any in-progress DMA transfer, cancels any pending transfers and does DSP-related cleanup.
This function should be called instead of AlazarAbortAsyncRead() in a standard acquisition configuration. In addition to handling pending and in-flight DMA transfers, it takes care of some cleanup related to the DSP post-processing.
Warning
Whereas it is not necessary to call AlazarAbortAsyncRead() to clean after a standard acquisition, calling AlazarDSPAbortCapture() is strictly required.
- Parameters
boardHandle – The board to stop the acquisition for.