from .......Internal.Core import Core
from .......Internal.CommandsGroup import CommandsGroup
from .......Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class SymbolsCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("symbols", core, parent)
[docs]
def set(self, count: int) -> None:
"""
``[SENSe]:ADJust:EVM:SYMBols`` \n
Snippet: ``driver.applications.k91Wlan.sense.adjust.evm.symbols.set(count = 1)`` \n
Configures the number of OFDM-symbols the instrument should consider during the EVM optimization measurement for the auto
level function.
Prerequisites: \n
- method ``RsFsw.applications.k91Wlan.sense.adjust.evm.mode.set()`` MAN
- method ``RsFsw.applications.k91Wlan.configure.power.auto.oevm.set()`` FULL or PAON
- method ``RsFsw.applications.k91Wlan.trigger.sequence.source.set()`` EXT
:param count: integer
"""
param = Conversions.decimal_value_to_str(count)
self._core.io.write(f'SENSe:ADJust:EVM:SYMBols {param}')
[docs]
def get(self) -> int:
"""
``[SENSe]:ADJust:EVM:SYMBols`` \n
Snippet: ``value: int = driver.applications.k91Wlan.sense.adjust.evm.symbols.get()`` \n
Configures the number of OFDM-symbols the instrument should consider during the EVM optimization measurement for the auto
level function.
Prerequisites: \n
- method ``RsFsw.applications.k91Wlan.sense.adjust.evm.mode.set()`` MAN
- method ``RsFsw.applications.k91Wlan.configure.power.auto.oevm.set()`` FULL or PAON
- method ``RsFsw.applications.k91Wlan.trigger.sequence.source.set()`` EXT
:return: count: integer
"""
response = self._core.io.query_str(f'SENSe:ADJust:EVM:SYMBols?')
return Conversions.str_to_int(response)