ExtPwrSensor

SCPI Command:

CONFigure:GPRF:MEASurement<Instance>:EPSensor:TOUT
CONFigure:GPRF:MEASurement<Instance>:EPSensor:RESolution
CONFigure:GPRF:MEASurement<Instance>:EPSensor:SCOunt
CONFigure:GPRF:MEASurement<Instance>:EPSensor:REPetition
CONFigure:GPRF:MEASurement<Instance>:EPSensor:RCOupling
CONFigure:GPRF:MEASurement<Instance>:EPSensor:FREQuency
class ExtPwrSensorCls[source]

ExtPwrSensor commands group definition. 9 total commands, 2 Subgroups, 6 group commands

get_frequency() float[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:FREQuency
value: float = driver.configure.gprfMeasurement.extPwrSensor.get_frequency()

Specifies the input frequency at the power sensor.

return:

correction_freq: Range: Depends on used sensor model , Unit: Hz

get_rcoupling() bool[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:RCOupling
value: bool = driver.configure.gprfMeasurement.extPwrSensor.get_rcoupling()

Couples the repetition mode (single shot or continuous) of all measurements.

return:

repetition_coupl: OFF | ON

get_repetition() Repeat[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:REPetition
value: enums.Repeat = driver.configure.gprfMeasurement.extPwrSensor.get_repetition()

Selects whether the measurement is repeated continuously or not.

return:

repetition: SINGleshot | CONTinuous SINGleshot Single-shot measurement, stopped after one measurement cycle CONTinuous Continuous measurement, running until explicitly terminated

get_resolution() ExtSensorResolution[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:RESolution
value: enums.ExtSensorResolution = driver.configure.gprfMeasurement.extPwrSensor.get_resolution()

Defines the number of decimal places of the power results displayed in the graphical user interface. This command does not affect results queried via remote control commands.

return:

resolution: PD0 | PD1 | PD2 | PD3 PDn Results rounded to n places after the decimal point

get_scount() int[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:SCOunt
value: int = driver.configure.gprfMeasurement.extPwrSensor.get_scount()

Specifies the number of measurement intervals per measurement cycle. One measurement interval comprises one power result requested from the power sensor.

return:

statistic_count: Range: 1 to 1000

get_timeout() float[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:TOUT
value: float = driver.configure.gprfMeasurement.extPwrSensor.get_timeout()

Defines a timeout for the measurement. The timer is started when the measurement is initiated via a READ or INIT command. It is not started if the measurement is initiated via the graphical user interface. The timer is reset after the first measurement cycle. If the first measurement cycle has not been completed when the timer expires, the measurement is stopped and the reliability indicator is set to 1. Still running READ, FETCh or CALCulate commands are completed, returning the available results. At least for some results, there are no values at all or the statistical depth has not been reached. A timeout of 0 s corresponds to an infinite measurement timeout.

return:

tcd_timeout: Unit: s

set_frequency(correction_freq: float) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:FREQuency
driver.configure.gprfMeasurement.extPwrSensor.set_frequency(correction_freq = 1.0)

Specifies the input frequency at the power sensor.

param correction_freq:

Range: Depends on used sensor model , Unit: Hz

set_rcoupling(repetition_coupl: bool) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:RCOupling
driver.configure.gprfMeasurement.extPwrSensor.set_rcoupling(repetition_coupl = False)

Couples the repetition mode (single shot or continuous) of all measurements.

param repetition_coupl:

OFF | ON

set_repetition(repetition: Repeat) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:REPetition
driver.configure.gprfMeasurement.extPwrSensor.set_repetition(repetition = enums.Repeat.CONTinuous)

Selects whether the measurement is repeated continuously or not.

param repetition:

SINGleshot | CONTinuous SINGleshot Single-shot measurement, stopped after one measurement cycle CONTinuous Continuous measurement, running until explicitly terminated

set_resolution(resolution: ExtSensorResolution) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:RESolution
driver.configure.gprfMeasurement.extPwrSensor.set_resolution(resolution = enums.ExtSensorResolution.PD0)

Defines the number of decimal places of the power results displayed in the graphical user interface. This command does not affect results queried via remote control commands.

param resolution:

PD0 | PD1 | PD2 | PD3 PDn Results rounded to n places after the decimal point

set_scount(statistic_count: int) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:SCOunt
driver.configure.gprfMeasurement.extPwrSensor.set_scount(statistic_count = 1)

Specifies the number of measurement intervals per measurement cycle. One measurement interval comprises one power result requested from the power sensor.

param statistic_count:

Range: 1 to 1000

set_timeout(tcd_timeout: float) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:TOUT
driver.configure.gprfMeasurement.extPwrSensor.set_timeout(tcd_timeout = 1.0)

Defines a timeout for the measurement. The timer is started when the measurement is initiated via a READ or INIT command. It is not started if the measurement is initiated via the graphical user interface. The timer is reset after the first measurement cycle. If the first measurement cycle has not been completed when the timer expires, the measurement is stopped and the reliability indicator is set to 1. Still running READ, FETCh or CALCulate commands are completed, returning the available results. At least for some results, there are no values at all or the statistical depth has not been reached. A timeout of 0 s corresponds to an infinite measurement timeout.

param tcd_timeout:

Unit: s

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.configure.gprfMeasurement.extPwrSensor.clone()

Subgroups