AlazarAllocBufferU16Ex

Function Syntax

U16 *AlazarAllocBufferU16Ex(HANDLE handle, U64 sampleCount)

This function acts like AlazarAllocBufferU16() and additionally allows allocation of a buffer over 4GS 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 AlazarFreeBufferU16Ex()

Parameters
  • [in] handle: Handle to board

  • [in] sampleCount: Buffer size in samples