Remote Commands
Common Application Commands
MAP-200 Optical Switch mOSW-C1 Installation and User Guide
Standard
June 2016
Document Number 22112369-120 R000
Page 67
Common Application Commands
:SYSTem:ERRor?
Description
Extracts the first error code written to the error queue. The error queue is used exclusively
to indicate SCPI command errors. Command’s error from multiple interfaces will be written
to the same error queue.
If no errors are present in the error queue, the value 0 will be returned. The error queue size
is 128 bytes. If the system writes more than 128 errors to the error queue then the last error
queue number is –350 and all subsequent errors are discarded until –350 is read.
When this command is issued to a specific application, the error queue for the application
will be extracted.
Input Format
:SYSTem:ERRor?
Output Format
<Error>, “Description”
Parameter
Type
Value
Error
Numeric
-16384 to 16384
Description
String
8 – 50 chars
Errors
Standard error messages.
Example
The following example queries the first error in the error queue.
Terminal Input:
:SYST:ERR?
Terminal Response:
-100,”Command error”