Source code for RsCmwGsmSig.Implementations.Configure_.RfSettings_.Level_.Bcch_.Minimum

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class Minimum: """Minimum commands group definition. 1 total commands, 0 Sub-groups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._base = CommandsGroup("minimum", core, parent)
[docs] def get_enable(self) -> bool: """SCPI: CONFigure:GSM:SIGNaling<Instance>:RFSettings:LEVel:BCCH:MINimum:ENABle \n Snippet: value: bool = driver.configure.rfSettings.level.bcch.minimum.get_enable() \n Enables or disables the check of BCCH lower limit of -95 dBm. \n :return: enable: OFF | ON """ response = self._core.io.query_str('CONFigure:GSM:SIGNaling<Instance>:RFSettings:LEVel:BCCH:MINimum:ENABle?') return Conversions.str_to_bool(response)
[docs] def set_enable(self, enable: bool) -> None: """SCPI: CONFigure:GSM:SIGNaling<Instance>:RFSettings:LEVel:BCCH:MINimum:ENABle \n Snippet: driver.configure.rfSettings.level.bcch.minimum.set_enable(enable = False) \n Enables or disables the check of BCCH lower limit of -95 dBm. \n :param enable: OFF | ON """ param = Conversions.bool_to_str(enable) self._core.io.write(f'CONFigure:GSM:SIGNaling<Instance>:RFSettings:LEVel:BCCH:MINimum:ENABle {param}')