MDO3000 Programmer Manual.pdf - 第314页
Commands Listed in A lphabetical Order DESkew:DISPl ay This command specifies the state of the deskew table display . Group V ertical Syntax DESkew:DISPla y {OFF|ON|0| 1} DESkew:DISPla y? Arguments OFF or 0 turns off the …

Commands Listed in Alphabetical Order
Group
Status and Erro
r
Syntax
DESE <N R1>
DESE?
Related Commands
*CLS, *ESE, *ES
R?, EVENT?, EVMsg?, *SRE, *STB?
Arguments
<NR1> sets the binary bits of the DESER according to this value, which ranges
from 1 through 255. For example, DESE
209 sets the DESER to the binary value
11010001 (that is, the most significant bit in the register is set to 1, the next most
significant bit to 1, the next bit to 0, etc.).
The power-on default for DESER is all bits set if *PSC is 1. If *PSC is 0, the
DESER maintains the previous power cycle value through the current power cycle.
NOTE. Setting the DESER and ESER to the same value allows only those codes
to be entered into the Event Queue and summarized on the ESB bit (bit 5) of the
Status Byte Register. Use the *ESE commandtosettheESER.
Examples
DESE 209 sets the DESER to binary 11010001, which enables the PON, URQ,
EXE and OPC bits.
DESE? might return:DESE 186, showing that the DESER contains the binary
value 10111010.
DESkew (No Query Form)
Causes the deskew values for all channels to be set to the recommended values.
Equivalent to pressing the "Set all deskews to recommended values" button in
the application UI.
NOTE. The actual deskew values for each channel can be set or queried using the
CH<x>:DESKew command.
Group
Vertical
Syntax
DESkew {SETALLtorec}
Arguments
<SETALLtorec> sets the deskew for all channels to the recommended values.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-283

Commands Listed in Alphabetical Order
DESkew:DISPl
ay
This command specifies the state of the deskew table display.
Group
Vertical
Syntax
DESkew:DISPlay {OFF|ON|0|1}
DESkew:DISPlay?
Arguments
OFF or 0 turns off the deskew table display.
ON or 1 turns on the deskew table display.
DIAg:LOOP:OPTion
Sets the self-test loop option.
Group
Calibration and Diagnostic
Syntax
DIAg:LOOP:OPTion {ALWAYS|FAIL|ONFAIL|ONCE|NTIMES}
Arguments
ALWAYS continues looping until the self tests (diagnostics) are stopped via the
front panel or by an oscilloscope command.
FAIL causes looping until the first self test (diagnostic) failure or until self tests
(diagnostics) are stopped.
ONFAIL causes looping on a specific test group as long as a FAIL status is
returned from the test.
ONCE executes self test (diagnostics test) sequence once.
NTIMES runs “n” number of loops.
Examples
DIAG:LOOP:OPTION ONCE runs one loop of self tests.
DIAg:LOOP:OPTion:NTIMes
Sets the self-test loop option to run N times.
Group
Calibration and Diagnostic
2-284 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
Syntax
DIAg:LOOP:OPT
ion:NTIMes <NR1>
DIAg:LOOP:OPTion:NTIMes?
Arguments
<NR1> is the number of self-test loops.
Examples
DIAG:LOOP:OPTION:NTIMES 3 sets the self-test loop to run three times.
DIAG:LOOP:OPTION:NTIMES? might return :DIAG:L OOP:OPTION:NTIMES 5,
indicating the self-test loop is set to run five times.
DIAg:LOOP:STOP (No Query Form)
Stops the self-test at the end of the current loop.
Group
Calibration and Diagnostic
Syntax
DIAg:LOOP:STOP
Examples
DIAG:LOOP:STOP stops the self test at the end of the current loop.
DIAg:RESUlt:FLAg? (Query Only)
Returns the pass/fail status from the last self-test sequence execution. Use this
query to determine which test(s) has failed.
Group
Calibration and Diagnostic
Syntax
DIAg:RESUlt:FLAg?
Related Commands
DIAg:RESUlt:LOG?
Returns
PASS indicates that all of the selected self (diagnostic) tests have passed.
FAIL indicates that at least one of the selected self (diagnostic) tests has failed.
IN PROG RESS indicates that at least one of the selected self (diagnostic) tests is
ongoing.
NOT RUN indicates that the selected diagnostic test suite has not been run since
the instrument was powered on.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-285