MDO3000 Programmer Manual.pdf - 第316页

Commands Listed in A lphabetical Order Examples DIAG:RESULT:F LAG? might return DIAG:RESULT :FLAG PASS . DIAg:RESUlt:LOG? (Query Only) Returns the internal results log fro m the last self-te st sequence executi on. The l…

100%1 / 1158
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
Commands Listed in Alphabetical Order
IO runs just the
IO board diagnostic group.
ROM runs just the ROM board diagnostic group.
ACQ runs just the acquisition system diagnostic group.
RF runs just the RF system diagnostic group (MDO models only).
AFG runs just the AFG system diagnostic group (models with AFG hardware).
DIAg:SELe
ct:<function> (No Query Form)
This command specifies which of the subsystems will be tested when the
DIAg:STATE EXECute command is run.
Group
Calibration and Diagnostic
Syntax
DIAg:SELect:<function>
Related Commands
DIAg:STATE EXECute
Arguments
<function> specifies a single oscilloscope subsystem on which to run self tests
(diagnostics). Valid values are:
ACQ tests the acquisition system.
APPKey tests the application keys.
CPU tests the CPU.
DISplay tests the display.
FPAnel tests the front panel controls.
IO tests the IO ports.
ROM tests the system read only memory.
Examples
DIAG:SELECT:CPU specifies that the oscilloscope will test the CPU when the
diagnostic test is run.
DIAG:STATE EXECute will actually run the test.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-287