AlazarExtractFFTNPTFooters#
Function Syntax#
-
RETURN_CODE AlazarExtractFFTNPTFooters(void *buffer, U32 recordSize_bytes, U32 bufferSize_bytes, NPTFooter *footersArray, U32 numFootersToExtract)#
Extracts NPT footers from a buffer acquired during an FFT acquisition.
Before calling this function, it is important to make sure that the buffers have been acquired in NPT mode with the NPT footers active. In addition, the acquisition must have used on-FPGA FFT computation.
Warning
This function has been deprecated. NPT footer extraction has been moved to a separate, open-source library. This external library is available at https://github.com/alazartech/ats-footers.
Warning
footersArray
must contain at leastnumFootersToExtract
elements.- Parameters
buffer – [in] Base address of the DMA buffer to process
recordSize_bytes – [in] Bytes per record in the DMA buffer passed as argument as returned by AlazarFFTSetup().
bufferSize_bytes – [in] Bytes per buffer in the DMA buffer passed as argument
footersArray – [out] Base address of an array of NPTFooter structures which will be filled by this function
numFootersToExtract – [in] 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.