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