RfSettings

SCPI Command:

SOURce:AFRF:GENerator<Instance>:RFSettings:DGAin
SOURce:AFRF:GENerator<Instance>:RFSettings:EATTenuation
SOURce:AFRF:GENerator<Instance>:RFSettings:FREQuency
SOURce:AFRF:GENerator<Instance>:RFSettings:LEVel
SOURce:AFRF:GENerator<Instance>:RFSettings:PEPower
SOURce:AFRF:GENerator<Instance>:RFSettings:RFCoupling
SOURce:AFRF:GENerator<Instance>:RFSettings:CONNector
SOURce:AFRF:GENerator<Instance>:RFSettings:CHANnel
SOURce:AFRF:GENerator<Instance>:RFSettings:COFFset
class RfSettingsCls[source]

RfSettings commands group definition. 11 total commands, 2 Subgroups, 9 group commands

get_channel() int[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:RFSettings:CHANnel
value: int = driver.source.afRf.generator.rfSettings.get_channel()

Specifies the center frequency of the unmodulated RF carrier via a channel number, according to the configured channel definition.

return:

channel: Range: 0 Ch to 9999 Ch, Unit: Ch

get_coffset() float[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:RFSettings:COFFset
value: float = driver.source.afRf.generator.rfSettings.get_coffset()

Shifts the center frequency of the unmodulated RF carrier by a channel offset, relative to the frequency defined via the channel number. The range depends on the channel spacing, defined via method RsCma.Source.AfRf.Generator.Cdefinition. cspace.

return:

channel_offset: Range: -Spacing/2 Hz to +Spacing/2 Hz, Unit: Hz

get_connector() OutputConnector[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:RFSettings:CONNector
value: enums.OutputConnector = driver.source.afRf.generator.rfSettings.get_connector()

Selects the output connector for the generated RF signal.

return:

output_connector: RFCom | RFOut

get_dgain() float[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:RFSettings:DGAin
value: float = driver.source.afRf.generator.rfSettings.get_dgain()

Specifies a digital gain and thus modifies the configured RMS base level by a specific value.

return:

dig_gain: Range: -30 dB to 0 dB, Unit: dB

get_eattenuation() float[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:RFSettings:EATTenuation
value: float = driver.source.afRf.generator.rfSettings.get_eattenuation()

Specifies the external attenuation in the RF output path. Negative values specify a gain.

return:

rf_output_ext_att: Range: -50 dB to 90 dB, Unit: dB

get_frequency() float[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:RFSettings:FREQuency
value: float = driver.source.afRf.generator.rfSettings.get_frequency()

Specifies the center frequency of the unmodulated RF carrier.

return:

frequency: Range: 100 kHz to 3 GHz, Unit: Hz

get_level() float[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:RFSettings:LEVel
value: float = driver.source.afRf.generator.rfSettings.get_level()

Specifies the RMS level of the unmodulated RF signal. The allowed range depends on several other settings, for example on the selected connector, the frequency and the external attenuation. For supported output level ranges, refer to the data sheet.

return:

level: Unit: dBm

get_pe_power() float[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:RFSettings:PEPower
value: float = driver.source.afRf.generator.rfSettings.get_pe_power()

Queries the peak envelope power (PEP) .

return:

peak_envelope_power: Unit: dBm

get_rf_coupling() bool[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:RFSettings:RFCoupling
value: bool = driver.source.afRf.generator.rfSettings.get_rf_coupling()

No command help available

return:

enable: No help available

set_channel(channel: int) None[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:RFSettings:CHANnel
driver.source.afRf.generator.rfSettings.set_channel(channel = 1)

Specifies the center frequency of the unmodulated RF carrier via a channel number, according to the configured channel definition.

param channel:

Range: 0 Ch to 9999 Ch, Unit: Ch

set_coffset(channel_offset: float) None[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:RFSettings:COFFset
driver.source.afRf.generator.rfSettings.set_coffset(channel_offset = 1.0)

Shifts the center frequency of the unmodulated RF carrier by a channel offset, relative to the frequency defined via the channel number. The range depends on the channel spacing, defined via method RsCma.Source.AfRf.Generator.Cdefinition. cspace.

param channel_offset:

Range: -Spacing/2 Hz to +Spacing/2 Hz, Unit: Hz

set_connector(output_connector: OutputConnector) None[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:RFSettings:CONNector
driver.source.afRf.generator.rfSettings.set_connector(output_connector = enums.OutputConnector.RFCom)

Selects the output connector for the generated RF signal.

param output_connector:

RFCom | RFOut

set_dgain(dig_gain: float) None[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:RFSettings:DGAin
driver.source.afRf.generator.rfSettings.set_dgain(dig_gain = 1.0)

Specifies a digital gain and thus modifies the configured RMS base level by a specific value.

param dig_gain:

Range: -30 dB to 0 dB, Unit: dB

set_eattenuation(rf_output_ext_att: float) None[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:RFSettings:EATTenuation
driver.source.afRf.generator.rfSettings.set_eattenuation(rf_output_ext_att = 1.0)

Specifies the external attenuation in the RF output path. Negative values specify a gain.

param rf_output_ext_att:

Range: -50 dB to 90 dB, Unit: dB

set_frequency(frequency: float) None[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:RFSettings:FREQuency
driver.source.afRf.generator.rfSettings.set_frequency(frequency = 1.0)

Specifies the center frequency of the unmodulated RF carrier.

param frequency:

Range: 100 kHz to 3 GHz, Unit: Hz

set_level(level: float) None[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:RFSettings:LEVel
driver.source.afRf.generator.rfSettings.set_level(level = 1.0)

Specifies the RMS level of the unmodulated RF signal. The allowed range depends on several other settings, for example on the selected connector, the frequency and the external attenuation. For supported output level ranges, refer to the data sheet.

param level:

Unit: dBm

set_rf_coupling(enable: bool) None[source]
# SCPI: SOURce:AFRF:GENerator<Instance>:RFSettings:RFCoupling
driver.source.afRf.generator.rfSettings.set_rf_coupling(enable = False)

No command help available

param enable:

No help available

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.afRf.generator.rfSettings.clone()

Subgroups