Source code for RsCmwWlanMeas.Implementations.Configure.MultiEval.Limit.SpectrFlatness.EhtOfdm.Bw.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
from ........ import repcap


# 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, bandwidthF=repcap.BandwidthF.Default) -> None: """SCPI: CONFigure:WLAN:MEASurement<Instance>:MEValuation:LIMit:SFLatness:EHTofdm:BW<bandwidth>:LOWer \n Snippet: driver.configure.multiEval.limit.spectrFlatness.ehtOfdm.bw.lower.set(center = 1.0, side = 1.0, bandwidthF = repcap.BandwidthF.Default) \n No command help available \n :param center: No help available :param side: No help available :param bandwidthF: optional repeated capability selector. Default value: Bw20 (settable in the interface 'Bw') """ param = ArgSingleList().compose_cmd_string(ArgSingle('center', center, DataType.Float), ArgSingle('side', side, DataType.Float)) bandwidthF_cmd_val = self._cmd_group.get_repcap_cmd_value(bandwidthF, repcap.BandwidthF) self._core.io.write(f'CONFigure:WLAN:MEASurement<Instance>:MEValuation:LIMit:SFLatness:EHTofdm:BW{bandwidthF_cmd_val}: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, bandwidthF=repcap.BandwidthF.Default) -> LowerStruct: """SCPI: CONFigure:WLAN:MEASurement<Instance>:MEValuation:LIMit:SFLatness:EHTofdm:BW<bandwidth>:LOWer \n Snippet: value: LowerStruct = driver.configure.multiEval.limit.spectrFlatness.ehtOfdm.bw.lower.get(bandwidthF = repcap.BandwidthF.Default) \n No command help available \n :param bandwidthF: optional repeated capability selector. Default value: Bw20 (settable in the interface 'Bw') :return: structure: for return value, see the help for LowerStruct structure arguments.""" bandwidthF_cmd_val = self._cmd_group.get_repcap_cmd_value(bandwidthF, repcap.BandwidthF) return self._core.io.query_struct(f'CONFigure:WLAN:MEASurement<Instance>:MEValuation:LIMit:SFLatness:EHTofdm:BW{bandwidthF_cmd_val}:LOWer?', self.__class__.LowerStruct())