from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class AutoCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("auto", core, parent)
[docs]
def set(self, state: bool) -> None:
"""
``INPut:IQ:FULLscale:AUTO`` \n
Snippet: ``driver.inputPy.iq.fullscale.auto.set(state = False)`` \n
Defines whether the full scale level (i.e. the maximum input power on the Baseband Input connector) is defined
automatically according to the reference level, or manually.
:param state: ON | 1 Automatic definition OFF | 0 Manual definition according to method ``RsFsw.applications.k10Xlte.inputPy.iq.fullscale.level.set()``
"""
param = Conversions.bool_to_str(state)
self._core.io.write(f'INPut:IQ:FULLscale:AUTO {param}')