Agilent Technologies E1470A user manual SYSTemERRor?, SYSTemVERSion?

Models: E1470A

1 58
Download 58 pages 63.08 Kb
Page 36
Image 36

SYSTem

Subsystem Syntax

SYSTem:ERRor?

The SYSTem subsystem returns error numbers and error messages in the error queue of a module and the SCPI compliance year (version).

SYSTem :ERRor? :VERsion?

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

 

 

 

SYST:ERR?

!Returns compliance version

 

 

 

 

 

36 RF Switch Command ReferenceSYST:VERS?

 

Chapter 3

Page 36
Image 36
Agilent Technologies E1470A user manual SYSTemERRor?, SYSTemVERSion?