Mode

SCPI Command :

SEARch:TRIGger:PATTern:MODE
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(search: str) PatternMode[source]
# SEARch:TRIGger:PATTern:MODE
value: enums.PatternMode = driver.search.trigger.pattern.mode.get(search = 'abc')

Adds additional time limitation to the pattern definition.

Parameters:

search – String with the name of the search

Returns:

mode: OFF | TIMeout | WIDTh

  • OFF: No time limitation. The event is found if the pattern condition is fulfilled.

  • TIMeout: Defines how long the result of the pattern condition stays high or low. The duration of the timeout is defined using SEARch:TRIGger:PATTern:TIMeout[:TIME] The result state is defined using SEARch:TRIGger:PATTern:TIMeout:MODE.

  • WIDTh: Defines a time range for keeping up the true result of the pattern condition. The range is defined using SEARch:TRIGger:PATTern:WIDTh:RANGe.

set(search: str, mode: PatternMode) None[source]
# SEARch:TRIGger:PATTern:MODE
driver.search.trigger.pattern.mode.set(search = 'abc', mode = enums.PatternMode.OFF)

Adds additional time limitation to the pattern definition.

Parameters:
  • search – String with the name of the search

  • mode

    OFF | TIMeout | WIDTh

    • OFF: No time limitation. The event is found if the pattern condition is fulfilled.

    • TIMeout: Defines how long the result of the pattern condition stays high or low. The duration of the timeout is defined using SEARch:TRIGger:PATTern:TIMeout[:TIME] The result state is defined using SEARch:TRIGger:PATTern:TIMeout:MODE.

    • WIDTh: Defines a time range for keeping up the true result of the pattern condition. The range is defined using SEARch:TRIGger:PATTern:WIDTh:RANGe.