MDO3000 Programmer Manual.pdf - 第315页

Commands Listed in Alphabetical Order Syntax DIAg:LOOP:OPT ion:NTIMes <NR1> DIAg:LOOP:OPT ion:NTIMes? Arguments <NR1> is the number o f self- test loops. Examples DIAG:LOOP:OPT ION:NTIMES 3 sets the self-test…

100%1 / 1158
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
Commands Listed in Alphabetical Order
Examples
DIAG:RESULT:F
LAG?
might return DIAG:RESULT:FLAG PASS.
DIAg:RESUlt:LOG? (Query Only)
Returns the internal results log from the last self-test sequence execution. The
list contain
s all modules and module interfaces that were tested along with the
pass/fail status of each.
Group
Calibration and Diagnostic
Syntax
DIAg:RESUlt:LOG?
Related Commands
DIAg:RESUlt:FLAg?
Returns
<QString> in the following format:
<Status>--<Module name>[,<Status>--<Module name>..]
Examples
DIAG:RESULT:LOG? might return :DIAG:RESUL T:LOG "NOT
RUN--CPU,PASS--DISPLAY,NOT RUN--FPANEL,NOT RUN--IO,NOT
RUN--ACQ,NOT RUN--RO M,NOT RUN--APPKEY"
DIAg:SELect (No Query Form)
This command specifies which of the diagnostic groups will be tested when the
DIAg:STATE EXECute command is run.
Group
Calibration and Diagnostic
Syntax
DIAg:SELect
{ALL|APPKey|CPU|DISplay|FPAnel|IO|ROM|ACQ|RF|AFG}
Arguments
ALL runs all diagnostic groups.
APPKey runs just the application key diagnostic group.
CPU runs just the CPU diagnostic group.
DISplay runs just the display circuit diagnostic group.
FPAnel runs just the front panel diagnostic group.
2-286 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual