Instructions

RIGOL Chapter 2 Command System
2-140 DS1000Z-E Programming Guide
:TRIGger:PATTern
Command List:
:TRIGger:PATTern:PATTern
:TRIGger:PATTern:LEVel
:TRIGger:PATTern:PATTern
Syntax :TRIGger:PATTern:PATTern <pa_ch1>[,<pa_ch2>]
:TRIGger:PATTern:PATTern?
Description
Set or query the pattern of each channel in pattern trigger.
Parameter
Name
Type
Range
Default
<pa_ch1>
Discrete
{H|L|X|R|F}
X
<pa_ch2>
Discrete
{H|L|X|R|F}
X
Explanation <pa_ch1> and <pa_ch2> set the patterns of analog channels CH1 and CH2.
Users can send 2 parameters to set the pataterns of two channels. Users can also
omit the parameter <pa_ch2> to set the pattern of CH1 (the pattern state of the CH2
remains unchanged).
In the range of the parameter, H represents high level (higher than the threshold
level of the channel). L represents low level (lower than the threshold level of the
channel). X denotes that this channel is ignored (this channel is not used as a part of
the pattern. When all the channels in the pattern are set to X, the oscilloscope will not
trigger). R represents the rising edge and F represents the falling edge (in the
pattern, only a single rising edge or falling edge can be defined. If an edge item is
currently defined and then another edge item is defined in another channel in the
pattern, the former edge item defined will be replaced by X).
Please distinguish "omit parameter" from "ignore channel". The former means that
the parameters corresponding to some channels are not sent when sending the
command and the pattern states of these channels remain unchanged. The latter
means that the channel is set to X when sending the command and the state of this
channel is ignored when the instrument judges the patterns.
Return
Format
The query returns the patterns of all the channels (2). The patterns of multiple channels
are separated by commas.
Example :TRIGger:PATTern:PATTern H,R,L,X /*Set the pattern of CH1 to H. The pattern of CH2
remains unchanged*/
:TRIGger:PATTern:PATTern? /*The query returns H,X*/