8: TSP command reference Model DMM7510 7½ Digit Graphical Sampling Multimeter
8-206 DMM7510-901-01 Rev. B / May 2015
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
Also see
eventlog.clear() (on page 8-204)
eventlog.getcount() (on page 8-204)
eventlog.save() (on page 8-207)
Using the event log (on page 2-154)
eventlog.post()
This function allows you to post your own text to the event log.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
eventlog.post(message)
eventlog.post(message, eventType)
String that contains the message
The type of event; if no event is defined, defaults to eventlog.SEV_INFO:
• Error: eventlog.SEV_ERROR or 1
• Warning: eventlog.SEV_WARN or 2
• Information:
or