Power

SCPI Commands :

READ:GPRF:MEASurement<Instance>:NRPM:SENSor<nr_NRPM>:POWer
FETCh:GPRF:MEASurement<Instance>:NRPM:SENSor<nr_NRPM>:POWer
CALCulate:GPRF:MEASurement<Instance>:NRPM:SENSor<nr_NRPM>:POWer
class PowerCls[source]

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

class CalculateStruct[source]

Response structure. Fields:

  • Reliability: int: See ‘Reliability indicator’

  • State_Antenna_1: enums.ResultStatus2: No parameter help available

  • State_Antenna_2: enums.ResultStatus2: No parameter help available

  • State_Antenna_3: enums.ResultStatus2: No parameter help available

class ResultData[source]

Response structure. Fields:

  • Reliability: int: See ‘Reliability indicator’

  • Power_Antenna_1: float: Power measured at antenna 1 of the sensor

  • Power_Antenna_2: float: Power measured at antenna 2 of the sensor

  • Power_Antenna_3: float: Power measured at antenna 3 of the sensor

calculate(sensor=Sensor.Default) CalculateStruct[source]
# SCPI: CALCulate:GPRF:MEASurement<Instance>:NRPM:SENSor<nr_NRPM>:POWer
value: CalculateStruct = driver.gprf.measurement.nrpm.sensor.power.calculate(sensor = repcap.Sensor.Default)

Returns the measurement results for the power sensor connected to Sensor <no>. The values described below are returned by FETCh and READ commands. CALCulate commands return error codes instead, one value for each result listed below.

param sensor:

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sensor’)

return:

structure: for return value, see the help for CalculateStruct structure arguments.

fetch(sensor=Sensor.Default) ResultData[source]
# SCPI: FETCh:GPRF:MEASurement<Instance>:NRPM:SENSor<nr_NRPM>:POWer
value: ResultData = driver.gprf.measurement.nrpm.sensor.power.fetch(sensor = repcap.Sensor.Default)

Returns the measurement results for the power sensor connected to Sensor <no>. The values described below are returned by FETCh and READ commands. CALCulate commands return error codes instead, one value for each result listed below.

param sensor:

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sensor’)

return:

structure: for return value, see the help for ResultData structure arguments.

read(sensor=Sensor.Default) ResultData[source]
# SCPI: READ:GPRF:MEASurement<Instance>:NRPM:SENSor<nr_NRPM>:POWer
value: ResultData = driver.gprf.measurement.nrpm.sensor.power.read(sensor = repcap.Sensor.Default)

Returns the measurement results for the power sensor connected to Sensor <no>. The values described below are returned by FETCh and READ commands. CALCulate commands return error codes instead, one value for each result listed below.

param sensor:

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sensor’)

return:

structure: for return value, see the help for ResultData structure arguments.