Source code for RsFsw.Implementations.Initiate.Sequencer.Immediate
from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class ImmediateCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("immediate", core, parent)
[docs]
def perform(self) -> None:
"""
``INITiate:SEQuencer:IMMediate`` \n
Snippet: ``driver.initiate.sequencer.immediate.perform()`` \n
Starts a new sequence of measurements by the Sequencer. Its effect is similar to the method
``RsFsw.applications.k10Xlte.initiate.immediate.perform()`` command used for a single measurement. Before this command
can be executed, the Sequencer must be activated (see method ``RsFsw.system.sequencer.set()`` ) .
"""
self._core.io.write(f'INITiate:SEQuencer:IMMediate')
[docs]
def perform_with_opc(self, opc_timeout_ms: int = -1) -> None:
"""
``INITiate:SEQuencer:IMMediate`` \n
Snippet: ``driver.initiate.sequencer.immediate.perform_with_opc()`` \n
Starts a new sequence of measurements by the Sequencer. Its effect is similar to the method
``RsFsw.applications.k10Xlte.initiate.immediate.perform()`` command used for a single measurement. Before this command
can be executed, the Sequencer must be activated (see method ``RsFsw.system.sequencer.set()`` ) .
Same as perform, 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'INITiate:SEQuencer:IMMediate', opc_timeout_ms)