Model 2651A High Power System SourceMeter® Instrument Reference Manual
Section 7: Command reference
2651A-901-01 Rev. A / March 2011
7-77
errorqueue.next()
This function reads the oldest entry from the error queue and removes it from the queue.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
Usage
errorCode
,
message
,
severity
,
errorNode
= errorqueue.next()
errorCode
The error code number for the entry
message
The message that describes the error code
severity
The severity level (0, 10, 20, 30, or 40); see
Details
for more information
errorNode
The node number where the error originated
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
(on page 2-80) topics.
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
Level
Description
0
Informational
Indicates that there are no entries in the queue.
10
Informational
Indicates a status message or minor error.
20
Recoverable
Indicates possible invalid user input; operation continues but action
should be taken to correct the error.
30
Serious
Indicates a serious error that may require technical assistance, such as
corrupted data.
40
Fatal
Indicates that the Model 2651A is nonoperational and requires service.
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.”
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)
Reads the oldest entry in the error queue. The
output below indicates that the queue is empty.
Output:
0.00 Queue Is Empty