Errorqueue.next() - Keithley 3700A Series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700A Series:
Table of Contents

Advertisement

Section 11: TSP command reference

errorqueue.next()

This function reads the oldest entry from the error queue and removes it from the queue.
Type
TSP-Link accessible
Function
Yes
Usage
errorCode, message, severity, errorNode = errorqueue.next()
errorCode
message
severity
errorNode
Details
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 the
If there are no entries in the queue, code 0, "Queue is Empty" is returned.
Returned severity levels are described in the following table.
Severity level descriptions
Number
0
10
20
30
40
In an expanded system, each TSP-Link enabled instrument is assigned a node number. The variable
errorNode stores the node number where the error originated.
Example
errorcode, message = errorqueue.next()
print(errorcode, message)
Also see
Error Available Bit (Error or Event queue)
errorqueue.clear()
errorqueue.count
Error summary list
11-236
Affected by
The error code number for the entry
The message that describes the error code
The severity level (0, 10, 20, 30, or 40); see Details for more information
The node number where the error originated
Level
Description
Informational
Indicates that there are no entries in the queue.
Informational
Indicates a status message or minor error.
Recoverable
Indicates possible invalid user input; operation continues but action
should be taken to correct the error.
Serious
Indicates a serious error that may require technical assistance, such as
corrupted data.
Fatal
Instrument is not operational.
(on page C-8)
(on page 11-235)
(on page 11-235)
(on page 12-9)
Series 3700A System Switch/Multimeter Reference Manual
Where saved
Default value
Error summary list
(on page 12-9).
Reads the oldest entry in the error queue. The
output below indicates that the queue is empty.
Output:
0.00000e+00 Queue Is Empty
3700AS-901-01 Rev. D/June 2018

Advertisement

Table of Contents
loading

Table of Contents