Section 7: Command reference
errorqueue.count
This attribute gets the number of entries in the error queue.
Type
TSP-Link accessible
Attribute (R)
Yes
Usage
count = errorqueue.count
count
Example
count = errorqueue.count
print(count)
Also see
errorqueue.clear()
errorqueue.next()
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.
Error codes and messages are listed in order of occurrence.
Returned severity levels are described in the following table.
7-86
Affected by
Power cycle
Clearing error queue
Reading error messages
The number of entries in the error queue
(on page 7-85)
(on page 7-86)
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.
Models 707B and 708B Switching Matrix Reference Manual
Where saved
Default value
Not applicable
Not applicable
Returns the number of entries in the error
queue.
The output below indicates that there are
four entries in the error queue:
4.0000000e+00
Where saved
Default value
707B-901-01 Rev. A / August 2010