Configures the window and FFT to obtain a spectrum for the IM measurement.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

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

Parameters

NameTypeDescription
selectorStringstring

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

fftWindowRFmxSpecAnMXIMFftWindow

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

fftPaddingdouble

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

Returns

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