ConfigureFft(string, RFmxSpecAnMXChpFftWindow, double)
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| fftWindow | RFmxSpecAnMXChpFftWindow | 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. |
| fftPadding | double | 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.