Source code for RsFsw.Implementations.Applications.K9x_11ad.Sense.Demod.FormatPy.Banalyze.Symbols.Max

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class MaxCls: """Max commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("max", core, parent)
[docs] def set(self, count: float) -> None: """SCPI: [SENSe]:DEMod:FORMat:BANalyze:SYMBols:MAX \n Snippet: driver.applications.k9X11Ad.sense.demod.formatPy.banalyze.symbols.max.set(count = 1.0) \n For IEEE 802.11a, ac, g (OFDM) , j, n, p signals only: If the [SENSe:]DEMod:FORMat:BANalyze:SYMBols:EQUal command is set to false, this command specifies the maximum number of payload symbols allowed for a PPDU to take part in measurement analysis. The number of payload symbols is defined as the uncoded bits including service and tail bits. If the [SENSe:]DEMod:FORMat:BANalyze:SYMBols:EQUal command has been set to true, then this command has no effect. \n :param count: integer """ param = Conversions.decimal_value_to_str(count) self._core.io.write(f'SENSe:DEMod:FORMat:BANalyze:SYMBols:MAX {param}')
[docs] def get(self) -> float: """SCPI: [SENSe]:DEMod:FORMat:BANalyze:SYMBols:MAX \n Snippet: value: float = driver.applications.k9X11Ad.sense.demod.formatPy.banalyze.symbols.max.get() \n For IEEE 802.11a, ac, g (OFDM) , j, n, p signals only: If the [SENSe:]DEMod:FORMat:BANalyze:SYMBols:EQUal command is set to false, this command specifies the maximum number of payload symbols allowed for a PPDU to take part in measurement analysis. The number of payload symbols is defined as the uncoded bits including service and tail bits. If the [SENSe:]DEMod:FORMat:BANalyze:SYMBols:EQUal command has been set to true, then this command has no effect. \n :return: count: No help available""" response = self._core.io.query_str(f'SENSe:DEMod:FORMat:BANalyze:SYMBols:MAX?') return Conversions.str_to_float(response)