Source code for rsrtx.Implementations.TrProbe.Pmeter.Results

from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
from ....Internal import Conversions


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class ResultsCls:
	"""
	| Commands in total: 5
	| Subgroups: 0
	| Direct child commands: 5
	"""

	def __init__(self, core: Core, parent):
		self._core = core
		self._cmd_group = CommandsGroup("results", core, parent)

[docs] def get_common(self) -> float: """ ``TRPRobe:PMETer:RESults:COMMon`` \n Snippet: ``value: float = driver.trProbe.pmeter.results.get_common()`` \n Returns the ProbeMeter measurement result of differential active R&S probes: the common mode voltage, which is the mean voltage between the signal sockets and the ground socket. :return: common_md_meas_res: -100E+24 to 100E+24 """ response = self._core.io.query_str_with_opc('TRPRobe:PMETer:RESults:COMMon?') return Conversions.str_to_float(response)
[docs] def get_differential(self) -> float: """ ``TRPRobe:PMETer:RESults:DIFFerential`` \n Snippet: ``value: float = driver.trProbe.pmeter.results.get_differential()`` \n Returns the ProbeMeter measurement result of differential active R&S probes, the differential voltage - the voltage between the positive and negative signal sockets. :return: diff_meas_res: -100E+24 to 100E+24 """ response = self._core.io.query_str_with_opc('TRPRobe:PMETer:RESults:DIFFerential?') return Conversions.str_to_float(response)
[docs] def get_positive(self) -> float: """ ``TRPRobe:PMETer:RESults:POSitive`` \n Snippet: ``value: float = driver.trProbe.pmeter.results.get_positive()`` \n Returns the ProbeMeter measurement result of differential active R&S probes, the voltage that is measured between the positive signal socket and the ground. :return: sg_end_pos_meas_res: -100E+24 to 100E+24 """ response = self._core.io.query_str_with_opc('TRPRobe:PMETer:RESults:POSitive?') return Conversions.str_to_float(response)
[docs] def get_negative(self) -> float: """ ``TRPRobe:PMETer:RESults:NEGative`` \n Snippet: ``value: float = driver.trProbe.pmeter.results.get_negative()`` \n Returns the ProbeMeter measurement result of differential active R&S probes, the voltage that is measured between the negative signal socket and the ground. :return: sg_end_neg_meas_res: -100E+24 to 100E+24 """ response = self._core.io.query_str_with_opc('TRPRobe:PMETer:RESults:NEGative?') return Conversions.str_to_float(response)
[docs] def get_single(self) -> float: """ ``TRPRobe:PMETer:RESults:SINGle`` \n Snippet: ``value: float = driver.trProbe.pmeter.results.get_single()`` \n Returns the ProbeMeter measurement result of single-ended active R&S probes, the voltage measured between the probe tip and the ground. :return: sg_end_meas_res: -100E+24 to 100E+24 """ response = self._core.io.query_str_with_opc('TRPRobe:PMETer:RESults:SINGle?') return Conversions.str_to_float(response)