![background image](http://html2.mh-extra.com/html/keithley/interactive-sourcemeter-2450/interactive-sourcemeter-2450_reference-manual_4033478418.webp)
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Section 6: SCPI command reference
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
Query only
Not applicable
Not applicable
Not applicable
Usage
:SYSTem:EVENtlog:NEXT?
:SYSTem:EVENtlog:NEXT? <mask>, <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
•
ALL
: Returns any event
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>
<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 time in seconds
<timeNanoSeconds>
The fractional seconds
Example
SYST:EVEN:NEXT?
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
(on page 6-96)
(on page 6-103)