Source code for RsCMPX_NrFr1Meas.Implementations.NrSubMeas.MultiEval.ListPy.Pmonitor.Slots.Rms

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
[docs] class RmsCls: """Rms commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("rms", core, parent)
[docs] def fetch(self) -> List[float]: """SCPI: FETCh:NRSub:MEASurement<Instance>:MEValuation:LIST:PMONitor:SLOTs:RMS \n Snippet: value: List[float] = driver.nrSubMeas.multiEval.listPy.pmonitor.slots.rms.fetch() \n Return the power monitor vs slot results for all measured segments in list mode. The commands return one power result per slot for the measured carrier. The power values are RMS averaged over the slot or represent the peak value within the slot. INTRO_CMD_HELP: Commands for querying the result list structure: \n - method RsCMPX_NrFr1Meas.NrSubMeas.MultiEval.ListPy.Segment.Pmonitor.Slots.Array.Start.fetch - method RsCMPX_NrFr1Meas.NrSubMeas.MultiEval.ListPy.Segment.Pmonitor.Slots.Array.Length.fetch \n Suppressed linked return values: reliability \n :return: step_rms_power: Comma-separated list of power values, one value per slot, from first slot of first measured segment to last slot of last measured segment For an inactive segment, only one INV is returned, independent of the number of slots.""" 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:LIST:PMONitor:SLOTs:RMS?', suppressed) return response