User manual

Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-177
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 a status or minor error. Examples: "Reading Available"
and "Reading Overflow".
20 Recoverable: Indicates possible invalid user input. The 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
TM
enabled instrument is assigned a node
number. node returns the node number where the error originated.
Details
See Error and status messages (on page 17-1) and Status Model (on page 12-1).
Also see
errorqueue.clear() (on page 13-176)
errorqueue.count (on page 13-176)
Example
Reads the oldest entry in the error queue:
errorcode, message = errorqueue.next()
print(errorcode, message)
Output: 0.000000e+00 Queue Is Empty
The above output indicates that the queue is empty.
eventlog functions and attributes
Use the functions and attributes in this group to control (read, write, enable,
count, etc.) the event log for LXI aspects.
LXI event log
The LXI event log of a Series 3700 monitors all LAN triggers that the instrument
receives or generates. The LXI event log has nine comma-delimited fields.
Below is an example entry to a LXI event log and a description of the log fields
in order of appearance.
"17:26:35.690 10 Oct 2007, LAN0, 192.168.1.102, LXI, 0,
1192037132, 1192037155.733269000, 0, 0x0"