Source code for RsSmbv.Implementations.Source.Bb.Eutra.Tcw

from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions
from ...... import enums


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class TcwCls: """Tcw commands group definition. 100 total commands, 12 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("tcw", core, parent) @property def applySettings(self): """applySettings commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_applySettings'): from .ApplySettings import ApplySettingsCls self._applySettings = ApplySettingsCls(self._core, self._cmd_group) return self._applySettings @property def awgn(self): """awgn commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_awgn'): from .Awgn import AwgnCls self._awgn = AwgnCls(self._core, self._cmd_group) return self._awgn @property def cs(self): """cs commands group. 0 Sub-classes, 2 commands.""" if not hasattr(self, '_cs'): from .Cs import CsCls self._cs = CsCls(self._core, self._cmd_group) return self._cs @property def fa(self): """fa commands group. 0 Sub-classes, 2 commands.""" if not hasattr(self, '_fa'): from .Fa import FaCls self._fa = FaCls(self._core, self._cmd_group) return self._fa @property def gs(self): """gs commands group. 0 Sub-classes, 14 commands.""" if not hasattr(self, '_gs'): from .Gs import GsCls self._gs = GsCls(self._core, self._cmd_group) return self._gs @property def is2(self): """is2 commands group. 0 Sub-classes, 9 commands.""" if not hasattr(self, '_is2'): from .Is2 import Is2Cls self._is2 = Is2Cls(self._core, self._cmd_group) return self._is2 @property def is3(self): """is3 commands group. 0 Sub-classes, 3 commands.""" if not hasattr(self, '_is3'): from .Is3 import Is3Cls self._is3 = Is3Cls(self._core, self._cmd_group) return self._is3 @property def isPy(self): """isPy commands group. 0 Sub-classes, 19 commands.""" if not hasattr(self, '_isPy'): from .IsPy import IsPyCls self._isPy = IsPyCls(self._core, self._cmd_group) return self._isPy @property def mue(self): """mue commands group. 0 Sub-classes, 3 commands.""" if not hasattr(self, '_mue'): from .Mue import MueCls self._mue = MueCls(self._core, self._cmd_group) return self._mue @property def rtf(self): """rtf commands group. 0 Sub-classes, 10 commands.""" if not hasattr(self, '_rtf'): from .Rtf import RtfCls self._rtf = RtfCls(self._core, self._cmd_group) return self._rtf @property def sue(self): """sue commands group. 0 Sub-classes, 3 commands.""" if not hasattr(self, '_sue'): from .Sue import SueCls self._sue = SueCls(self._core, self._cmd_group) return self._sue @property def ws(self): """ws commands group. 3 Sub-classes, 29 commands.""" if not hasattr(self, '_ws'): from .Ws import WsCls self._ws = WsCls(self._core, self._cmd_group) return self._ws # noinspection PyTypeChecker
[docs] def get_tc(self) -> enums.EutraTestCaseTs36141: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:TC \n Snippet: value: enums.EutraTestCaseTs36141 = driver.source.bb.eutra.tcw.get_tc() \n Selects the test case. \n :return: test_case: TS36141_TC839| TS36141_TC834| TS36141_TC835| TS36141_TC836| TS36141_TC67| TS36141_TC72| TS36141_TC73| TS36141_TC74| TS36141_TC75A| TS36141_TC75B| TS36141_TC76| TS36141_TC78| TS36141_TC821| TS36141_TC822| TS36141_TC823| TS36141_TC824| TS36141_TC831| TS36141_TC832| TS36141_TC833| TS36141_TC841| TS36141_TC838| TS36141_TC837| TS36141_TC826| TS36141_TC826A| TS36141_TC827| TS36141_TC829| TS36141_TC8310| TS36141_TC8311| TS36141_TC8312| TS36141_TC8313| TS36141_TC851| TS36141_TC852| TS36141_TC853 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:TCW:TC?') return Conversions.str_to_scalar_enum(response, enums.EutraTestCaseTs36141)
[docs] def set_tc(self, test_case: enums.EutraTestCaseTs36141) -> None: """SCPI: [SOURce<HW>]:BB:EUTRa:TCW:TC \n Snippet: driver.source.bb.eutra.tcw.set_tc(test_case = enums.EutraTestCaseTs36141.TS36141_TC626) \n Selects the test case. \n :param test_case: TS36141_TC839| TS36141_TC834| TS36141_TC835| TS36141_TC836| TS36141_TC67| TS36141_TC72| TS36141_TC73| TS36141_TC74| TS36141_TC75A| TS36141_TC75B| TS36141_TC76| TS36141_TC78| TS36141_TC821| TS36141_TC822| TS36141_TC823| TS36141_TC824| TS36141_TC831| TS36141_TC832| TS36141_TC833| TS36141_TC841| TS36141_TC838| TS36141_TC837| TS36141_TC826| TS36141_TC826A| TS36141_TC827| TS36141_TC829| TS36141_TC8310| TS36141_TC8311| TS36141_TC8312| TS36141_TC8313| TS36141_TC851| TS36141_TC852| TS36141_TC853 """ param = Conversions.enum_scalar_to_str(test_case, enums.EutraTestCaseTs36141) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:TCW:TC {param}')
def clone(self) -> 'TcwCls': """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 = TcwCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group