ni-rfsg-dotnet-api-ref_doc

Table of Contents

RfsgRF.Configure Method

  • Updated2024-05-08
  • 1 minute(s) read
RfsgRF.Configure Method

RfsgRFConfigure Method

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

Namespace:  NationalInstruments.ModularInstruments.NIRfsg
Assembly:  NationalInstruments.ModularInstruments.NIRfsg.Fx40 (in NationalInstruments.ModularInstruments.NIRfsg.Fx40.dll) Version: 2022

Syntax

public void Configure(
	double frequency,
	double powerLevel
)
Public Sub Configure ( 
	frequency As Double,
	powerLevel As Double
)

Parameters

frequency
Type: SystemDouble
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
Type: SystemDouble
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

ExceptionCondition
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.

See Also

Log in to get a better experience