Source code for RsCmwWlanMeas.Implementations.MultiEval.PowerVsTime.Terror.Mimo.Current

from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions
from ......Internal.ArgSingleSuppressed import ArgSingleSuppressed
from ......Internal.Types import DataType
from ...... import enums
from ...... import repcap


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class CurrentCls: """Current commands group definition. 3 total commands, 0 Subgroups, 3 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("current", core, parent)
[docs] def read(self, mimo=repcap.Mimo.Default) -> float: """SCPI: READ:WLAN:MEASurement<Instance>:MEValuation:PVTime:TERRor:MIMO<n>:CURRent \n Snippet: value: float = driver.multiEval.powerVsTime.terror.mimo.current.read(mimo = repcap.Mimo.Default) \n Return the current, average, minimum, maximum and standard deviation timing error single value results of the power vs time MIMO measurement. The commands are only supported for OFDM standards. The values described below are returned by FETCh and READ commands. CALCulate commands return limit check results instead, one value for each result listed below. \n Use RsCmwWlanMeas.reliability.last_value to read the updated reliability indicator. \n :param mimo: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Mimo') :return: timing_error_curr: No help available""" mimo_cmd_val = self._cmd_group.get_repcap_cmd_value(mimo, repcap.Mimo) suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_str_suppressed(f'READ:WLAN:MEASurement<Instance>:MEValuation:PVTime:TERRor:MIMO{mimo_cmd_val}:CURRent?', suppressed) return Conversions.str_to_float(response)
[docs] def fetch(self, mimo=repcap.Mimo.Default) -> float: """SCPI: FETCh:WLAN:MEASurement<Instance>:MEValuation:PVTime:TERRor:MIMO<n>:CURRent \n Snippet: value: float = driver.multiEval.powerVsTime.terror.mimo.current.fetch(mimo = repcap.Mimo.Default) \n Return the current, average, minimum, maximum and standard deviation timing error single value results of the power vs time MIMO measurement. The commands are only supported for OFDM standards. The values described below are returned by FETCh and READ commands. CALCulate commands return limit check results instead, one value for each result listed below. \n Use RsCmwWlanMeas.reliability.last_value to read the updated reliability indicator. \n :param mimo: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Mimo') :return: timing_error_curr: No help available""" mimo_cmd_val = self._cmd_group.get_repcap_cmd_value(mimo, repcap.Mimo) suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_str_suppressed(f'FETCh:WLAN:MEASurement<Instance>:MEValuation:PVTime:TERRor:MIMO{mimo_cmd_val}:CURRent?', suppressed) return Conversions.str_to_float(response)
# noinspection PyTypeChecker
[docs] def calculate(self, mimo=repcap.Mimo.Default) -> enums.ResultStatus2: """SCPI: CALCulate:WLAN:MEASurement<Instance>:MEValuation:PVTime:TERRor:MIMO<n>:CURRent \n Snippet: value: enums.ResultStatus2 = driver.multiEval.powerVsTime.terror.mimo.current.calculate(mimo = repcap.Mimo.Default) \n Return the current, average, minimum, maximum and standard deviation timing error single value results of the power vs time MIMO measurement. The commands are only supported for OFDM standards. The values described below are returned by FETCh and READ commands. CALCulate commands return limit check results instead, one value for each result listed below. \n Use RsCmwWlanMeas.reliability.last_value to read the updated reliability indicator. \n :param mimo: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Mimo') :return: timing_error_curr: No help available""" mimo_cmd_val = self._cmd_group.get_repcap_cmd_value(mimo, repcap.Mimo) suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_str_suppressed(f'CALCulate:WLAN:MEASurement<Instance>:MEValuation:PVTime:TERRor:MIMO{mimo_cmd_val}:CURRent?', suppressed) return Conversions.str_to_scalar_enum(response, enums.ResultStatus2)