MDO3000 Programmer Manual.pdf - 第422页
Commands Listed in A lphabetical Order Related Commands MASK:TESt:ST A TE , MASK:TESt:COMPLetion:CRIT erion Arguments ON turns on this feature, so that upon the c ompletion of a mask test, the instru ment will send an SR…

Commands Listed in Alphabetical Order
Conditions
This command re
quires a DPO4LMT application module for 4000 series models,
and an MDO3LMT application module for MDO3000 series models.
Group
Mask
Syntax
MASK:TESt:SAVEWFM {ON|OFF|<NR1>}
MASK:TESt:SAVEWFM?
Related Commands
MASK:TESt:STATE,
FILESystem:MKDir
Arguments
ON turns on this feature, so that waveform data from all active channels is copied
to files upon test failure.
OFF turns off this feature.
<NR1> is an integer. 0 turns off this feature; any other value turns it on.
Examples
MASK:TEST:SAVEWFM ON sets the instrument to save the failing waveform data
to a file.
MASK:TESt:SRQ:COMPLetion
This command causes the instrument to send an SRQ command when a pass/fail
mask test completes. Use the command MASK:TESt:COMPLetion:CRITerion to
specify criterion.
A series of examples showing how to use mask commands for t
ypical tasks
is included in an appendix. (See page E-1, Mask/Limit Command Sequence
Examples.)
NOTE. NOTE: SRQ generation requires that the SRER ESB bit is 1 (*SRE 32)
and the ESER OPC bit is 1 (*ESE 1).
Conditions
This command requires a DPO4LMT application module for 4000 series models,
and an MDO3LMT application module for MDO3000 series models.
Group
Mask
Syntax
MASK:TESt:SRQ:COMPLetion {ON|OFF|<NR1>}
MASK:TESt:SRQ:COMPLetion?
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-391

Commands Listed in Alphabetical Order
Related Commands
MASK:TESt:STA
TE,
MASK:TESt:COMPLetion:CRITerion
Arguments
ON turns on this feature, so that upon the completion of a mask test, the instrument
will send an SRQ command (if registers are set to send SRQ when OPC is
asserted. (See page 3-1, Registers.))
OFF turns off this feature.
<NR1> is an integer. 0 turns off this feature; any other integer turns it on.
Examples
MASK:TESt:SRQ:COMPLetion ON sends an SRQ command upon test
completion.
MASK:TESt:SRQ:COMPLetion? might return 0, indicating the instrument is not
settosendanSRQcommandupon test completion.
MASK:TESt:SRQ:FAILure
This command causes the instrument to send an SRQ command when a pass/fail
mask test fails.
A series of examples showing how to use mask commands for typical tasks
is included in an appendix. (See page E-1, Mask/Limit Command Sequence
Examples.)
Conditions
This command requires a DPO4LMT application module for 4000 series models,
andanMDO3LMTapplicat
ion module for MDO3000 series models.
Group
Mask
Syntax
MASK:TESt:SRQ:FAILure {ON|OFF|<NR1>}
MASK:TESt:SRQ:FAILure?
Related Commands
MASK:TESt:STATE,
MASK:TESt:COMPLetion:CRITerion
Arguments
ON turns on this feature, so that when a mask test fails, the instrument will send
an SRQ command (if registers are set to send SRQ when OPC is asserted. (See
page 3-1, Registers.)).
OFF turns off this feature.
2-392 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
<NR1> is an inte
ger. 0 turns off this feature; any other integer turns it on.
Examples
MASK:TEST:SRQ:FAILURE? might return :MASK:TEST:SRQ:FAILURE 1,
indicating that the pass/fail SRQ on failure is turned on.
MASK:TESt:STATE
This command turns the pass/fail mask test on or off. Most of the other
MASK:TEST commands need to be executed before this command.
NOTE. To ensure that Mask commands are enabled, use the command
APPLication:TYPe LIMITMask.
A series of examples showing how to use mask commands for typical tasks
is included in an appendix. (See page E-1, Mask/Limit Command Sequence
Examples.)
Conditions
This command requires a DPO4LMT application module for 4000 series models,
and an MDO3LMT application module for MDO3000 series models.
Group
Mask
Syntax
MASK:TESt:STATE {ON|OFF|<NR1>}
MASK:TESt:STATE?
Related Commands
MASK:TESt:WAVEform
Arguments
ON turns the mask test on.
OFF turns the mask test off.
<NR1> is an integer. 0 turns the mask test off; any other integer turns it on
.
Examples
MASK:TESt:STATE ON starts the mask test.
MASK:TESt:STATus? (Query Only)
This command indicates the result of a pass/fail mask test.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-393