Configure(double, double)
- Updated2025-10-14
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| 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
| Type | Description |
|---|---|
| System.ObjectDisposedException | The Configure method was accessed after the associated NIRfsg object was disposed. |