User manual
Section 12: Status Model Series 3700 System Switch/Multimeter Reference Manual
12-26 3700S-901-01 Rev. C / July 2008
Error queue
The error queue holds error and status messages. When an error or status
event occurs, a message that defines the error or status is placed in the error
queue and the error available (EAV) bit in the status byte register is set. An error
or status message is cleared from the error queue when it is read. The error
queue is considered cleared when it is empty. An empty error queue clears the
EAV bit in the status byte register.
The commands to control the error queue are listed in the following table. 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. When empty, the error number 0 and "No Error" are placed in the queue.
Messages in the error queue include a code number, message text, severity,
and TSP-Link
TM
node number.
Error queue command
Description
errorqueue.clear()
Clear error queue of all errors.
errorqueue.count
Number of messages in the error/event
queue.
errorcode, message, severity,
node = errorqueue.next()
Request error code, text message,
severity, and TSP-Link node number.