Interactive SourceMeter® Instrument Reference Manual Section 6:
2450-901-01 Rev. B/September 2013 6-101
:SYSTem:EVENtlog:NEXT?
This command returns the oldest message from the event log and removes it from the log.
Type Affected by Where saved Default value
Usage
:SYSTem:EVENtlog:NEXT?
:SYSTem:EVENtlog:NEXT? <mask>, <mask>
Limits the event log entries that are returned to specific types; set to:
• ERRor: Returns only the next error
• WARNing: Returns only the next warning
• INFormational: Returns only the next informational message
•
Details
As error and status messages occur, they are placed in the event log. The event log is a first-in, first-out (FIFO)
register that can hold up to 1000 messages.
This command returns the next entry from the event log.
If there are no entries in the event log, the following message is returned:
0,"No error;0,0,0"
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]?
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
•
Example
Returns information on the next event in the event log. For example, if you
sent a command without a parameter, the return is:
-109,"Missing parameter;1,1367794863,384492889"
Also see
:SYSTem:CLEar (on page 6-96)
:SYSTem:EVENtlog:SAVE (on page 6-103)