6-2 Agilent 4155C/4156C SCPI Command Reference, Edition 1
Error Messages
This chapter shows the error code/messages returned when any error occurred
during a SCPI program is executed.
Error Messages are classified by error number as listed in the following table:
Negative error numbers (Command Error, Execution Error, Device-Dependent
Error, Query Error) are standard SCPI errors.
Positive error numbers are the 4155C/4156C specific errors, not standard SCPI
errors.
When the 4155C/4156C is in the remote control state, the occurrence of an error
(except for error number 0 or Emergency Error) sets the corresponding bit in the
Standard Event Status Register. An Emergency Error sets the corresponding bit in
the Emergency Status Register.
Error number and message are placed in the error queue, which can be read by the
:SYSTem:ERRor? query command. The error queue is cleared by the common
command *CLS, and when power is turned on. For these commands, see “SYSTem
Subsystem” in Chapter 5 and Chapter 4.
Error Range Error Category
0 No error
-100 to -199 Command Error
-200 to -299 Execution Error
-300 to -399 Device-Dependent Error
-400 to -499 Query Error
1 to 32767
4155C/4156C specific error
a
a. For the 4155C/4156C specific error, refer to If You Have a Problem
manual.
Error Category Standard Event Status Register Bit
Command Error bit5
Execution Error bit4
Device-Dependent Error bit3
Query Error bit2
Emergency Error (sets Emer. Status register)
4155/4156 Specific Error bit3