Specifications

RIGOL
Programming Guide for DS1000B Series
2-76
5. Pattern Trigger
Pattern trigger identifies the trigger conditions by checking the specified code.
The code is the logical combination of all the channels, each channel has three
logical values: high (H), low (L) and ignore(X).
(1) :TRIGger:PATTern:PATTern
Command Format:
:TRIGger:PATTern:PATTern<value>,<mask>,<ext source>[,<edge
source>,<edge>]
Function:
The command sets the code pattern of signals.
<value>: Code pattern values of 5 channels. It is a 16 bit unsigned integer,
and High is 1, Low is 0; for example:HHLLH is 11001, translate
into decimal system is 25.
<mask>: Indicates the mask code of channel which is denoted by the low
five digits of hexadecimal number, and separately indicates
whether the mask code is 1 or 0. The relationship between
<mask> and <value> 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, <value> will
decide whether the channel is H or L.
<ext source>:It is external trigger signal, and EXT5 is 1, EXT is 0;
<edge source>:It is the current channel, its range: 0~4;
<edge>: It is the code pattern of current channel.The rising <edge> is
1and the falling<edge> is 0.
Query Format:
:TRIGger:PATTern:PATTern?
Return 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:
:TRIGGER:PATTERN:PATTERN1,1,1,2,1 Set the code pattern.
:TRIGger:PATTern:PATTern? Return 1, 5, EXT5, Channel3, Positive.