AlazarAllocBufferU8

Function Syntax

U8* AlazarAllocBufferU8(HANDLE handle, U32 sampleCount)

Allocates a buffer for DMA transfer for an 8-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 AlazarFreeBufferU8()
Parameters
  • handle: Handle to board
  • sampleCount: Buffer size in samples