Configures the frequency and power level of the RF output signal.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsg

public void Configure(double frequency, double powerLevel)

Remarks

The NI-RFSG device must be in the Configuration state before you call this method.

Parameters

NameTypeDescription
frequencydouble

Specifies the frequency of the generated RF signal. For arbitrary waveform generation, this parameter specifies, in Hz, the center frequency of the signal. NI-RFSG sets Frequency to this value. Refer to the specifications sheet for allowable frequency settings.

powerLeveldouble

Specifies the power level of the generated RF signal, expressed in dBm. By default, this parameter specifies the average power of the signal. To configure the power level of a waveform with varying power content, set PowerLevelType to PeakPower.

Exceptions

TypeDescription
System.ObjectDisposedException

The Configure method was accessed after the associated NIRfsg object was disposed.