Source code for RsFsw.Implementations.Applications.K91_Wlan.Configure.Power.Auto.Oevm

from .......Internal.Core import Core
from .......Internal.CommandsGroup import CommandsGroup
from .......Internal import Conversions


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class OevmCls: """Oevm commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("oevm", core, parent)
[docs] def set(self, optimisation: bool) -> None: """SCPI: CONFigure:POWer:AUTO:OEVM \n Snippet: driver.applications.k91Wlan.configure.power.auto.oevm.set(optimisation = False) \n Defines whether an optional iterative search is performed to determine the required settings for minimum residual EVM. If enabled, the required reference level, preamplifier and, optionally, attenuation are configured. method RsFsw. Applications.K91_Wlan.Configure.Power.Auto.set is set to 'OFF'. \n :param optimisation: OFF (Default) : No optimization performed FULL An optional iterative search for minimum residual EVM is performed for the available preamplifier and attenuation settings. The optimal settings are configured. PAONly An optional iterative search for minimum residual EVM is performed, but only the available preamplifier settings are considered during the search. The optimal settings are configured. """ param = Conversions.bool_to_str(optimisation) self._core.io.write(f'CONFigure:POWer:AUTO:OEVM {param}')
[docs] def get(self) -> bool: """SCPI: CONFigure:POWer:AUTO:OEVM \n Snippet: value: bool = driver.applications.k91Wlan.configure.power.auto.oevm.get() \n Defines whether an optional iterative search is performed to determine the required settings for minimum residual EVM. If enabled, the required reference level, preamplifier and, optionally, attenuation are configured. method RsFsw. Applications.K91_Wlan.Configure.Power.Auto.set is set to 'OFF'. \n :return: optimisation: OFF (Default) : No optimization performed FULL An optional iterative search for minimum residual EVM is performed for the available preamplifier and attenuation settings. The optimal settings are configured. PAONly An optional iterative search for minimum residual EVM is performed, but only the available preamplifier settings are considered during the search. The optimal settings are configured.""" response = self._core.io.query_str(f'CONFigure:POWer:AUTO:OEVM?') return Conversions.str_to_bool(response)