Errorqueue Functions And Attributes - Keithley 3700 series Reference Manual

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

Advertisement

Series 3700 System Switch/Multimeter Reference Manual

errorqueue functions and attributes

Use the functions and attributes in this group to read the entries in the error/event queue.
errorqueue.clear
Function
Usage
Remarks
Details
Also see
errorqueue.count
Attribute
Usage
Remarks
Details
Also see
Example
errorqueue.next
Function
Usage
Document Number: 3700S-901-01 Rev. A / August 2007
Clears all entries out of the error/event queue.
errorqueue.clear()
This function removes all entries from the error/event queue.
See
Error and status messages
(on page 8-1).
errorqueue.count
(on page 9-123),
The number of entries in the error/event queue.
count = errorqueue.count
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.
See
Error and status messages
(on page 8-1).
errorqueue.clear
(on page 9-123),
Reads number of entries in the error/event queue:
count = errorqueue.count
print(count)  4.000000e+00
The above output indicates that there are four entries in the event/error queue.
Reads an entry from the error/event queue.
errorcode, message, severity, node =
errorqueue.next()
errorcode: Returns the error code number for the entry.
message: Returns the message that describes the entry.
severity: Returns the severity level (0, 10, 20, 30 or 40).
node: Returns the node number where the error originated.
Section 9: Instrument Control Library (ICL)
(see "Error codes" on page 13-1) and
errorqueue.next
(on page 9-123)
(see "Error codes" on page 13-1) and
errorqueue.next
(on page 9-123)
Status Model
Status Model
9-123

Advertisement

Table of Contents
loading

Table of Contents