Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
Section 7: SCPI command reference
077114601 / March 2019
7-167
:SYSTem:ERRor:CLEar
This command clears the error queue.
Type
Affected by
Where saved
Default value
Command only
Not applicable
Not applicable
Not applicable
Query
:SYSTem:ERRor:CLEar
Details
This function removes all messages from the error queue.
Also see
:SYSTem:ERRor:CODE?
This command reads and clears the oldest error code.
Type
Affected by
Where saved
Default value
Query only
Not applicable
Not applicable
Not applicable
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
:SYST:ERR:CODE?
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
(on page 7-166)