Source code for RsCMPX_WlanMeas.Implementations.Configure.WlanMeas.MultiEval.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. 3 total commands, 0 Subgroups, 3 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("scount", core, parent)
[docs] def get_ts_mask(self) -> int: """SCPI: CONFigure:WLAN:MEASurement<Instance>:MEValuation:SCOunt:TSMask \n Snippet: value: int = driver.configure.wlanMeas.multiEval.scount.get_ts_mask() \n Specifies the statistic count of the measurement. The statistic count is equal to the number of measurement intervals per single shot. \n :return: statistic_count: Number of measurement intervals for the transmit spectrum mask measurement """ response = self._core.io.query_str('CONFigure:WLAN:MEASurement<Instance>:MEValuation:SCOunt:TSMask?') return Conversions.str_to_int(response)
[docs] def set_ts_mask(self, statistic_count: int) -> None: """SCPI: CONFigure:WLAN:MEASurement<Instance>:MEValuation:SCOunt:TSMask \n Snippet: driver.configure.wlanMeas.multiEval.scount.set_ts_mask(statistic_count = 1) \n Specifies the statistic count of the measurement. The statistic count is equal to the number of measurement intervals per single shot. \n :param statistic_count: Number of measurement intervals for the transmit spectrum mask measurement """ param = Conversions.decimal_value_to_str(statistic_count) self._core.io.write(f'CONFigure:WLAN:MEASurement<Instance>:MEValuation:SCOunt:TSMask {param}')
[docs] def get_power_vs_time(self) -> int: """SCPI: CONFigure:WLAN:MEASurement<Instance>:MEValuation:SCOunt:PVTime \n Snippet: value: int = driver.configure.wlanMeas.multiEval.scount.get_power_vs_time() \n Specifies the statistic count of the measurement. The statistic count is equal to the number of measurement intervals per single shot. \n :return: statistic_count: Number of measurement intervals for the power vs time measurement """ response = self._core.io.query_str('CONFigure:WLAN:MEASurement<Instance>:MEValuation:SCOunt:PVTime?') return Conversions.str_to_int(response)
[docs] def set_power_vs_time(self, statistic_count: int) -> None: """SCPI: CONFigure:WLAN:MEASurement<Instance>:MEValuation:SCOunt:PVTime \n Snippet: driver.configure.wlanMeas.multiEval.scount.set_power_vs_time(statistic_count = 1) \n Specifies the statistic count of the measurement. The statistic count is equal to the number of measurement intervals per single shot. \n :param statistic_count: Number of measurement intervals for the power vs time measurement """ param = Conversions.decimal_value_to_str(statistic_count) self._core.io.write(f'CONFigure:WLAN:MEASurement<Instance>:MEValuation:SCOunt:PVTime {param}')
[docs] def get_modulation(self) -> int: """SCPI: CONFigure:WLAN:MEASurement<Instance>:MEValuation:SCOunt:MODulation \n Snippet: value: int = driver.configure.wlanMeas.multiEval.scount.get_modulation() \n Specifies the statistic count of the measurement. The statistic count is equal to the number of measurement intervals per single shot. \n :return: statistic_count: Number of measurement intervals for modulation measurements """ response = self._core.io.query_str('CONFigure:WLAN:MEASurement<Instance>:MEValuation:SCOunt:MODulation?') return Conversions.str_to_int(response)
[docs] def set_modulation(self, statistic_count: int) -> None: """SCPI: CONFigure:WLAN:MEASurement<Instance>:MEValuation:SCOunt:MODulation \n Snippet: driver.configure.wlanMeas.multiEval.scount.set_modulation(statistic_count = 1) \n Specifies the statistic count of the measurement. The statistic count is equal to the number of measurement intervals per single shot. \n :param statistic_count: Number of measurement intervals for modulation measurements """ param = Conversions.decimal_value_to_str(statistic_count) self._core.io.write(f'CONFigure:WLAN:MEASurement<Instance>:MEValuation:SCOunt:MODulation {param}')