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

NameTypeDescription
centerFrequencydouble

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.

spandouble

Specifies the span of a spectrum acquisition, in hertz (Hz).

Exceptions

TypeDescription
System.ObjectDisposedException

The ConfigureSpectrumFrequencyCenterSpan method was accessed after the associated NIRfsa object was disposed.