Attenuation
SCPI Command:
CONFigure:GPRF:MEASurement<Instance>:EPSensor:ATTenuation:STATe
CONFigure:GPRF:MEASurement<Instance>:EPSensor:ATTenuation
- class AttenuationCls[source]
Attenuation commands group definition. 2 total commands, 0 Subgroups, 2 group commands
- get_state() bool [source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:ATTenuation:STATe value: bool = driver.configure.gprfMeasurement.extPwrSensor.attenuation.get_state()
Specifies whether there is an attenuator or amplifier between the power sensor and the DUT.
- return:
attenuator_state: OFF | ON OFF Direct connection to DUT ON Attenuator or amplifier between power sensor and DUT. Configure also the attenuation, see method RsCma.Configure.GprfMeasurement.ExtPwrSensor.Attenuation.value.
- get_value() float [source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:ATTenuation value: float = driver.configure.gprfMeasurement.extPwrSensor.attenuation.get_value()
Specifies the attenuation or gain of a component between the power sensor and the DUT. The power readings are corrected accordingly. Configure also the attenuation state, see method RsCma.Configure.GprfMeasurement.ExtPwrSensor.Attenuation. state.
- return:
attenuation: Range: -50 dB to 50 dB, Unit: dB
- set_state(attenuator_state: bool) None [source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:ATTenuation:STATe driver.configure.gprfMeasurement.extPwrSensor.attenuation.set_state(attenuator_state = False)
Specifies whether there is an attenuator or amplifier between the power sensor and the DUT.
- param attenuator_state:
OFF | ON OFF Direct connection to DUT ON Attenuator or amplifier between power sensor and DUT. Configure also the attenuation, see method RsCma.Configure.GprfMeasurement.ExtPwrSensor.Attenuation.value.
- set_value(attenuation: float) None [source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:ATTenuation driver.configure.gprfMeasurement.extPwrSensor.attenuation.set_value(attenuation = 1.0)
Specifies the attenuation or gain of a component between the power sensor and the DUT. The power readings are corrected accordingly. Configure also the attenuation state, see method RsCma.Configure.GprfMeasurement.ExtPwrSensor.Attenuation. state.
- param attenuation:
Range: -50 dB to 50 dB, Unit: dB