Source code for RsCMPX_WlanMeas.Implementations.Configure.WlanMeas.MultiEval.Limit.SpectrFlatness.Lofdm.Lower

from ........Internal.Core import Core
from ........Internal.CommandsGroup import CommandsGroup
from ........Internal.Types import DataType
from ........Internal.StructBase import StructBase
from ........Internal.ArgStruct import ArgStruct
from ........Internal.ArgSingleList import ArgSingleList
from ........Internal.ArgSingle import ArgSingle


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class LowerCls: """Lower commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("lower", core, parent)
[docs] def set(self, center: float, side: float) -> None: """SCPI: CONFigure:WLAN:MEASurement<Instance>:MEValuation:LIMit:SFLatness:LOFDm:LOWer \n Snippet: driver.configure.wlanMeas.multiEval.limit.spectrFlatness.lofdm.lower.set(center = 1.0, side = 1.0) \n No command help available \n :param center: No help available :param side: No help available """ param = ArgSingleList().compose_cmd_string(ArgSingle('center', center, DataType.Float), ArgSingle('side', side, DataType.Float)) self._core.io.write(f'CONFigure:WLAN:MEASurement<Instance>:MEValuation:LIMit:SFLatness:LOFDm:LOWer {param}'.rstrip())
# noinspection PyTypeChecker
[docs] class LowerStruct(StructBase): """Response structure. Fields: \n - Center: float: No parameter help available - Side: float: No parameter help available""" __meta_args_list = [ ArgStruct.scalar_float('Center'), ArgStruct.scalar_float('Side')] def __init__(self): StructBase.__init__(self, self) self.Center: float = None self.Side: float = None
[docs] def get(self) -> LowerStruct: """SCPI: CONFigure:WLAN:MEASurement<Instance>:MEValuation:LIMit:SFLatness:LOFDm:LOWer \n Snippet: value: LowerStruct = driver.configure.wlanMeas.multiEval.limit.spectrFlatness.lofdm.lower.get() \n No command help available \n :return: structure: for return value, see the help for LowerStruct structure arguments.""" return self._core.io.query_struct(f'CONFigure:WLAN:MEASurement<Instance>:MEValuation:LIMit:SFLatness:LOFDm:LOWer?', self.__class__.LowerStruct())