![background image](http://html2.mh-extra.com/html/keithley/sourcemeter-2601/sourcemeter-2601_reference-manual_4018913295.webp)
2600S-901-01 Rev. C / January 2008
Return to
12-35
Series 2600 System SourceMeter® Instruments Reference Manual
Section 12: Instrument Control Library
errorqueue functions and attribute
The functions and attribute in this group are used to read the entries in the error/event queue.
Example
The following code will hold up script execution and wait for the operator to press a key or
the wheel, or rotate the wheel:
key = display.waitkey()
print(key)
Output:
8.01
The above output (86) indicates that the
MEAS (A)
key was pressed.
errorqueue.clear
Function
Clears all entries out of the error/event queue.
Usage
errorqueue.clear()
Remarks
This function removes all entries from the error/event queue.
Details
See
(error and status messages) and
(status model).
Also see
errorqueue.count
Attribute
The number of entries in the error/event queue.
Usage
count = errorqueue.count
Remarks
This attribute can be read to determine the number of messages in the error/event queue.
This is a read-only attribute. Writing to this attribute will generate an error.
Details
See
(error and status messages) and
(status model).
Also see
,
Example
Reads number of entries in the error/event queue:
count = errorqueue.count
print(count)
Output:
4.00
The above output indicates that there are four entries in the event/error queue.