Source code for RsCMPX_WcdmaMeas.Implementations.Configure.WcdmaMeas.Tpc.Mpedch

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class MpedchCls: """Mpedch commands group definition. 2 total commands, 0 Subgroups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("mpedch", core, parent)
[docs] def get_mlength(self) -> int: """SCPI: CONFigure:WCDMa:MEASurement<instance>:TPC:MPEDch:MLENgth \n Snippet: value: int = driver.configure.wcdmaMeas.tpc.mpedch.get_mlength() \n Defines the number of slots to be measured in Max. Power E-DCH mode. \n :return: meas_length: No help available """ response = self._core.io.query_str('CONFigure:WCDMa:MEASurement<Instance>:TPC:MPEDch:MLENgth?') return Conversions.str_to_int(response)
[docs] def set_mlength(self, meas_length: int) -> None: """SCPI: CONFigure:WCDMa:MEASurement<instance>:TPC:MPEDch:MLENgth \n Snippet: driver.configure.wcdmaMeas.tpc.mpedch.set_mlength(meas_length = 1) \n Defines the number of slots to be measured in Max. Power E-DCH mode. \n :param meas_length: No help available """ param = Conversions.decimal_value_to_str(meas_length) self._core.io.write(f'CONFigure:WCDMa:MEASurement<Instance>:TPC:MPEDch:MLENgth {param}')
[docs] def get_aexecution(self) -> bool: """SCPI: CONFigure:WCDMa:MEASurement<instance>:TPC:MPEDch:AEXecution \n Snippet: value: bool = driver.configure.wcdmaMeas.tpc.mpedch.get_aexecution() \n No command help available \n :return: enable: No help available """ response = self._core.io.query_str('CONFigure:WCDMa:MEASurement<Instance>:TPC:MPEDch:AEXecution?') return Conversions.str_to_bool(response)
[docs] def set_aexecution(self, enable: bool) -> None: """SCPI: CONFigure:WCDMa:MEASurement<instance>:TPC:MPEDch:AEXecution \n Snippet: driver.configure.wcdmaMeas.tpc.mpedch.set_aexecution(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:WCDMa:MEASurement<Instance>:TPC:MPEDch:AEXecution {param}')