Source code for RsCmwGsmSig.Implementations.Sense_.Rreport_.HsrQam_.Mbep_.Range

from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal.StructBase import StructBase
from ......Internal.ArgStruct import ArgStruct
from ...... import repcap


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class Range: """Range commands group definition. 1 total commands, 0 Sub-groups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._base = CommandsGroup("range", core, parent) # noinspection PyTypeChecker
[docs] class GetStruct(StructBase): """Response structure. Fields: \n - Lower: float: Range: -3.6 to -0.6 - Upper: float: Range: -3.6 to -0.6""" __meta_args_list = [ ArgStruct.scalar_float('Lower'), ArgStruct.scalar_float('Upper')] def __init__(self): StructBase.__init__(self, self) self.Lower: float = None self.Upper: float = None
[docs] def get(self, hsrQAM=repcap.HsrQAM.Default) -> GetStruct: """SCPI: SENSe:GSM:SIGNaling<Instance>:RREPort:HSRQam<ModOrder>:MBEP:RANGe \n Snippet: value: GetStruct = driver.sense.rreport.hsrQam.mbep.range.get(hsrQAM = repcap.HsrQAM.Default) \n Returns the bit error probability (BEP) range, corresponding to the mean BEP index reported by the MS for a 16-QAM or 32-QAM modulated DL signal with higher symbol rate (HSR) . \n :param hsrQAM: optional repeated capability selector. Default value: QAM16 (settable in the interface 'HsrQam') :return: structure: for return value, see the help for GetStruct structure arguments.""" hsrQAM_cmd_val = self._base.get_repcap_cmd_value(hsrQAM, repcap.HsrQAM) return self._core.io.query_struct(f'SENSe:GSM:SIGNaling<Instance>:RREPort:HSRQam{hsrQAM_cmd_val}:MBEP:RANGe?', self.__class__.GetStruct())