Source code for rsrtx.Implementations.Search.Trigger.UsbPd.Dmin

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 DminCls:
	"""
	| Commands in total: 1
	| Subgroups: 0
	| Direct child commands: 1
	"""

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

[docs] def set(self, search: str, frame: str, field: str, data: str) -> None: """ ``SEARch:TRIGger:USBPd:DMIN`` \n Snippet: ``driver.search.trigger.usbPd.dmin.set(search = 'abc', frame = 'abc', field = 'abc', data = 'abc')`` \n Specifies the data pattern to be searched, or sets the start value of a data pattern range to be searched. """ param = ArgSingleList().compose_cmd_string(ArgSingle('search', search, DataType.String), ArgSingle('frame', frame, DataType.String), ArgSingle('field', field, DataType.String), ArgSingle('data', data, DataType.String)) self._core.io.write(f'SEARch:TRIGger:USBPd:DMIN {param}'.rstrip())