from ..Internal.Core import Core
from ..Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class AutoScaleCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("autoScale", core, parent)
[docs]
def set(self, opc_timeout_ms: int = -1) -> None:
"""
``AUToscale`` \n
Snippet: ``driver.autoScale.set()`` \n
Performs an autoset process: analyzes the enabled channel signals, and obtains appropriate horizontal, vertical, and
trigger settings to display stable waveforms. Rohde & Schwarz does not recommend using the autoset in remote control. To
adjust the oscilloscope remotely, especially for automated testing applications, use the remote commands that adjust the
horizontal, vertical and trigger settings.”
:param opc_timeout_ms: Maximum time to wait in milliseconds, valid only for this call.
"""
self._core.io.write_with_opc(f'AUToscale', opc_timeout_ms)