
Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-124
Document Number: 3700S-901-01 Rev. A / August 2007
errorqueue.next
Remarks
Entries are stored in a first-in, first-out (FIFO) queue. This function reads the oldest
entry and removes it from the queue.
Error codes and messages are listed in order.
If there are no entries in the queue, code 0, "Queue Is Empty" is returned.
Returned severity levels include the following:
0 Informational:
Indicates no error: "Queue is Empty".
10 Informational:
Indicates an event or a minor error. Examples: "Reading Available"
and "Reading Overflow".
20 Recoverable:
Indicates possible invalid user input. Operation will continue but
action should be taken to correct the error. Examples: "Exponent Too Large" and
"Numeric Data Not Allowed".
30 Serious:
Indicates a serious error and may require technical assistance. Example:
"Saved calibration constants corrupted".
40 Fatal:
Indicates that the Series 3700 is non-operational and will require service.
Contact information for service is provided at the front of this manual.
In an expanded system, each TSP-Link enabled instrument is assigned a node
number.
node
returns the node number where the error originated.
Details
See
Error and status messages
(see "Error codes" on page 13-1) and
Status Model
(on page 8-1).
Also see
errorqueue.clear
(on page 9-123),
errorqueue.count
(on page 9-123)
Example
Reads the oldest entry in the error/event queue:
errorcode, message = errorqueue.next()
print(errorcode, message)
Output: 0.00 Queue Is Empty
The above output indicates that the queue is empty.