from ...Internal.Core import Core
from ...Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class SconfigurationCls:
"""
| Commands in total: 158
| Subgroups: 6
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("sconfiguration", core, parent)
@property
def apply(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_apply'):
from .Apply import ApplyCls
self._apply = ApplyCls(self._core, self._cmd_group)
return self._apply
@property
def baseband(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_baseband'):
from .Baseband import BasebandCls
self._baseband = BasebandCls(self._core, self._cmd_group)
return self._baseband
@property
def diq(self):
"""
| Commands in total: 2
| Subgroups: 2
| Direct child commands: 0
"""
if not hasattr(self, '_diq'):
from .Diq import DiqCls
self._diq = DiqCls(self._core, self._cmd_group)
return self._diq
@property
def external(self):
"""
| Commands in total: 141
| Subgroups: 8
| Direct child commands: 3
"""
if not hasattr(self, '_external'):
from .External import ExternalCls
self._external = ExternalCls(self._core, self._cmd_group)
return self._external
@property
def multiInstrument(self):
"""
| Commands in total: 5
| Subgroups: 2
| Direct child commands: 2
"""
if not hasattr(self, '_multiInstrument'):
from .MultiInstrument import MultiInstrumentCls
self._multiInstrument = MultiInstrumentCls(self._core, self._cmd_group)
return self._multiInstrument
@property
def output(self):
"""
| Commands in total: 7
| Subgroups: 1
| Direct child commands: 1
"""
if not hasattr(self, '_output'):
from .Output import OutputCls
self._output = OutputCls(self._core, self._cmd_group)
return self._output
[docs]
def preset(self) -> None:
"""
``SCONfiguration:PRESet`` \n
Snippet: ``driver.sconfiguration.preset()`` \n
No help available
"""
self._core.io.write(f'SCONfiguration:PRESet')
[docs]
def preset_with_opc(self, opc_timeout_ms: int = -1) -> None:
"""
``SCONfiguration:PRESet`` \n
Snippet: ``driver.sconfiguration.preset_with_opc()`` \n
No help available
Same as preset, but waits for the operation to complete before continuing further. Use the RsSmbv.utilities.opc_timeout_set() to set the timeout value.
:param opc_timeout_ms: Maximum time to wait in milliseconds, valid only for this call.
"""
self._core.io.write_with_opc(f'SCONfiguration:PRESet', opc_timeout_ms)
def clone(self) -> 'SconfigurationCls':
"""
Clones the group by creating new object from it and its whole existing subgroups.
Also copies all the existing default Repeated Capabilities setting,
which you can change independently without affecting the original group.
"""
new_group = SconfigurationCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group