Section 7: TSP command reference Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-82 2657A-901-01 Rev. B/December 2012
errorqueue.clear()
This function clears all entries out of the error queue.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
errorqueue.clear()
Details
See the Error queue (on page E-3) topic for additional information about the error queue.
Also see
Error queue (on page E-3)
errorqueue.count
(on page 7-82)
errorqueue.next()
(on page 7-82)
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.00000e+00
Also see
errorqueue.clear() (on page 7-82)
errorqueue.next()
(on page 7-82)
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