AlazarExtractNPTFooters

Function Syntax

RETURN_CODE AlazarExtractNPTFooters(void *buffer, U32 recordSize_bytes, U32 bufferSize_bytes, NPTFooter *footersArray, U32 numFootersToExtract)

Extracts NPT footers from a buffer that contains them.

Before calling this function, it is important to make sure that the buffers have been acquired in NPT mode with the NPT footers active.

Warning

This function has been deprecated in favor of AlazarExtractTimeDomainNPTFooters() and AlazarExtractFFTNPTFooters(). It is still usable, but only works on NPT footers acquired as part of an FFT acquisition.

Warning

footersArray must contain at least numFootersToExtract elements.

Parameters
  • [in] buffer: Base address of the DMA buffer to process

  • [in] recordSize_bytes: Bytes per record in the DMA buffer passed as argument

  • [in] bufferSize_bytes: Bytes per buffer in the DMA buffer passed as argument

  • [out] footersArray: Base address of an array of NPTFooter structures which will be filled by this function

  • [in] numFootersToExtract: Maximum numbers of footers to extract. This can be a number from zero to the number of records in the DMA buffer passed as argument.