AlazarAllocBufferU8#

Function Syntax#

U8 *AlazarAllocBufferU8(HANDLE handle, U32 sampleCount)#

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

Remark

The buffer must be freed using AlazarFreeBufferU8()

Parameters
  • handle[in] Handle to board

  • sampleCount[in] Buffer size in samples

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.