RfsgRF.Configure Method
- Updated2025-02-03
- 1 minute(s) read
Rfsg
Configures the frequency and power level of the RF output signal.
Namespace: NationalInstruments.ModularInstruments.NIRfsg
Assembly: NationalInstruments.ModularInstruments.NIRfsg.Fx45 (in NationalInstruments.ModularInstruments.NIRfsg.Fx45.dll) Version: 2025
Syntax
public void Configure( double frequency, double powerLevel )
Public Sub Configure ( frequency As Double, powerLevel As Double )
Parameters
- frequency Double
- 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.
- powerLevel Double
- 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
Exception | Condition |
---|---|
ObjectDisposedException | The Configure(Double, Double) method was accessed after the associated NIRfsg object was disposed. |
Remarks
The NI-RFSG device must be in the Configuration state before you call this method.