Appendix B: Error and Status Messages
Introduction
This appendix includes information on Keithley Instruments Series 2600 System SourceMeter
error levels, how to read errors, and a complete listing of error messages.
Error summary
Error messages are listed in
•
NO_SEVERITY:
•
INFORMATIONAL:
•
RECOVERABLE:
•
SERIOUS:
•
FATAL:
Error effects on scripts
Most errors will not abort a running script. The only time a script is aborted is when a Lua run-time
error (error number -286) is detected. Run-time errors are caused by actions such as trying to
index into a variable that is not a table. Syntax errors (error number -285) in a script/command will
not technically abort the script, but it will prevent the script/command from being executed in the
first place.
Reading errors
When errors occur, the error messages will be placed in the error queue (see
Appendix D ).
information). For example, the following commands request the next complete error information
from the error queue and return the message portion of the error:
errorcode, message, severity, node = errorqueue.next()
print(message)
Table B-1
Error queue commands
Error queue command
errorqueue.clear()
errorqueue.count
errorqueue.next()
B-2
Table
B-2. Error levels are listed below:
informational status message only
informational status message only
error not serious, can be recovered
error serious, but unit still operational by correcting error
unit non-operational
Table B-1
lists commands associated with the error queue (see
Description
Clear error queue of all errors.
Number of messages in the error/event queue.
Request error message.
Return to
Section Topics
Series 2600 System SourceMeter® Instruments Reference Manual
"Queues"
in
Section 12
for more
2600S-901-01 Rev. C / January 2008
®