ExtPwrSensor

SCPI Commands :

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:FREQuency
class ExtPwrSensorCls[source]

ExtPwrSensor commands group definition. 7 total commands, 1 Subgroups, 5 group commands

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

Specifies the input frequency at the power sensor.

return:

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

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

Specifies the repetition mode of the measurement. The repetition mode specifies whether the measurement is stopped after a single shot or repeated continuously. Use CONFigure:..:MEAS<i>:…:SCOunt to determine the number of measurement intervals per single shot.

return:

repetition: SINGleshot | CONTinuous SINGleshot: single-shot measurement CONTinuous: continuous measurement

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

Defines the number of digits of the displayed power results. This command does not affect the remote control results.

return:

resolution: PD0 | PD1 | PD2 | PD3 PD0: 1 (results rounded to 1 dB) PD1: 0.1 PD2: 0.01 PD3: 0.001

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

Specifies the statistic count of the measurement. The statistic count is equal to the number of measurement intervals per single shot.

return:

statistic_count: numeric Number of measurement intervals Range: 1 to 1000

get_timeout() float[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:TOUT
value: float = driver.configure.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 manually. When the measurement has completed the first measurement cycle (first single shot) , the statistical depth is reached and the timer is reset. If the first measurement cycle has not been completed when the timer expires, the measurement is stopped. The measurement state changes to RDY. The reliability indicator is set to 1, indicating that a measurement timeout occurred. 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: numeric Unit: s

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

Specifies the input frequency at the power sensor.

param correction_freq:

numeric Range: Depends on sensor model , Unit: Hz

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

Specifies the repetition mode of the measurement. The repetition mode specifies whether the measurement is stopped after a single shot or repeated continuously. Use CONFigure:..:MEAS<i>:…:SCOunt to determine the number of measurement intervals per single shot.

param repetition:

SINGleshot | CONTinuous SINGleshot: single-shot measurement CONTinuous: continuous measurement

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

Defines the number of digits of the displayed power results. This command does not affect the remote control results.

param resolution:

PD0 | PD1 | PD2 | PD3 PD0: 1 (results rounded to 1 dB) PD1: 0.1 PD2: 0.01 PD3: 0.001

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

Specifies the statistic count of the measurement. The statistic count is equal to the number of measurement intervals per single shot.

param statistic_count:

numeric Number of measurement intervals Range: 1 to 1000

set_timeout(tcd_timeout: float) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:TOUT
driver.configure.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 manually. When the measurement has completed the first measurement cycle (first single shot) , the statistical depth is reached and the timer is reset. If the first measurement cycle has not been completed when the timer expires, the measurement is stopped. The measurement state changes to RDY. The reliability indicator is set to 1, indicating that a measurement timeout occurred. 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:

numeric Unit: s

Cloning the Group

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

Subgroups