Errorqueue.next() - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Model 2651A High Power System SourceMeter® Instrument Reference Manual

errorqueue.next()

This function reads the oldest entry from the error queue and removes it from the queue.
Type
TSP-Link accessible
Function
Yes
Usage
errorCode, message, severity, errorNode = errorqueue.next()
errorCode
message
severity
errorNode
Details
Entries are stored in a first-in, first-out (FIFO) queue. This functions reads the oldest entry and removes it from
the queue.
Error codes and messages are listed in the
If there are no entries in the queue, code 0, "Queue is Empty" is returned
Returned severity levels are described in the following table.
Severity level descriptions
Number
0
10
20
30
40
In an expanded system, each TSP-Link enabled instrument is assigned a node number. The variable
errorNode stores the node number where the error originated.
Example
errorcode, message = errorqueue.next()
print(errorcode, message)
2651A-901-01 Rev. A / March 2011
Affected by
The error code number for the entry
The message that describes the error code
The severity level (0, 10, 20, 30, or 40); see Details for more information
The node number where the error originated
Level
Description
Indicates that there are no entries in the queue.
Informational
Indicates a status message or minor error.
Informational
Indicates possible invalid user input; operation continues but action
Recoverable
should be taken to correct the error.
Indicates a serious error that may require technical assistance, such as
Serious
corrupted data.
Indicates that the Model 2651A is nonoperational and requires service.
Fatal
Contact information for service is provided at the front of this manual.
Examples: "Bad SMU AFPGA image size," "SMU is unresponsive," and
"Communication Timeout with DFPGA."
Where saved
Error and status messages
Reads the oldest entry in the error queue. The
output below indicates that the queue is empty.
Output:
0.00000e+00 Queue Is Empty
Section 7: Command reference
Default value
(on page 2-80) topics.
7-77

Advertisement

Table of Contents
loading

Table of Contents