Source code for RsSmw.Implementations.System.Information.Test

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


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

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

[docs] def get_sequence(self) -> bytes: """ ``SYSTem:INFormation:TEST:SEQuence`` \n Snippet: ``value: bytes = driver.system.information.test.get_sequence()`` \n No help available """ response = self._core.io.query_bin_block('SYSTem:INFormation:TEST:SEQuence?') return response
[docs] def set_sequence(self, syst_info_test_sequence: bytes) -> None: """ ``SYSTem:INFormation:TEST:SEQuence`` \n Snippet: ``driver.system.information.test.set_sequence(syst_info_test_sequence = b'ABCDEFGH')`` \n No help available """ self._core.io.write_bin_block('SYSTem:INFormation:TEST:SEQuence ', syst_info_test_sequence)
[docs] def get_state(self) -> bool: """ ``SYSTem:INFormation:TEST:STATe`` \n Snippet: ``value: bool = driver.system.information.test.get_state()`` \n No help available """ response = self._core.io.query_str('SYSTem:INFormation:TEST:STATe?') return Conversions.str_to_bool(response)