Source code for RsCmwWlanMeas.Implementations.MultiEval.Sinfo.Hesu.Coding

from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal.StructBase import StructBase
from .....Internal.ArgStruct import ArgStruct


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class CodingCls: """Coding commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("coding", core, parent) # noinspection PyTypeChecker
[docs] class FetchStruct(StructBase): """Response structure. Fields: \n - Reliability: int: decimal 'Reliability indicator' - Value_Bin: str: string - Value_Dec: int: decimal Range: 0 to 127""" __meta_args_list = [ ArgStruct.scalar_int('Reliability', 'Reliability'), ArgStruct.scalar_str('Value_Bin'), ArgStruct.scalar_int('Value_Dec')] def __init__(self): StructBase.__init__(self, self) self.Reliability: int = None self.Value_Bin: str = None self.Value_Dec: int = None
[docs] def fetch(self) -> FetchStruct: """SCPI: FETCh:WLAN:MEASurement<instance>:MEValuation:SINFo:HESU:CODing \n Snippet: value: FetchStruct = driver.multiEval.sinfo.hesu.coding.fetch() \n Queries the value of Coding field signaled in HE signal field for single user MIMO (HE-SIG-A) . \n :return: structure: for return value, see the help for FetchStruct structure arguments.""" return self._core.io.query_struct(f'FETCh:WLAN:MEASurement<Instance>:MEValuation:SINFo:HESU:CODing?', self.__class__.FetchStruct())