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. 12 total commands, 3 Subgroups, 5 group commands

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

Specifies the input frequency at the power sensor.

return:

correction_freq: No help available

get_repetition() Repeat[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:REPetition
value: enums.Repeat = driver.configure.gprf.measurement.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: single-shot measurement CONTinuous: continuous measurement

get_resolution() PwrSensorResolution[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:RESolution
value: enums.PwrSensorResolution = driver.configure.gprf.measurement.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: 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.gprf.measurement.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: No help available

get_timeout() float[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:TOUT
value: float = driver.configure.gprf.measurement.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: No help available

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

Specifies the input frequency at the power sensor.

param correction_freq:

No help available

set_repetition(repetition: Repeat) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:REPetition
driver.configure.gprf.measurement.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: single-shot measurement CONTinuous: continuous measurement

set_resolution(resolution: PwrSensorResolution) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:RESolution
driver.configure.gprf.measurement.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: 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.gprf.measurement.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:

No help available

set_timeout(tcd_timeout: float) None[source]
# SCPI: CONFigure:GPRF:MEASurement<Instance>:EPSensor:TOUT
driver.configure.gprf.measurement.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:

No help available

Cloning the Group

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

Subgroups