Source code for rsrtx.Implementations.Search.Trigger.UsbThree.Imax

from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal.Types import DataType
from .....Internal.ArgSingleList import ArgSingleList
from .....Internal.ArgSingle import ArgSingle


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

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

[docs] def set(self, search: str, frame: str, field: str, data: int) -> None: """ ``SEARch:TRIGger:USBThree:IMAX`` \n Snippet: ``driver.search.trigger.usbThree.imax.set(search = 'abc', frame = 'abc', field = 'abc', data = 1)`` \n Sets the end value of an index range if method ``RsRtx.search.trigger.usbThree.frame.fld.ioperator.set()`` is set to INRange or RANGe. """ param = ArgSingleList().compose_cmd_string(ArgSingle('search', search, DataType.String), ArgSingle('frame', frame, DataType.String), ArgSingle('field', field, DataType.String), ArgSingle('data', data, DataType.Integer)) self._core.io.write(f'SEARch:TRIGger:USBThree:IMAX {param}'.rstrip())