EasyManua.ls Logo

Keithley 2450 - Page 586

Keithley 2450
878 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Model 2450
Interactive SourceMeter® Instrument Reference Manual Section 8:
TSP command reference
2450-901-01 Rev. B/September 2013 8-55
eventlog.next()
This function returns the oldest message from the event log and removes it from the log.
Type TSP-Link accessible
Affected by Where saved Default value
Function
Yes
Usage
eventNumber, message, severity, nodeID, timeSeconds, timeNanoSeconds =
eventlog.next()
eventNumber, message, severity, nodeID, timeSeconds, timeNanoSeconds =
eventlog.next(eventTypeMask)
eventNumber
The event number
message
A message the describes the event
eventType
The type of event:
Error only: 1
Warning only: 2
Information only: 4
nodeID
The TSP-Link node where the error occurred
timeSeconds
The time in seconds
timeNanoSeconds
The fractional seconds
eventTypeMask
Limits the list of event log entries; set to:
Errors only: eventlog.SEV_ERROR
Warnings only: eventlog.SEV_WARN
Information only: eventlog.SEV_INFO
All events:
eventlog.SEV_ALL
Details
Returns the next entry from the event log.
If there are no entries in the event log, printing this value returns the following:
0 No error 0 0 0 0
If the event type mask is not defined, the mask type for all events is used.
The event number can be used with the status model to map events to bits in the event registers.
Example
print(eventlog.next())
Get the oldest message in the event log.
Example output:
-285 TSP Syntax error at line 1: unexpected symbol near `0' 1 0 1367806152
652040060
Also see
eventlog.clear() (on page 8-54)
eventlog.getcount() (on page 8-54)
eventlog.save() (on page 8-57)
status.operation.setmap() (on page 8-157)
status.questionable.setmap() (on page 8-160)

Table of Contents

Other manuals for Keithley 2450

Related product manuals