Source code for RsSmw.Implementations.Diagnostic.Debug.Page

from typing import List

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


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

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

[docs] def set(self) -> None: """ ``DIAGnostic<HW>:DEBug:PAGE`` \n Snippet: ``driver.diagnostic.debug.page.set()`` \n No help available """ self._core.io.write(f'DIAGnostic<HwInstance>:DEBug:PAGE')
[docs] def set_with_opc(self, opc_timeout_ms: int = -1) -> None: """ ``DIAGnostic<HW>:DEBug:PAGE`` \n Snippet: ``driver.diagnostic.debug.page.set_with_opc()`` \n No help available Same as set, but waits for the operation to complete before continuing further. Use the RsSmw.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'DIAGnostic<HwInstance>:DEBug:PAGE', opc_timeout_ms)
[docs] def get_catalog(self) -> List[str]: """ ``DIAGnostic<HW>:DEBug:PAGE:CATalog`` \n Snippet: ``value: List[str] = driver.diagnostic.debug.page.get_catalog()`` \n No help available """ response = self._core.io.query_str('DIAGnostic<HwInstance>:DEBug:PAGE:CATalog?') return Conversions.str_to_str_list(response)