6: SCPI command reference Model 2461 Interactive SourceMeter® Instrument
6-150 2461-901-01 A/November 2015
:SYSTem:EVENtlog:NEXT?
This command returns the oldest unread event message from the event log.
Type Affected by Where saved Default value
Usage
:SYSTem:EVENtlog:NEXT?
:SYSTem:EVENtlog:NEXT? <eventType>
:SYSTem:EVENtlog:NEXT? <eventType>, <eventType>
:SYSTem:EVENtlog:NEXT? <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:
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>
A description of the event
• Error only: 1
• Warning only: 2
•
The seconds portion of the time when the event occurred
The fractional seconds portion of the time when the event occurred