Source code for RsCmwWlanMeas.Implementations.MultiEval.PowerVsTime.Terror.Minimum

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class MinimumCls: """Minimum commands group definition. 3 total commands, 0 Subgroups, 3 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("minimum", core, parent)
[docs] def read(self) -> float: """SCPI: READ:WLAN:MEASurement<Instance>:MEValuation:PVTime:TERRor:MINimum \n Snippet: value: float = driver.multiEval.powerVsTime.terror.minimum.read() \n Return the current, average, minimum, maximum and standard deviation timing error single value results of the power vs time 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 :return: timing_error_min: float Unit: s""" suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_str_suppressed(f'READ:WLAN:MEASurement<Instance>:MEValuation:PVTime:TERRor:MINimum?', suppressed) return Conversions.str_to_float(response)
[docs] def fetch(self) -> float: """SCPI: FETCh:WLAN:MEASurement<Instance>:MEValuation:PVTime:TERRor:MINimum \n Snippet: value: float = driver.multiEval.powerVsTime.terror.minimum.fetch() \n Return the current, average, minimum, maximum and standard deviation timing error single value results of the power vs time 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 :return: timing_error_min: float Unit: s""" suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_str_suppressed(f'FETCh:WLAN:MEASurement<Instance>:MEValuation:PVTime:TERRor:MINimum?', suppressed) return Conversions.str_to_float(response)
# noinspection PyTypeChecker
[docs] def calculate(self) -> enums.ResultStatus2: """SCPI: CALCulate:WLAN:MEASurement<Instance>:MEValuation:PVTime:TERRor:MINimum \n Snippet: value: enums.ResultStatus2 = driver.multiEval.powerVsTime.terror.minimum.calculate() \n Return the current, average, minimum, maximum and standard deviation timing error single value results of the power vs time 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 :return: timing_error_min: float Unit: s""" suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_str_suppressed(f'CALCulate:WLAN:MEASurement<Instance>:MEValuation:PVTime:TERRor:MINimum?', suppressed) return Conversions.str_to_scalar_enum(response, enums.ResultStatus2)