beautypg.com

Pattern trigger, Pattern trigger -38, Trigger:pattern:pattern – RIGOL DS1000B User Manual

Page 50

background image

RIGOL

Command Systems

Programming Guide for DS1000B Series

2-38

PATTern Trigger


1. :TRIGger:PATTern:PATTern

Command Format:
:TRIGger:PATTern:PATTern ,,[,source>,]
:TRIGger:PATTern:PATTern?

Function:
The command sets the code pattern of signals.

:

Code pattern values of the channels. It is a 16 bit unsigned integer (High is
1, Low is 0).

:

Mask code of the channels. It is a 16 bit unsigned integer (enable is 1, X is
0) which indicates whether the mask code is 1 or 0. The relationship
between and is "And" , if the mask of a channel is 0,
which denotes this channel is ineffective and the corresponding setting of
oscilloscope is "X"; if the mask is 1, will decide whether the
channel is H or L.

:

It is external trigger signal, and EXT5 is 1, EXT is 0;

:

It is the current channel, its range: 0(CH1), 1(CH2), 2(CH3), 3(CH4),
4(EXT5);

:

It is the code pattern of current channel. The rising is 1and the
falling is 0.

NOTE: The priority of is higher than .

Returned Format:
The query returns the value, the mask, the ext source, the edge source and the
edge. The value and the mask are expressed in decimal.

Example:
:TRIG:PATT:PATT 31,31,1,2,1 Set the code pattern.
:TRIG:PATT:PATT?

Return 27, 31, EXT5, Channel3, Positive.