AlazarAllocBufferU16

Function Syntax

U16 *AlazarAllocBufferU16(HANDLE handle, U32 byteCount)

Allocates a buffer for DMA transfer for an 16-bit digitizer.

Remark

The buffer must be freed using AlazarFreeBufferU16()

Parameters:
  • handle[in] Handle to board

  • byteCount[in] Buffer size in bytes

Returns:

If the function is successful, it returns the base address of a page-aligned buffer in the virtual address space of the calling process. If it fails, it returns NULL.