ConfigureSpectrumFrequencyCenterSpan(double, double)
- Updated2025-10-14
- 1 minute(s) read
Configures the span and center frequency of the spectrum read by NI-RFSA. A spectrum acquisition consists of data surrounding the center frequency.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsa
public void ConfigureSpectrumFrequencyCenterSpan(double centerFrequency, double span)
Parameters
| Name | Type | Description |
|---|---|---|
| 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
| Type | Description |
|---|---|
| System.ObjectDisposedException | The ConfigureSpectrumFrequencyCenterSpan method was accessed after the associated NIRfsa object was disposed. |