Reading the
Error
Queue
When errors occur as a result of self-test or during operation, error
codes and messages are added to the synthesizer error queue. The
error queue can store up to 30 codes and messages on a 'first in first
out'
(FIFO)
basis.
These errors can be read out using the command: SYS:ERR?
A returned value of 0 (zero) means there are no more errors.
Refer to the SYS:ERR? entry in Chapter
5
Command Reference in
the User Manual.
Error numbers and messages are listed in Appendix E of the User's
M anu a1
.
Example program
The following BASIC 5.015.1 program executes a self-test. The
program assumes the mainframe is at a primary interface address of
09 and the synthesizer is at
a
secondary address of
11.
The program
also assumes that an
HP
9000 Series 200/300 computer is used.
10
!Send the self-test commandtothe synthesizer
20
!
30 OUTPUT70911;"*TST?"
40
!
50 !Enter and display the self test code
60
!
70 ENTER70911;A
80 PRINT
A
90
!
100
!Add code hereto interrogatethe error queue
110 if
A
is
non-zero.
Performance tests
C-5
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com