Source code for RsCmwGsmSig.Implementations.Configure_.Ncell_.Wcdma_.Thresholds

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class Thresholds: """Thresholds commands group definition. 1 total commands, 0 Sub-groups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._base = CommandsGroup("thresholds", core, parent)
[docs] def get_high(self) -> int: """SCPI: CONFigure:GSM:SIGNaling<Instance>:NCELl:WCDMa:THResholds:HIGH \n Snippet: value: int = driver.configure.ncell.wcdma.thresholds.get_high() \n Configures the reselection threshold value 'THRESH_UTRAN_high' for WCDMA neighbor cells. \n :return: high: Range: 0 to 31, Unit: dB """ response = self._core.io.query_str('CONFigure:GSM:SIGNaling<Instance>:NCELl:WCDMa:THResholds:HIGH?') return Conversions.str_to_int(response)
[docs] def set_high(self, high: int) -> None: """SCPI: CONFigure:GSM:SIGNaling<Instance>:NCELl:WCDMa:THResholds:HIGH \n Snippet: driver.configure.ncell.wcdma.thresholds.set_high(high = 1) \n Configures the reselection threshold value 'THRESH_UTRAN_high' for WCDMA neighbor cells. \n :param high: Range: 0 to 31, Unit: dB """ param = Conversions.decimal_value_to_str(high) self._core.io.write(f'CONFigure:GSM:SIGNaling<Instance>:NCELl:WCDMa:THResholds:HIGH {param}')