AlazarAbortAsyncRead#
Function Syntax#
-
RETURN_CODE AlazarAbortAsyncRead(HANDLE handle)#
Aborts a dual-port acquisition, and any in-process DMA transfers.
- Remark
If you have started an acquisition and/or posted DMA buffers to a board, you must call AlazarAbortAsyncRead() before your application exits. If you do not, when your program exists, Microsoft Windows may stop with a blue screen error number
0x000000CB (DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS)
. Linux may leak the memory used by the DMA buffers.
Note
This function is part of the dual-port API. It should be used only in this context. To abort single-port acquisitions using, see AlazarAbortCapture().
- Parameters:
handle – [in] Handle to board
- Returns:
ApiSuccess upon success, or an error code. See RETURN_CODE for more detailed information.