Source code for RsFsw.Implementations.Applications.K91_Wlan.Sense.Demod.FormatPy.Banalyze.Symbols.Equal

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class EqualCls: """Equal commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("equal", core, parent)
[docs] def set(self, state: bool) -> None: """SCPI: [SENSe]:DEMod:FORMat:BANalyze:SYMBols:EQUal \n Snippet: driver.applications.k91Wlan.sense.demod.formatPy.banalyze.symbols.equal.set(state = False) \n For IEEE 802.11a, ac, g (OFDM) , j, n, p signals only: If enabled, only PPDUs with a specific number of symbols are considered for measurement analysis. If disabled, only PPDUs whose length is within a specified range are considered. The number of symbols is specified by the [SENSe:]DEMod:FORMat:BANalyze:SYMBols:MIN command. A range of data symbols is defined as a minimum and maximum number of symbols the payload may contain (see [SENSe:]DEMod:FORMat:BANalyze:SYMBols:MAX and [SENSe:]DEMod:FORMat:BANalyze:SYMBols:MIN) . \n :param state: ON | OFF | 1 | 0 """ param = Conversions.bool_to_str(state) self._core.io.write(f'SENSe:DEMod:FORMat:BANalyze:SYMBols:EQUal {param}')
[docs] def get(self) -> bool: """SCPI: [SENSe]:DEMod:FORMat:BANalyze:SYMBols:EQUal \n Snippet: value: bool = driver.applications.k91Wlan.sense.demod.formatPy.banalyze.symbols.equal.get() \n For IEEE 802.11a, ac, g (OFDM) , j, n, p signals only: If enabled, only PPDUs with a specific number of symbols are considered for measurement analysis. If disabled, only PPDUs whose length is within a specified range are considered. The number of symbols is specified by the [SENSe:]DEMod:FORMat:BANalyze:SYMBols:MIN command. A range of data symbols is defined as a minimum and maximum number of symbols the payload may contain (see [SENSe:]DEMod:FORMat:BANalyze:SYMBols:MAX and [SENSe:]DEMod:FORMat:BANalyze:SYMBols:MIN) . \n :return: state: ON | OFF | 1 | 0""" response = self._core.io.query_str(f'SENSe:DEMod:FORMat:BANalyze:SYMBols:EQUal?') return Conversions.str_to_bool(response)