Series 2600B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2600BS-901-01 Rev. B / May 2013
7-83
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.00
Also see
errorqueue.clear()
(on page 7-82)
errorqueue.next()
(on page 7-83)
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
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.
Содержание System SourceMeter 2601B
Страница 841: ......