Source code for rsmxo.Implementations.Synchronize.Load.Waveform

from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class WaveformCls:
	"""
	| Commands in total: 1
	| Subgroups: 0
	| Direct child commands: 1
	"""

	def __init__(self, core: Core, parent):
		self._core = core
		self._cmd_group = CommandsGroup("waveform", core, parent)

[docs] def set(self) -> None: """ ``SYNChronize:LOAD[:WAVeform]`` \n Snippet: ``driver.synchronize.load.waveform.set()`` \n Retrieves the waveforms of the latest acquisition from the connected oscilloscope. All selected analog channel waveforms are transferred. Digital channels and reference waveforms are not transferred. """ self._core.io.write(f'SYNChronize:LOAD:WAVeform')
[docs] def set_and_wait(self, opc_timeout_ms: int = -1) -> None: """ ``SYNChronize:LOAD[:WAVeform]`` \n Snippet: ``driver.synchronize.load.waveform.set_and_wait()`` \n Retrieves the waveforms of the latest acquisition from the connected oscilloscope. All selected analog channel waveforms are transferred. Digital channels and reference waveforms are not transferred. Same as set, but waits for the operation to complete before continuing further. Use the RsMxo.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'SYNChronize:LOAD:WAVeform', opc_timeout_ms)