Agilent Technologies E1470A Switch User Manual


 
36 RF Switch Command Reference
Chapter 3
SYSTem
The SYSTem subsystem returns error numbers and error messages in
the error queue of a module and the SCPI compliance year (version).
Subsystem Syntax SYSTem
:ERRor?
:VERsion?
SYSTem:ERRor?
SYSTem:ERRor? returns the error numbers and corresponding error
messages in the error queue. See Appendix C for a listing of the
applicable error numbers and messages.
Comments Error Numbers/Messages in the Error Queue: Each error records an error
number and corresponding error message in the error queue. Each error
message can be up to 255 characters long but typically is much shorter.
Clearing the Error Queue: An error number/message is removed from the
queue each time the SYSTem:ERRor? query command is sent. The
errors are cleared first-in, first-out. When the queue is empty, each
following SYSTem:ERRor? query command returns 0, “No error”. To
clear all error numbers/messages in the queue, execute either the *CLS
or *RST command.
Maximum Error Numbers/Messages in the Error Queue: The queue holds a
maximum of 30 error numbers/messages for each module. If the queue
overflows, the last error number/message in the queue is replaced by
-350, “Too many errors”. The least recent error numbers/messages
remain in the queue and the most recent are discarded.
Example Reading the Error Queue
!Query the error queue
SYSTem:VERSion?
SYStem:VERSion? returns SCPI compliance version of E1470A driver.
Comments Return Value. The return value is in the form: "YYYY.N"
Example Returning SCPI Compliance Version
!Returns compliance version