Source code for RsCmwEvdoSig.Implementations.Configure
from ..Internal.Core import Core
from ..Internal.CommandsGroup import CommandsGroup
from ..Internal import Conversions
from .. import enums
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class Configure:
"""Configure commands group definition. 220 total commands, 20 Sub-groups, 2 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._base = CommandsGroup("configure", core, parent)
@property
def test(self):
"""test commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_test'):
from .Configure_.Test import Test
self._test = Test(self._core, self._base)
return self._test
@property
def rfSettings(self):
"""rfSettings commands group. 0 Sub-classes, 7 commands."""
if not hasattr(self, '_rfSettings'):
from .Configure_.RfSettings import RfSettings
self._rfSettings = RfSettings(self._core, self._base)
return self._rfSettings
@property
def fading(self):
"""fading commands group. 3 Sub-classes, 0 commands."""
if not hasattr(self, '_fading'):
from .Configure_.Fading import Fading
self._fading = Fading(self._core, self._base)
return self._fading
@property
def iqIn(self):
"""iqIn commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_iqIn'):
from .Configure_.IqIn import IqIn
self._iqIn = IqIn(self._core, self._base)
return self._iqIn
@property
def carrier(self):
"""carrier commands group. 1 Sub-classes, 4 commands."""
if not hasattr(self, '_carrier'):
from .Configure_.Carrier import Carrier
self._carrier = Carrier(self._core, self._base)
return self._carrier
@property
def sector(self):
"""sector commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_sector'):
from .Configure_.Sector import Sector
self._sector = Sector(self._core, self._base)
return self._sector
@property
def pilot(self):
"""pilot commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_pilot'):
from .Configure_.Pilot import Pilot
self._pilot = Pilot(self._core, self._base)
return self._pilot
@property
def cstatus(self):
"""cstatus commands group. 1 Sub-classes, 14 commands."""
if not hasattr(self, '_cstatus'):
from .Configure_.Cstatus import Cstatus
self._cstatus = Cstatus(self._core, self._base)
return self._cstatus
@property
def mac(self):
"""mac commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_mac'):
from .Configure_.Mac import Mac
self._mac = Mac(self._core, self._base)
return self._mac
@property
def layer(self):
"""layer commands group. 4 Sub-classes, 0 commands."""
if not hasattr(self, '_layer'):
from .Configure_.Layer import Layer
self._layer = Layer(self._core, self._base)
return self._layer
@property
def network(self):
"""network commands group. 5 Sub-classes, 2 commands."""
if not hasattr(self, '_network'):
from .Configure_.Network import Network
self._network = Network(self._core, self._base)
return self._network
@property
def handoff(self):
"""handoff commands group. 2 Sub-classes, 2 commands."""
if not hasattr(self, '_handoff'):
from .Configure_.Handoff import Handoff
self._handoff = Handoff(self._core, self._base)
return self._handoff
@property
def mmonitor(self):
"""mmonitor commands group. 1 Sub-classes, 1 commands."""
if not hasattr(self, '_mmonitor'):
from .Configure_.Mmonitor import Mmonitor
self._mmonitor = Mmonitor(self._core, self._base)
return self._mmonitor
@property
def application(self):
"""application commands group. 0 Sub-classes, 3 commands."""
if not hasattr(self, '_application'):
from .Configure_.Application import Application
self._application = Application(self._core, self._base)
return self._application
@property
def rfPower(self):
"""rfPower commands group. 2 Sub-classes, 5 commands."""
if not hasattr(self, '_rfPower'):
from .Configure_.RfPower import RfPower
self._rfPower = RfPower(self._core, self._base)
return self._rfPower
@property
def rpControl(self):
"""rpControl commands group. 1 Sub-classes, 4 commands."""
if not hasattr(self, '_rpControl'):
from .Configure_.RpControl import RpControl
self._rpControl = RpControl(self._core, self._base)
return self._rpControl
@property
def system(self):
"""system commands group. 1 Sub-classes, 6 commands."""
if not hasattr(self, '_system'):
from .Configure_.System import System
self._system = System(self._core, self._base)
return self._system
@property
def ncell(self):
"""ncell commands group. 4 Sub-classes, 3 commands."""
if not hasattr(self, '_ncell'):
from .Configure_.Ncell import Ncell
self._ncell = Ncell(self._core, self._base)
return self._ncell
@property
def connection(self):
"""connection commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_connection'):
from .Configure_.Connection import Connection
self._connection = Connection(self._core, self._base)
return self._connection
@property
def rxQuality(self):
"""rxQuality commands group. 10 Sub-classes, 2 commands."""
if not hasattr(self, '_rxQuality'):
from .Configure_.RxQuality import RxQuality
self._rxQuality = RxQuality(self._core, self._base)
return self._rxQuality
# noinspection PyTypeChecker
[docs] def get_display(self) -> enums.DisplayTab:
"""SCPI: CONFigure:EVDO:SIGNaling<Instance>:DISPlay \n
Snippet: value: enums.DisplayTab = driver.configure.get_display() \n
Selects the view to be shown when the display is switched on during remote control. \n
:return: tab: PER | THRoughput | DATA | OVERview 'RX Meas': 'PER', 'Throughput', 'Data'; 1xEV-DO signaling: overview
"""
response = self._core.io.query_str('CONFigure:EVDO:SIGNaling<Instance>:DISPlay?')
return Conversions.str_to_scalar_enum(response, enums.DisplayTab)
[docs] def set_display(self, tab: enums.DisplayTab) -> None:
"""SCPI: CONFigure:EVDO:SIGNaling<Instance>:DISPlay \n
Snippet: driver.configure.set_display(tab = enums.DisplayTab.CTRLchper) \n
Selects the view to be shown when the display is switched on during remote control. \n
:param tab: PER | THRoughput | DATA | OVERview 'RX Meas': 'PER', 'Throughput', 'Data'; 1xEV-DO signaling: overview
"""
param = Conversions.enum_scalar_to_str(tab, enums.DisplayTab)
self._core.io.write(f'CONFigure:EVDO:SIGNaling<Instance>:DISPlay {param}')
[docs] def get_etoe(self) -> bool:
"""SCPI: CONFigure:EVDO:SIGNaling<instance>:ETOE \n
Snippet: value: bool = driver.configure.get_etoe() \n
Enables the setup of a connection between the signaling unit and the data application unit (DAU) , required for IP-based
data tests involving the DAU. \n
:return: end_to_end_enable: OFF | ON
"""
response = self._core.io.query_str('CONFigure:EVDO:SIGNaling<Instance>:ETOE?')
return Conversions.str_to_bool(response)
[docs] def set_etoe(self, end_to_end_enable: bool) -> None:
"""SCPI: CONFigure:EVDO:SIGNaling<instance>:ETOE \n
Snippet: driver.configure.set_etoe(end_to_end_enable = False) \n
Enables the setup of a connection between the signaling unit and the data application unit (DAU) , required for IP-based
data tests involving the DAU. \n
:param end_to_end_enable: OFF | ON
"""
param = Conversions.bool_to_str(end_to_end_enable)
self._core.io.write(f'CONFigure:EVDO:SIGNaling<Instance>:ETOE {param}')
def clone(self) -> 'Configure':
"""Clones the group by creating new object from it and its whole existing sub-groups
Also copies all the existing default Repeated Capabilities setting,
which you can change independently without affecting the original group"""
new_group = Configure(self._core, self._base.parent)
self._base.synchronize_repcaps(new_group)
return new_group