Agilent Technologies E1470A user manual DIAGnosticCLOSe?, DIAGnosticOPEN

Page 30

DIAGnostic:CLOSe?

DIAGnostic:CLOSe <relay>{,<relay>...} returns a number to indicate the closed state of each relay in the list. Since these are Form C relays, “closed” means the relay is “set” (COMMON to NO).

Parameters

Name

Type

Range of Values

 

 

 

<relay>

numeric

001-003011-014021-024031-034041-044

 

 

051-056101-103111-114121-124131-134

 

 

201-203211-214221-224231-234241-244

 

 

251-256301-303311-314321-324331-334

 

 

 

Comments Relay Closure Results. The output buffer contains an unquoted string containing the result for the relay(s): 0 = Not closed (COMMON to NC) and 1 = Closed (COMMON to NO)

Invalid Values. Values other than those listed in the table cause error 2022, “Invalid relay number”.

Querying Relays. To query single relays, use DIAG:CLOS abc. To query multiple relays, use DIAG:CLOS? abc,def,ghi,... etc.

80 Relays Maximum. The E1470A has only 80 relays. Setting more than 80 relay numbers causes error: -108, “Parameter not allowed”.

Example

Querying Relay Closures

 

 

 

 

 

!Reset module and open all relays

 

 

 

 

!Closes relay 002 (connects

 

DIAG:CLOS

0

!CH002 to relay 003 in bank 00)

 

 

 

 

!Returns 0,1,0

DIAGnostic:OPEN

 

 

 

 

 

 

 

 

 

DIAGnostic:OPEN <relay>{,<relay>...} opens individual relays on the

 

E1470A. Since these are Form C relays, “open” means the relay is

 

“reset” to its power-on state (COMMON to NC).

Parameters

*RST

?001,002,003

 

 

 

 

 

 

 

 

 

 

 

Name

 

Type

Range of Values

 

 

 

 

 

 

<relay>

 

numeric

001-003011-014021-024031-034041-044

 

 

 

 

051-056101-103111-114121-124131-134

 

 

 

 

201-203211-214221-224231-234241-244

 

 

 

 

251-256301-303311-314321-324331-334

 

 

 

 

 

 

 

 

 

 

30 RF Switch Command Reference

 

 

Chapter 3

Image 30
Contents E1470-90002 Page Contents Appendix C RF Switch Error Messages Index Agilent Technologies Warranty Statement Government Restricted RightsSafety Symbols Documentation HistoryDeclares, that the product Product Name Manufacturer’s NameManufacturer’s Address Model NumberPage Using This Chapter Switching DiagramChapter Cascade Relays COM 33 332 Configuring the RF Switch Chapter Creating Multiple MultiplexersChapter Configuring the RF Switch RF Switch ConfigurationMaximum POWER. The maximum RF power that can be applied 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 Scpi Commands Format Command TypesCommon Commands Format Chapter RF Switch Command ReferenceScpi Command Reference Linking CommandsRF Switch Command Reference Chapter DIAGnostic DIAGnosticCLOSeDIAGnosticOPEN relay,relay... opens individual relays on DIAGnosticCLOSe?DIAGnosticOPEN 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 Register Addressing Appendix BAbout This Appendix Addressing OverviewBase Address Figure B-1. Register Address Locations Within VXI A16A16 Address Space Outside the Command Module Table B-2. Register Map Register DefinitionsTable B-1. General Register-based Programming Method 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