Source code for RsCmwBluetoothMeas.Implementations.Configure.InputSignal.Uap

from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
from ....Internal import Conversions
from ....Internal.Utilities import trim_str_response


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class UapCls: """Uap commands group definition. 2 total commands, 0 Subgroups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("uap", core, parent)
[docs] def get_qhsl(self) -> str: """SCPI: CONFigure:BLUetooth:MEASurement<Instance>:ISIGnal:UAP:QHSL \n Snippet: value: str = driver.configure.inputSignal.uap.get_qhsl() \n No command help available \n :return: bd_address_uap: No help available """ response = self._core.io.query_str('CONFigure:BLUetooth:MEASurement<Instance>:ISIGnal:UAP:QHSL?') return trim_str_response(response)
[docs] def set_qhsl(self, bd_address_uap: str) -> None: """SCPI: CONFigure:BLUetooth:MEASurement<Instance>:ISIGnal:UAP:QHSL \n Snippet: driver.configure.inputSignal.uap.set_qhsl(bd_address_uap = rawAbc) \n No command help available \n :param bd_address_uap: No help available """ param = Conversions.value_to_str(bd_address_uap) self._core.io.write(f'CONFigure:BLUetooth:MEASurement<Instance>:ISIGnal:UAP:QHSL {param}')
[docs] def get_value(self) -> str: """SCPI: CONFigure:BLUetooth:MEASurement<Instance>:ISIGnal:UAP \n Snippet: value: str = driver.configure.inputSignal.uap.get_value() \n Specifies the upper address part of the DUT's Bluetooth device address. \n :return: bd_address_uap: hex Two-digit hex number Range: #H0 to #HFF """ response = self._core.io.query_str('CONFigure:BLUetooth:MEASurement<Instance>:ISIGnal:UAP?') return trim_str_response(response)
[docs] def set_value(self, bd_address_uap: str) -> None: """SCPI: CONFigure:BLUetooth:MEASurement<Instance>:ISIGnal:UAP \n Snippet: driver.configure.inputSignal.uap.set_value(bd_address_uap = rawAbc) \n Specifies the upper address part of the DUT's Bluetooth device address. \n :param bd_address_uap: hex Two-digit hex number Range: #H0 to #HFF """ param = Conversions.value_to_str(bd_address_uap) self._core.io.write(f'CONFigure:BLUetooth:MEASurement<Instance>:ISIGnal:UAP {param}')