from ........Internal.Core import Core
from ........Internal.CommandsGroup import CommandsGroup
from ........Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class SyncCls:
"""
| Commands in total: 18
| Subgroups: 14
| Direct child commands: 2
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("sync", core, parent)
@property
def auto(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_auto'):
from .Auto import AutoCls
self._auto = AutoCls(self._core, self._cmd_group)
return self._auto
@property
def catalog(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_catalog'):
from .Catalog import CatalogCls
self._catalog = CatalogCls(self._core, self._cmd_group)
return self._catalog
@property
def comment(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_comment'):
from .Comment import CommentCls
self._comment = CommentCls(self._core, self._cmd_group)
return self._comment
@property
def data(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_data'):
from .Data import DataCls
self._data = DataCls(self._core, self._cmd_group)
return self._data
@property
def mode(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_mode'):
from .Mode import ModeCls
self._mode = ModeCls(self._core, self._cmd_group)
return self._mode
@property
def name(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_name'):
from .Name import NameCls
self._name = NameCls(self._core, self._cmd_group)
return self._name
@property
def nstate(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_nstate'):
from .Nstate import NstateCls
self._nstate = NstateCls(self._core, self._cmd_group)
return self._nstate
@property
def select(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_select'):
from .Select import SelectCls
self._select = SelectCls(self._core, self._cmd_group)
return self._select
@property
def state(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_state'):
from .State import StateCls
self._state = StateCls(self._core, self._cmd_group)
return self._state
@property
def text(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_text'):
from .Text import TextCls
self._text = TextCls(self._core, self._cmd_group)
return self._text
@property
def found(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_found'):
from .Found import FoundCls
self._found = FoundCls(self._core, self._cmd_group)
return self._found
@property
def iqcThreshold(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_iqcThreshold'):
from .IqcThreshold import IqcThresholdCls
self._iqcThreshold = IqcThresholdCls(self._core, self._cmd_group)
return self._iqcThreshold
@property
def offset(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_offset'):
from .Offset import OffsetCls
self._offset = OffsetCls(self._core, self._cmd_group)
return self._offset
@property
def pattern(self):
"""
| Commands in total: 3
| Subgroups: 2
| Direct child commands: 1
"""
if not hasattr(self, '_pattern'):
from .Pattern import PatternCls
self._pattern = PatternCls(self._core, self._cmd_group)
return self._pattern
[docs]
def copy(self, pattern: str) -> None:
"""
``[SENSe]:DDEMod:SEARch:SYNC:COPY`` \n
Snippet: ``driver.applications.k70Vsa.sense.ddemod.search.sync.copy(pattern = 'abc')`` \n
Copies a pattern file. The pattern to be copied must have been selected before using method
``RsFsw.applications.k70Vsa.sense.ddemod.search.sync.name.set()`` . Tip: In manual operation, a pattern can be copied in
the editor by storing it under a new name.
"""
param = Conversions.value_to_quoted_str(pattern)
self._core.io.write(f'SENSe:DDEMod:SEARch:SYNC:COPY {param}')
[docs]
def delete(self) -> None:
"""
``[SENSe]:DDEMod:SEARch:SYNC:DELete`` \n
Snippet: ``driver.applications.k70Vsa.sense.ddemod.search.sync.delete()`` \n
Deletes a sync sequence. The sync sequence to be deleted must have been selected before using method
``RsFsw.applications.k70Vsa.sense.ddemod.search.sync.name.set()`` .
"""
self._core.io.write(f'SENSe:DDEMod:SEARch:SYNC:DELete')
[docs]
def delete_with_opc(self, opc_timeout_ms: int = -1) -> None:
"""
``[SENSe]:DDEMod:SEARch:SYNC:DELete`` \n
Snippet: ``driver.applications.k70Vsa.sense.ddemod.search.sync.delete_with_opc()`` \n
Deletes a sync sequence. The sync sequence to be deleted must have been selected before using method
``RsFsw.applications.k70Vsa.sense.ddemod.search.sync.name.set()`` .
Same as delete, but waits for the operation to complete before continuing further. Use the RsFsw.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'SENSe:DDEMod:SEARch:SYNC:DELete', opc_timeout_ms)
def clone(self) -> 'SyncCls':
"""
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 = SyncCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group