Source code for RsCmwGsmMeas.Implementations.MultiEval_.ListPy_.Smodulation_.Cpower

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 Cpower: """Cpower commands group definition. 2 total commands, 0 Sub-groups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._base = CommandsGroup("cpower", core, parent)
[docs] def fetch(self) -> List[float]: """SCPI: FETCh:GSM:MEASurement<Instance>:MEValuation:LIST:SMODulation:CPOWer \n Snippet: value: List[float] = driver.multiEval.listPy.smodulation.cpower.fetch() \n Return carrier output power results for all measured list mode segments, for spectrum due to modulation or spectrum due to switching measurement. The values described below are returned by FETCh commands. CALCulate commands return limit check results instead, one value for each result listed below. \n Use RsCmwGsmMeas.reliability.last_value to read the updated reliability indicator. \n :return: carrier_power: float Comma-separated list of values, one per measured segment Range: -100 dBm to 55 dBm, Unit: dBm""" suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_bin_or_ascii_float_list_suppressed(f'FETCh:GSM:MEASurement<Instance>:MEValuation:LIST:SMODulation:CPOWer?', suppressed) return response
[docs] def calculate(self) -> List[float]: """SCPI: CALCulate:GSM:MEASurement<Instance>:MEValuation:LIST:SMODulation:CPOWer \n Snippet: value: List[float] = driver.multiEval.listPy.smodulation.cpower.calculate() \n Return carrier output power results for all measured list mode segments, for spectrum due to modulation or spectrum due to switching measurement. The values described below are returned by FETCh commands. CALCulate commands return limit check results instead, one value for each result listed below. \n Use RsCmwGsmMeas.reliability.last_value to read the updated reliability indicator. \n :return: carrier_power: float Comma-separated list of values, one per measured segment Range: -100 dBm to 55 dBm, Unit: dBm""" suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_bin_or_ascii_float_list_suppressed(f'CALCulate:GSM:MEASurement<Instance>:MEValuation:LIST:SMODulation:CPOWer?', suppressed) return response