High Voltage SourceMeter Instrument Reference Manual Section 14:
2470-901-01 Rev. A / May 2019 14-73
Limits the return to specific event log types; set a cumulative integer value that
represents the event log types to:
ï‚§ Errors only: eventlog.SEV_ERROR or 1
ï‚§ Warnings only: eventlog.SEV_WARN or 2
ï‚§ Errors and warnings only: eventlog.SEV_WARN|eventlog.SEV_ERROR or
3
ï‚§ Information only: eventlog.SEV_INFO or 4
ï‚§ Errors and information only: eventlog.SEV_INFO|eventlog.SEV_ERROR
or 5
ï‚§ Warnings and information only:
eventlog.SEV_INFO|eventlog.SEV_WARN or 6
ï‚§ All events:
or
Details
When an event occurs on the instrument, it is placed in the event log. The eventlog.next()
command retrieves an unread event from the event log. Once an event is read, it can no longer be
accessed remotely. However, it can be viewed on the front panel. When localnode.showevents
is enabled, this command never returns an event because those events are automatically read and
sent to the remote interface.
To read multiple events, execute this command multiple times.
If there are no entries in the event log, the following is returned:
0 No error 0 0 0 0
If the event type is not defined, an event of any type is returned.
Example
Get the oldest error or information event from 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 14-71)
eventlog.getcount() (on page 14-71)
eventlog.save() (on page 14-75)
Using the event log (on page 3-50)