Source code for RsCmwLteSig.Implementations.Configure.Connection.Nta

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class NtaCls: """Nta commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("nta", core, parent)
[docs] def get_enable(self) -> bool: """SCPI: CONFigure:LTE:SIGNaling<instance>:CONNection:NTA:ENABle \n Snippet: value: bool = driver.configure.connection.nta.get_enable() \n No command help available \n :return: enable: No help available """ response = self._core.io.query_str('CONFigure:LTE:SIGNaling<Instance>:CONNection:NTA:ENABle?') return Conversions.str_to_bool(response)
[docs] def set_enable(self, enable: bool) -> None: """SCPI: CONFigure:LTE:SIGNaling<instance>:CONNection:NTA:ENABle \n Snippet: driver.configure.connection.nta.set_enable(enable = False) \n No command help available \n :param enable: No help available """ param = Conversions.bool_to_str(enable) self._core.io.write(f'CONFigure:LTE:SIGNaling<Instance>:CONNection:NTA:ENABle {param}')