Tektronix Keithley 2651A Reference Manual page 807

High power system sourcemeter instrument
Table of Contents

Advertisement

Section 8: Troubleshooting guide
Effects of errors on scripts
Most errors do not abort a running script. The only time a script is aborted is when a Lua runtime error
(error code −286, "TSP runtime error") is detected. Runtime 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 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
errorqueue.clear()
errorqueue.count
errorqueue.next()
8-2
Model 2651A High Power System SourceMeter® Instrument Reference Manual
Description
(on page 7-98)
Clear error queue of all errors
(on page 7-98)
Number of messages in the error queue
(on page 7-99)
Request next error message from queue
2651A-901-01 Rev. C October 2021

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Keithley 2651A and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents