Range

SCPI Command :

SEARch:TRIGger:WINDow:RANGe
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(search: str) WindowRangeMode[source]
# SEARch:TRIGger:WINDow:RANGe
value: enums.WindowRangeMode = driver.search.trigger.window.range.get(search = 'abc')

Selects how the signal run is compared with the window.

Parameters:

search – Search definition

Returns:

range_mode: ENTer | EXIT | WITHin | OUTSide

  • ENTer: Triggers when the signal crosses the upper or lower level and thus enters the window made up of these two levels.

  • EXIT: Triggers when the signal leaves the window.

  • WITHin: Triggers if the signal stays between the upper and lower level for a specified time. The time is defined in various ways by the SEARch:TRIGger:WINDow:TIMerange command.

  • OUTSide: Triggers if the signal stays above the upper level or below the lower level for a specified time. The time is also defined by the SEARch:TRIGger:WINDow:TIMerange command.

set(search: str, range_mode: WindowRangeMode) None[source]
# SEARch:TRIGger:WINDow:RANGe
driver.search.trigger.window.range.set(search = 'abc', range_mode = enums.WindowRangeMode.ENTer)

Selects how the signal run is compared with the window.

Parameters:
  • search – Search definition

  • range_mode

    ENTer | EXIT | WITHin | OUTSide

    • ENTer: Triggers when the signal crosses the upper or lower level and thus enters the window made up of these two levels.

    • EXIT: Triggers when the signal leaves the window.

    • WITHin: Triggers if the signal stays between the upper and lower level for a specified time. The time is defined in various ways by the SEARch:TRIGger:WINDow:TIMerange command.

    • OUTSide: Triggers if the signal stays above the upper level or below the lower level for a specified time. The time is also defined by the SEARch:TRIGger:WINDow:TIMerange command.