Agilent Technologies E1470A user manual SYSTemERRor?, SYSTemVERSion?

Page 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

Image 36
Contents E1470-90002 Page Contents Appendix C RF Switch Error Messages Index Agilent Technologies Warranty Statement Government Restricted RightsSafety Symbols Documentation HistoryManufacturer’s Name Manufacturer’s AddressDeclares, that the product Product Name Model NumberPage Using This Chapter Switching DiagramChapter Cascade Relays COM 33 332 Configuring the RF Switch Chapter Creating Multiple MultiplexersRF Switch Configuration Maximum POWER. The maximum RF power that can be appliedChapter Configuring the RF Switch On this moduleSetting the Logical Address Setting the Interrupt Request Level Connecting User Wiring Installing User Wiring Configuring the RF Switch ChapterAssembling SMB Connector Jacks SMB Connectors and Connector HousingsUser Connections Wiring Installing Device Drivers RF SwitchAddressing the Switch Programming the RF Switch ChapterChapter Programming the RF Switch Programming ExamplesProgramming the RF Switch Chapter Example Closing a Signal Path Example Opening Closing Signal Paths Example Saving Recalling Module States Programming the RF Switch Chapter Command Types Common Commands FormatScpi Commands Format Chapter RF Switch Command ReferenceScpi Command Reference Linking CommandsRF Switch Command Reference Chapter DIAGnostic DIAGnosticCLOSeDIAGnosticCLOSe? DIAGnosticOPENDIAGnosticOPEN relay,relay... opens individual relays on Reset to its power-on state Common to NCDIAGnosticOPEN? DIAGOPEN333DIAGnosticRELAY? RSTDIAGThis programCLOS042,043,053,054,256REL?returnsROUTe ROUTePATHCOMMonExample Closing Channel Path 10002 SYSTemERRor? SYSTemSYSTemVERSion? Ieee 488.2 Common Commands Quick Reference CommandCommands Quick Reference DescriptionAppendix a RF Switch Specifications Appendix aRF Switch Specifications Appendix a Appendix B About This AppendixRegister Addressing Addressing OverviewBase Address Figure B-1. Register Address Locations Within VXI A16A16 Address Space Outside the Command Module Register Definitions Table B-1. General Register-based Programming MethodTable B-2. Register Map Register-Based Programming Appendix BTable B-3. Status Register Bit Patterns read Table B-4. Control Register Bit Pattern writeRelay Control Registers Vxie Table B-10. Writing to Relay Control Registers Register Programming Example Create and open a device sessionWait 5 seconds before resetting module Void errhandler /* Error Handling Routine Register-Based Programming Appendix B Appendix C RF Switch Error Messages Appendix CRF Switch Error Messages Appendix C Index IndexIndex E1470-90002