AlazarAllocBufferU16

Function Syntax

U16* AlazarAllocBufferU16(HANDLE handle, U32 sampleCount)

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

Return
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.
Remark
The buffer must be freed using AlazarFreeBufferU16()
Parameters
  • handle: Handle to board
  • sampleCount: Buffer size in samples