High Voltage SourceMeter Instrument Reference Manual Section 14:
2470-901-01 Rev. A / May 2019 14-71
eventlog.clear()
This function clears the event log.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
eventlog.clear()
Details
This command removes all events from the event log, including entries in the front-panel event log.
Also see
eventlog.next() (on page 14-72)
eventlog.save() (on page 14-75)
Using the event log (on page 3-50)
eventlog.getcount()
This function returns the number of unread events in the event log.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
eventlog.getcount()
eventlog.getcount(eventType)
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