Section 6: SCPI command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
6-142
DMM7510-901-01 Rev. B / May 2015
:SYSTem:EVENtlog:NEXT?
This command returns the oldest unread event message from the event log.
Type
Affected by
Where saved
Default value
Query only
Not applicable
Not applicable
Not applicable
Usage
:SYSTem:EVENtlog:NEXT?
:SYSTem:EVENtlog:NEXT? <eventType>
:SYSTem:EVENtlog:NEXT? <eventType>, <eventType>
:SYSTem:EVENtlog:NEXT? <eventType>, <eventType>, <eventType>
<eventType>
Limits the event log entries that are returned to specific types; set to:
•
Returns only the next error:
ERRor
•
Returns only the next warning:
WARNing
•
Returns only the next informational message:
INFormational
•
Returns any event:
ALL
Details
When an event occurs on the instrument, it is placed in the event log. The
:SYSTem: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.
To read multiple commands, execute this command multiple times.
If there are no entries in the event log, the following is returned:
0,"No error;0,0,0"
If the event type is not defined, an event of any type is returned.
Note that if you have used
:SYSTem:ERRor[:NEXT]?
to check events,
:SYSTem:EVENtlog:NEXT?
shows the next event item after the last error that was returned by
:SYSTem:ERRor[:NEXT]?
You will not see warnings or information event log items that occurred
before you used
:SYSTem:ERRor[:NEXT]?
If the event type is not defined, an event of any type is returned.
The information that is returned is in the order:
<eventNumber>, <message>, <eventType>, <timeSeconds>, <timeNanoSeconds>
<eventNumber>
The event number
<message>
A description of the event
<eventType>
The type of event:
•
Error only: 1
•
Warning only: 2
•
Information only: 4
<timeSeconds>
The seconds portion of the time when the event occurred
<timeNanoSeconds>
The fractional seconds portion of the time when the event occurred