RfsaSpectrumAcquisitionConfiguration.ConfigureSpectrumFrequencyCenterSpan Method
- Updated2025-07-17
- 1 minute(s) read
Rfsa
Configures the span and center frequency of the spectrum read by NI-RFSA. A spectrum acquisition
consists of data surrounding the center frequency.
Namespace: NationalInstruments.ModularInstruments.NIRfsa
Assembly: NationalInstruments.ModularInstruments.NIRfsa.Fx45 (in NationalInstruments.ModularInstruments.NIRfsa.Fx45.dll) Version: 2025
Syntax
public void ConfigureSpectrumFrequencyCenterSpan( double centerFrequency, double span )
Public Sub ConfigureSpectrumFrequencyCenterSpan ( centerFrequency As Double, span As Double )
Parameters
- centerFrequency Double
- Specifies the center frequency in a spectrum acquisition, in hertz (Hz). The NI-RFSA device you use determines the valid range. Refer to your device specifications document for more information about frequency range.
- span Double
- Specifies the span of a spectrum acquisition, in hertz (Hz).
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The ConfigureSpectrumFrequencyCenterSpan(Double, Double) method was accessed after the associated NIRfsa object was disposed. |