Appendix C: Status model
Models 707B and 708B Switching Matrix Reference Manual
C-8
707B-901-01 Rev. B / January 2015
The following sequence outlines typical events associated with this queue:
1. When an error or status event occurs, a message defining the error (or status) is placed in the
Error queue.
2. The Error Available (EAV) bit in the Status Byte Register is set.
3. Through programming, the error (or status) message is read. This clears the error (or status) from
the Error Queue. The Error queue is considered cleared when it is empty.
4. An empty Error queue clears the EAV bit in the Status Byte Register.
The commands to control the Error queue are listed below. When you read a single message in the
Error queue, the oldest message is read and then removed from the queue. On power-up, the Error
queue is initially empty. If there are problems detected during power-on, entries will be placed in the
queue. If no problems are detected, the error number
0
and “
No Error
” will be returned.
Error queue command
Description
errorqueue.clear()
Clear error queue of all errors.
errorqueue.count
Number of messages in the error/event
queue.
errorqueue.next()
Request error message.
Messages in the Error queue include a code number, message text, severity, and TSP-Link node
number. For example, the following commands request the next complete error information from the
error queue and displays the code, message, severity and node of the next error:
errorcode, message, severity, errornode = errorqueue.next()
print(errorcode, message, severity, errornode)
The error messages, as well as error numbers, are listed in the Error summary list.
Questionable summary bit (Questionable event register)
The summary bit of the questionable event register provides enabled summary information to Bit B3
(QSB) of the status byte.
Figure 107: Questionable summary bit (Questionable event register)