Configures window and FFT to obtain a spectrum for the channel power (CHP) measurement.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int ConfigureFft(string selectorString, RFmxSpecAnMXChpFftWindow fftWindow, double fftPadding)

Remarks

This method maps to the RFmxSpecAn_CHPCfgFFT() function in C.

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

fftWindowRFmxSpecAnMXChpFftWindow

Specifies the FFT window type to use to reduce spectral leakage. Refer to the Window and FFT section of the Spectrum topic for more information about FFT window types.

fftPaddingdouble

Specifies the factor by which the time-domain waveform is zero-padded before FFT. The FFT size is given by the following formula: waveform size * padding. This parameter is used only when the acquisition span is less than the device instantaneous bandwidth of the device.

Returns

Returns the status code of this method. The status code either indicates success or describes an error or warning condition.