Source code for RsCMPX_NrFr1Meas.Implementations.NrSubMeas.MultiEval.Trace.Pmonitor

from typing import List

from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal.ArgSingleSuppressed import ArgSingleSuppressed
from ......Internal.Types import DataType


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class PmonitorCls:
	"""
	| Commands in total: 4
	| Subgroups: 1
	| Direct child commands: 2
	"""

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

	@property
	def slots(self):
		"""
		| Commands in total: 2
		| Subgroups: 0
		| Direct child commands: 2
		"""
		if not hasattr(self, '_slots'):
			from .Slots import SlotsCls
			self._slots = SlotsCls(self._core, self._cmd_group)
		return self._slots

[docs] def read(self) -> List[float]: """ ``READ:NRSub:MEASurement<Instance>:MEValuation:TRACe:PMONitor`` \n Snippet: ``value: List[float] = driver.nrSubMeas.multiEval.trace.pmonitor.read()`` \n No help available Suppressed linked return values: reliability """ suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_bin_or_ascii_float_list_suppressed(f'READ:NRSub:MEASurement<Instance>:MEValuation:TRACe:PMONitor?', suppressed) return response
[docs] def fetch(self) -> List[float]: """ ``FETCh:NRSub:MEASurement<Instance>:MEValuation:TRACe:PMONitor`` \n Snippet: ``value: List[float] = driver.nrSubMeas.multiEval.trace.pmonitor.fetch()`` \n No help available Suppressed linked return values: reliability """ suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_bin_or_ascii_float_list_suppressed(f'FETCh:NRSub:MEASurement<Instance>:MEValuation:TRACe:PMONitor?', suppressed) return response
def clone(self) -> 'PmonitorCls': """ Clones the group by creating new object from it and its whole existing subgroups. Also copies all the existing default Repeated Capabilities setting, which you can change independently without affecting the original group. """ new_group = PmonitorCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group