Source code for RsCmwBluetoothMeas.Implementations.Configure.Hdr.Scount

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class ScountCls: """Scount commands group definition. 4 total commands, 0 Subgroups, 4 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("scount", core, parent)
[docs] def get_power_vs_time(self) -> int: """SCPI: CONFigure:BLUetooth:MEASurement<Instance>:HDR:SCOunt:PVTime \n Snippet: value: int = driver.configure.hdr.scount.get_power_vs_time() \n No command help available \n :return: stat_count: No help available """ response = self._core.io.query_str('CONFigure:BLUetooth:MEASurement<Instance>:HDR:SCOunt:PVTime?') return Conversions.str_to_int(response)
[docs] def set_power_vs_time(self, stat_count: int) -> None: """SCPI: CONFigure:BLUetooth:MEASurement<Instance>:HDR:SCOunt:PVTime \n Snippet: driver.configure.hdr.scount.set_power_vs_time(stat_count = 1) \n No command help available \n :param stat_count: No help available """ param = Conversions.decimal_value_to_str(stat_count) self._core.io.write(f'CONFigure:BLUetooth:MEASurement<Instance>:HDR:SCOunt:PVTime {param}')
[docs] def get_sgacp(self) -> int: """SCPI: CONFigure:BLUetooth:MEASurement<Instance>:HDR:SCOunt:SGACp \n Snippet: value: int = driver.configure.hdr.scount.get_sgacp() \n No command help available \n :return: stat_count: No help available """ response = self._core.io.query_str('CONFigure:BLUetooth:MEASurement<Instance>:HDR:SCOunt:SGACp?') return Conversions.str_to_int(response)
[docs] def set_sgacp(self, stat_count: int) -> None: """SCPI: CONFigure:BLUetooth:MEASurement<Instance>:HDR:SCOunt:SGACp \n Snippet: driver.configure.hdr.scount.set_sgacp(stat_count = 1) \n No command help available \n :param stat_count: No help available """ param = Conversions.decimal_value_to_str(stat_count) self._core.io.write(f'CONFigure:BLUetooth:MEASurement<Instance>:HDR:SCOunt:SGACp {param}')
[docs] def get_modulation(self) -> int: """SCPI: CONFigure:BLUetooth:MEASurement<Instance>:HDR:SCOunt:MODulation \n Snippet: value: int = driver.configure.hdr.scount.get_modulation() \n No command help available \n :return: stat_count: No help available """ response = self._core.io.query_str('CONFigure:BLUetooth:MEASurement<Instance>:HDR:SCOunt:MODulation?') return Conversions.str_to_int(response)
[docs] def set_modulation(self, stat_count: int) -> None: """SCPI: CONFigure:BLUetooth:MEASurement<Instance>:HDR:SCOunt:MODulation \n Snippet: driver.configure.hdr.scount.set_modulation(stat_count = 1) \n No command help available \n :param stat_count: No help available """ param = Conversions.decimal_value_to_str(stat_count) self._core.io.write(f'CONFigure:BLUetooth:MEASurement<Instance>:HDR:SCOunt:MODulation {param}')
[docs] def get_pencoding(self) -> int: """SCPI: CONFigure:BLUetooth:MEASurement<Instance>:HDR:SCOunt:PENCoding \n Snippet: value: int = driver.configure.hdr.scount.get_pencoding() \n No command help available \n :return: stat_count: No help available """ response = self._core.io.query_str('CONFigure:BLUetooth:MEASurement<Instance>:HDR:SCOunt:PENCoding?') return Conversions.str_to_int(response)
[docs] def set_pencoding(self, stat_count: int) -> None: """SCPI: CONFigure:BLUetooth:MEASurement<Instance>:HDR:SCOunt:PENCoding \n Snippet: driver.configure.hdr.scount.set_pencoding(stat_count = 1) \n No command help available \n :param stat_count: No help available """ param = Conversions.decimal_value_to_str(stat_count) self._core.io.write(f'CONFigure:BLUetooth:MEASurement<Instance>:HDR:SCOunt:PENCoding {param}')