Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-89
errorqueue.next()
This function reads the oldest entry from the error queue and removes it from the queue.
Usage
errorCode, message, severity, errorNode = errorqueue.next()
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
Details
Entries are stored in a first-in, first-out (FIFO) queue. This function reads the oldest entry and
removes it from the queue.
Error codes and messages are listed in the Error summary list (on page 6-2).
If there are no entries in the queue, code 0, Queue is Empty, is returned.
Returned severity levels are described in the following table.
The message is information only. This level is used when the error
queue is empty; the message does not represent an error.
The message is information only. This level is used to indicate status
changes; the message does not represent an error.
The error was caused by improper use of the instrument or by
conditions that can be corrected. This message indicates that an error
occurred. The instrument is still operating normally.
There is a condition that prevents the instrument from functioning
properly. The message indicates that the instrument is presently
operating in an error condition. If the condition is corrected, the
instrument returns to normal operation.
There is a condition that cannot be corrected that prevents the
instrument from functioning properly. Disconnect the DUT and turn the
power off and then on again. If the error is a hardware fault that
persists after cycling the power, the instrument must be repaired.
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. The errorNode is always 1 on the
2604B/2614B/2634B.
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.00000e+00 Queue Is Empty