Source code for RsCMPX_LteMeas.Implementations.Configure.LteMeas.MultiEval.Limit.Qam

from .......Internal.Core import Core
from .......Internal.CommandsGroup import CommandsGroup
from .......Internal.RepeatedCapability import RepeatedCapability
from ....... import repcap


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class QamCls: """Qam commands group definition. 9 total commands, 8 Subgroups, 0 group commands Repeated Capability: QAMmodOrder, default value after init: QAMmodOrder.Qam16""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("qam", core, parent) self._cmd_group.rep_cap = RepeatedCapability(self._cmd_group.group_name, 'repcap_qAMmodOrder_get', 'repcap_qAMmodOrder_set', repcap.QAMmodOrder.Qam16) def repcap_qAMmodOrder_set(self, qAMmodOrder: repcap.QAMmodOrder) -> None: """Repeated Capability default value numeric suffix. This value is used, if you do not explicitely set it in the child set/get methods, or if you leave it to QAMmodOrder.Default Default value after init: QAMmodOrder.Qam16""" self._cmd_group.set_repcap_enum_value(qAMmodOrder) def repcap_qAMmodOrder_get(self) -> repcap.QAMmodOrder: """Returns the current default repeated capability for the child set/get methods""" # noinspection PyTypeChecker return self._cmd_group.get_repcap_enum_value() @property def evMagnitude(self): """evMagnitude commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_evMagnitude'): from .EvMagnitude import EvMagnitudeCls self._evMagnitude = EvMagnitudeCls(self._core, self._cmd_group) return self._evMagnitude @property def merror(self): """merror commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_merror'): from .Merror import MerrorCls self._merror = MerrorCls(self._core, self._cmd_group) return self._merror @property def perror(self): """perror commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_perror'): from .Perror import PerrorCls self._perror = PerrorCls(self._core, self._cmd_group) return self._perror @property def freqError(self): """freqError commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_freqError'): from .FreqError import FreqErrorCls self._freqError = FreqErrorCls(self._core, self._cmd_group) return self._freqError @property def iqOffset(self): """iqOffset commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_iqOffset'): from .IqOffset import IqOffsetCls self._iqOffset = IqOffsetCls(self._core, self._cmd_group) return self._iqOffset @property def ibe(self): """ibe commands group. 1 Sub-classes, 1 commands.""" if not hasattr(self, '_ibe'): from .Ibe import IbeCls self._ibe = IbeCls(self._core, self._cmd_group) return self._ibe @property def sflatness(self): """sflatness commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_sflatness'): from .Sflatness import SflatnessCls self._sflatness = SflatnessCls(self._core, self._cmd_group) return self._sflatness @property def esFlatness(self): """esFlatness commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_esFlatness'): from .EsFlatness import EsFlatnessCls self._esFlatness = EsFlatnessCls(self._core, self._cmd_group) return self._esFlatness def clone(self) -> 'QamCls': """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 = QamCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group