Attenuation

SCPI Command:

CONFigure:GPRF:MEASurement<Instance>:NRT:ATTenuation:PORT
CONFigure:GPRF:MEASurement<Instance>:NRT:ATTenuation:STATe
CONFigure:GPRF:MEASurement<Instance>:NRT:ATTenuation
class AttenuationCls[source]

Attenuation commands group definition. 3 total commands, 0 Subgroups, 3 group commands

get_port() AttenuationPort[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:NRT:ATTenuation:PORT
value: enums.AttenuationPort = driver.configure.gprfMeasurement.nrt.attenuation.get_port()

Selects the NRT-Z port to be used as measurement point.

return:

attenuation_port: SOURce | LOAD

get_state() bool[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:NRT:ATTenuation:STATe
value: bool = driver.configure.gprfMeasurement.nrt.attenuation.get_state()

Enables or disables the compensation of the external attenuation configured via method RsCma.Configure.GprfMeasurement. Nrt.Attenuation.value.

return:

attenuator_state: OFF | ON

get_value() float[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:NRT:ATTenuation
value: float = driver.configure.gprfMeasurement.nrt.attenuation.get_value()

Specifies the attenuation of a component between the power sensor and the DUT, typically a cable. The power readings are corrected accordingly, if the correction is enabled via method RsCma.Configure.GprfMeasurement.Nrt.Attenuation.state.

return:

attenuation: Range: 0 dB to 100 dB, Unit: dB

set_port(attenuation_port: AttenuationPort) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:NRT:ATTenuation:PORT
driver.configure.gprfMeasurement.nrt.attenuation.set_port(attenuation_port = enums.AttenuationPort.LOAD)

Selects the NRT-Z port to be used as measurement point.

param attenuation_port:

SOURce | LOAD

set_state(attenuator_state: bool) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:NRT:ATTenuation:STATe
driver.configure.gprfMeasurement.nrt.attenuation.set_state(attenuator_state = False)

Enables or disables the compensation of the external attenuation configured via method RsCma.Configure.GprfMeasurement. Nrt.Attenuation.value.

param attenuator_state:

OFF | ON

set_value(attenuation: float) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:NRT:ATTenuation
driver.configure.gprfMeasurement.nrt.attenuation.set_value(attenuation = 1.0)

Specifies the attenuation of a component between the power sensor and the DUT, typically a cable. The power readings are corrected accordingly, if the correction is enabled via method RsCma.Configure.GprfMeasurement.Nrt.Attenuation.state.

param attenuation:

Range: 0 dB to 100 dB, Unit: dB