RIGOL Command Systems
Programming Guide for DS1000B Series
PATTern Trigger
1. :TRIGger:PATTern:PATTern
Command Format:
:TRIGger:PATTern:PATTern <value>,<mask>,<ext source>[,<edge
source>,<edge>]
:TRIGger:PATTern:PATTern?
Function:
The command sets the code pattern of signals.
<value>:
Code pattern values of the channels. It is a 16 bit unsigned integer (High is
1, Low is 0).
<mask>:
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 <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(CH1), 1(CH2), 2(CH3), 3(CH4),
4(EXT5);
<edge>:
It is the code pattern of current channel. The rising <edge> is 1and the
falling<edge> is 0.
NOTE: The priority of <edge> is higher than <mask>.
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.