Measure

SCPI Commands

MEASure:VOLTage
MEASure:CURRent
MEASure:MODE
MEASure:ACCuracy
class MeasureCls[source]

Measure commands group definition. 5 total commands, 1 Subgroups, 4 group commands

class Result[source]

Structure for reading output parameters. Fields:

  • Percent: float: No parameter help available

  • Degrees: float: No parameter help available

get_accuracy() Result[source]
# SCPI: MEASure:ACCuracy
value: Result = driver.measure.get_accuracy()

Queries the accuracy of the last measurement. The R&S LCX returns the accuracy of the impedance (δ|Z|) in percent, and the phase angle (δΘ) in degrees.

return:

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

get_current() float[source]
# SCPI: MEASure:CURRent
value: float = driver.measure.get_current()

Queries the current value following next in the measurement.

return:

current: No help available

get_mode() MeasurementMode[source]
# SCPI: MEASure:MODE
value: enums.MeasurementMode = driver.measure.get_mode()

Selects whether the R&S LCX starts and continues a measurement, or starts on initiated trigger events.

return:

measurement_mode: - CONTinuous: Restarts the measurement automatically after a measurement cycle has been completed. - TRIGgered: Starts a measurement cycle initiated by a trigger signal.To delay the measurement start to a certain extent, use command MEASure:TRIGger:DELay.

get_voltage() float[source]
# SCPI: MEASure:VOLTage
value: float = driver.measure.get_voltage()

Queries the voltage value following next in the measurement.

return:

voltage: No help available

set_mode(measurement_mode: MeasurementMode) None[source]
# SCPI: MEASure:MODE
driver.measure.set_mode(measurement_mode = enums.MeasurementMode.CONTinuous)

Selects whether the R&S LCX starts and continues a measurement, or starts on initiated trigger events.

param measurement_mode:
  • CONTinuous: Restarts the measurement automatically after a measurement cycle has been completed.

  • TRIGgered: Starts a measurement cycle initiated by a trigger signal.To delay the measurement start to a certain extent, use command MEASure:TRIGger:DELay.

Subgroups