Section 6: SCPI command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
6-140
DMM7510-901-01 Rev. B / May 2015
:SYSTem:ERRor:CODE[:NEXT]?
This command reads the oldest error code.
Type
Affected by
Where saved
Default value
Query only
Not applicable
Not applicable
Not applicable
Usage
:SYSTem:ERRor:CODE[:NEXT]?
Details
This command returns the numeric code of the next error in the event log. The error is cleared from
the queue after being read.
This command returns only error messages from the event log. To return information and warning
messages, see
:SYSTem:EVENtlog:NEXT?
Example
SYST:ERR:CODE?
Returns the error code of the next error in
the event log.
For example, if error -222, Parameter data
out of range error, occurred, the output is:
-222
Also see
:SYSTem:ERRor:COUNt?
This command returns the number of errors in the event log.
Type
Affected by
Where saved
Default value
Query only
Not applicable
Not applicable
Not applicable
Usage
:SYSTem:ERRor:COUNt?
Details
This command does not return other types of events, such as information messages. To return other
types of events, use
:SYSTem:EVENtlog:COUNt?
This command does not clear the errors from the event log.
Example
SYST:ERR:COUN?
If there are five errors in the event log, the
output is:
5
Also see
(on page 6-141)