![background image](http://html2.mh-extra.com/html/keithley/2657a/2657a_reference-manual_4007750769.webp)
Model 2657A High Power System SourceMeter® Instrument Reference Manual
Appendix E: Status model
2657A-901-01 Rev. B/December 2012
E-3
Error queue
The error queue holds error and status messages. As programming errors and status messages
occur, a message that defines the error or status is placed in the error queue.
An error or status message is cleared from the error queue when it is read. You can also clear the
error queue by sending the command
errorqueue.clear()
. An empty error queue clears the error
available (EAV) bit in the Status Byte Register.
Messages in the error queue include a code number, message text, severity, and TSP-Link
®
node
number. See
(on page 8-3) for a list of the messages.
When you read a single message from the error queue, the oldest message is read. If you attempt to
read the error queue when it is empty, error 0, "Queue Is Empty" is returned.
The commands that can be used to control the error queue are listed below.
Error queue commands
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, errorNode =
errorqueue.next()
Request error code, text message, severity, and TSP-Link node
number.
Содержание 2657A
Страница 3: ......