User manual
Chapter 2 Command System RIGOL
MSO1000Z/DS1000Z Programming Guide 2-165
:TRIGger:PULSe:WHEN
Syntax :TRIGger:PULSe:WHEN <when>
:TRIGger:PULSe:WHEN?
Description
Set or query the trigger condition in pulse width trigger.
Parameter
Name
Type
Range
Default
<when> Discrete
{PGReater|PLESs|NGReater|
NLESs|PGLess|NGLess}
PGReater
Explanation PGReater/PLESs: you need to specify a pulse width (refer
to
:TRIGger:PULSe:WIDTh). The oscilloscope triggers when the positive pulse width
of the input signal is greater/lower than the specified Pulse Width.
NGReater/NLESs: you need to specify a pulse width (refer
to
:TRIGger:PULSe:WIDTh). The oscilloscope triggers when the negative pulse width
of the input signal is greater/lower than the specified Pulse Width.
PGLess/NGLess: you need to specify an upper (refer to
:TRIGger:PULSe:UWIDth)
and a lower (refer to
:TRIGger:PULSe:LWIDth) pulse width. The oscilloscope triggers
when the positive/negative pulse width of the input signal is greater than the
specified lower pulse width and lower than the upper pulse width.
Return
Format
The query returns PGR, PLES, NGR, NLES, PGL, or NGL.
Example
:TRIGger:PULSe:WHEN NLESs /*Set the trigger condition to NLESs*/
:TRIGger:PULSe:WHEN? /*The query returns NELS*/
:TRIGger:PULSe:WIDTh
Syntax :TRIGger:PULSe:WIDTh <width>
:TRIGger:PULSe:WIDTh?
Description
Set or query the pulse width in pulse width trigger. The default unit is s.
Parameter
Name
Type
Range
Default
<width> Real 8ns to 10s
PGReater, NGReater: 1μs
PLESs, NLESs: 2μs
Explanation This command is available when the trigger condition (refer to :TRIGger:PULSe:WHEN) is
PGReater, PLESs, NGReater, and NLESs.
Return
Format
The query returns the pulse width in scientific notation.
Example
:TRIGger:PULSe:WIDTh 0.000003 /*Set the pulse width to 3μs*/
:TRIGger:PULSe:WIDTh? /*The query returns3.000000e-06*/