Series 2280 Precision DC Power Supply Reference Manual Section 7: SCPI command reference
077085503 / March 2019 7-117
:SYSTem:ERRor:CODE?
This command reads and clears the oldest error code.
Usage
:SYSTem:ERRor:CODE?
Details
This command returns the numeric code of the last error in the event log. The error is cleared from
the queue after being read. The following command also clears the returned error:
:SYSTem:ERRor?
Example
Returns the error number of the last error in
the error queue.
For example, if error -222, "Parameter data
out of range error" occurred, the output is:
-222
Also see
:SYSTem:ERRor? (on page 7-116)
:SYSTem:ERRor:COUNt?
This command returns the number of errors in the error queue.
Usage
:SYSTem:ERRor:COUNt?
Details
This returns the number of errors in the error queue. This command does not clear the errors from the
error queue.
Example
If there are five errors in the event log, the output
is:
5
Also see
None