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

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class DhibCls: """Dhib commands group definition. 3 total commands, 0 Subgroups, 3 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("dhib", core, parent)
[docs] def get_mlength(self) -> int: """SCPI: CONFigure:WCDMa:MEASurement<instance>:TPC:DHIB:MLENgth \n Snippet: value: int = driver.configure.wcdmaMeas.tpc.dhib.get_mlength() \n Defines the number of slots to be measured in DC HSDPA In-Band Emission mode. \n :return: meas_length: No help available """ response = self._core.io.query_str('CONFigure:WCDMa:MEASurement<Instance>:TPC:DHIB:MLENgth?') return Conversions.str_to_int(response)
[docs] def set_mlength(self, meas_length: int) -> None: """SCPI: CONFigure:WCDMa:MEASurement<instance>:TPC:DHIB:MLENgth \n Snippet: driver.configure.wcdmaMeas.tpc.dhib.set_mlength(meas_length = 1) \n Defines the number of slots to be measured in DC HSDPA In-Band Emission 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:DHIB:MLENgth {param}')
[docs] def get_pattern(self) -> float: """SCPI: CONFigure:WCDMa:MEASurement<instance>:TPC:DHIB:PATTern \n Snippet: value: float = driver.configure.wcdmaMeas.tpc.dhib.get_pattern() \n Specifies the pattern and in the same time also the carrier to be tested. Select the pattern 00... for the tested carrier and 11... for the other carrier. \n :return: pattern: UD: C1: 11... C2: 00... DU: C1: 00... C2: 11... """ response = self._core.io.query_str('CONFigure:WCDMa:MEASurement<Instance>:TPC:DHIB:PATTern?') return Conversions.str_to_float(response)
[docs] def set_pattern(self, pattern: float) -> None: """SCPI: CONFigure:WCDMa:MEASurement<instance>:TPC:DHIB:PATTern \n Snippet: driver.configure.wcdmaMeas.tpc.dhib.set_pattern(pattern = 1.0) \n Specifies the pattern and in the same time also the carrier to be tested. Select the pattern 00... for the tested carrier and 11... for the other carrier. \n :param pattern: UD: C1: 11... C2: 00... DU: C1: 00... C2: 11... """ param = Conversions.decimal_value_to_str(pattern) self._core.io.write(f'CONFigure:WCDMa:MEASurement<Instance>:TPC:DHIB:PATTern {param}')
[docs] def get_aexecution(self) -> bool: """SCPI: CONFigure:WCDMa:MEASurement<instance>:TPC:DHIB:AEXecution \n Snippet: value: bool = driver.configure.wcdmaMeas.tpc.dhib.get_aexecution() \n No command help available \n :return: enable: No help available """ response = self._core.io.query_str('CONFigure:WCDMa:MEASurement<Instance>:TPC:DHIB:AEXecution?') return Conversions.str_to_bool(response)
[docs] def set_aexecution(self, enable: bool) -> None: """SCPI: CONFigure:WCDMa:MEASurement<instance>:TPC:DHIB:AEXecution \n Snippet: driver.configure.wcdmaMeas.tpc.dhib.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:DHIB:AEXecution {param}')