8: TSP command reference Model DMM7510 7½ Digit Graphical Sampling Multimeter
8-204 DMM7510-901-01 Rev. B / May 2015
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 8-205)
eventlog.save() (on page 8-207)
Using the event log (on page 2-154)
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: eventlog.SEV_ALL or 7
Details
A count finds the number of unread events in the event log. You can specify the event types to return,
or return the count for all events.
This command reports the number of events that have occurred since the command was last sent or
since the event log was last cleared.
Events are read automatically when localnode.showevents is enabled. You can also read them
individually with eventlog.next().