6: SCPI command reference Model DMM7510 7½ Digit Graphical Sampling Multimeter
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
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
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:
Also see
:SYSTem:EVENtlog:NEXT? (on page 6-142)
:SYSTem:ERRor:COUNt?
This command returns the number of errors in the event log.
Type Affected by Where saved Default value
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
If there are five errors in the event log, the
output is:
Also see
:SYSTem:EVENtlog:COUNt? (on page 6-141)