![background image](http://html2.mh-extra.com/html/keithley/2657a/2657a_reference-manual_4007750687.webp)
Section 8: Troubleshooting guide
Model 2657A High Power System SourceMeter® Instrument Reference Manual
8-2
2657A-901-01 Rev. B/December 2012
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 code -286, "TSP runtime error") 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 code -285, "Program syntax" ) in a script or command will prevent execution of
the script or command.
Retrieving errors
When errors occur, the error messages are placed in the error queue. Use
errorqueue
commands
to request error message information. For example, the following commands request the complete
set of information about the next message in the error queue. They return the code, message,
severity, and node for that error:
errorCode, message, severity, errorNode = errorqueue.next()
print(errorcode, message, severity, errorNode)
The following table lists the commands associated with the error queue.
Remote commands associated with the error queue
Command Description
Clear error queue of all errors
Number of messages in the error queue
(on page 7-82)
Request next error message from queue
Содержание 2657A
Страница 3: ......