Instructions

RIGOL Chapter 2 Command System
2-174 MSO5000-E Programming Guide
pattern. When all the channels are set to X, the oscilloscope will not trigger.)
Return
Format
The query returns the currently set pattern of all the channels. The channels are
separated by commas.
Example :TRIGger:DURATion:TYPE L,X /*Sets the patterns of "CH1 to CH2" to L,X. Other
channel pattern remains unchanged.*/
:TRIGger:DURATion:TYPE? /*The query returns
L,X, X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X.*/
:TRIGger:DURATion:WHEN
Syntax :TRIGger:DURATion:WHEN <when>
:TRIGger:DURATion:WHEN?
Description
Sets or queries the trigger condition of Duration trigger.
Parameter
Name
Type
Range
Default
<when>
Discrete
{GREater|LESS|GLESs|UNGLess}
GREater
Remarks GREater: triggers when the set duration time of the pattern is greater than the preset
time.
LESS: triggers when the set duration time of the pattern is smaller than the preset
time.
GLESs: triggers when the set duration time of the pattern is smaller than the preset
upper time limit and greater than the preset lower time limit.
UNGLess: triggers when the set duration time of the pattern is greater than the
preset upper time limit and smaller than the preset lower time limit.
Return
Format
The query returns GRE, LESS, GLES, or UNGL.
Example
:TRIGger:DURATion:WHEN LESS /*Sets the trigger condition to LESS.*/
:TRIGger:DURATion:WHEN? /*The query returns LESS.*/
:TRIGger:DURATion:TUPPer
Syntax :TRIGger:DURATion:TUPPer <time>
:TRIGger:DURATion:TUPPer?
Description Sets or queries the upper limit of the duration time of Duration trigger. The default unit is
s.
Parameter
Name
Type
Range
Default
<time>
Real
800 ps to 10 s
2 μs
Remarks
This command is only available when the trigger conditions are LESS and GLESs.
Return
Format
The query returns the upper limit of the duration time in scientific notation.
Example
:TRIGger:DURATion:TUPPer 0.000003 /*Sets the upper limit of the duration time to 3
μs.*/
:TRIGger:DURATion:TUPPer? /*The query returns 3.000000E-6.*/