System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. C / August 2016 7-91
errorqueue.count
This attribute gets the number of entries in the error queue.
Type TSP-Link accessible Affected by Where saved Default value
Clearing error queue
Usage
count = errorqueue.count
The number of entries in the error queue
Example
print(count)
Returns the number of entries in the error
queue.
The output below indicates that there are
four entries in the error queue:
Also see
errorqueue.clear() (on page 7-90)
errorqueue.next() (on page 7-91)
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()
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 functions reads the oldest entry and
removes it from the queue.
Error codes and messages are listed in the Error summary list (on page 8-3
).
If there are no entries in the queue, code 0, "Queue is Empty" is returned.
Returned severity levels are described in the following table.