Agilent Technologies E1470A user manual DIAGnosticOPEN?, DIAGOPEN333

Page 31
!Opens relay 333 (connects !COM333 to relay 334 in bank 33)

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

Opening Relays. To open single relays, use DIAG:OPEN abc. To open multiple relays, use DIAG:OPEN 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 Opening Relays

DIAGnostic:OPEN?

DIAGnostic:OPEN? <relay>{,<relay>...} returns a number to indicate the open state of each relay in the list. Since these are Form-C relays, “open” means that the relay is “reset” to its power-on state (Common to NC).

Parameters

 

Name

 

 

Type

 

Range of Values

 

 

 

 

 

 

<relay>

 

numeric

001-003011-014021-024031-034041-044

 

DIAG:OPEN333

 

051-056101-103111-114121-124131-134

 

 

201-203211-214221-224231-234241-244

 

 

251-256301-303311-314321-324331-334

 

 

 

 

Comments

Relay Open Results. The output buffer contains an unquoted string

 

containing the result for the relay(s): 0 = Not Opened (COMMON to NO)

 

and 1 = Opened (COMMON to NC).

 

 

Invalid Values. Values other than those listed in the table cause error:

 

2022, “Invalid relay number”.

 

 

Querying Relays. To query single relays, use DIAG:OPEN? abc. To query

 

multiple relays, use DIAG:OPEN? 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 Relays Opened

 

 

 

 

 

 

 

 

!Reset module and open all relays

 

 

 

 

 

 

!Closes relays 003 and 014

 

 

 

 

 

 

!(connects relay 002 to relay 013)

 

 

 

 

 

 

!Returns 1,1,0,0

Chapter 3

DIAG:

0

 

 

RF Switch Command Reference 31

 

*RSTOPEN?CLOS03,01401,002,003,014

 

Image 31
Contents E1470-90002 Page Contents Appendix C RF Switch Error Messages Index Government Restricted Rights Agilent Technologies Warranty StatementDocumentation History Safety SymbolsModel Number Manufacturer’s NameManufacturer’s Address Declares, that the product Product NamePage Switching Diagram Using This ChapterChapter Cascade Relays COM 33 332 Creating Multiple Multiplexers Configuring the RF Switch ChapterOn this module RF Switch ConfigurationMaximum POWER. The maximum RF power that can be applied Chapter Configuring the RF SwitchSetting the Logical Address Setting the Interrupt Request Level Installing User Wiring Configuring the RF Switch Chapter Connecting User WiringSMB Connectors and Connector Housings Assembling SMB Connector JacksUser Connections Wiring RF Switch Installing Device DriversProgramming the RF Switch Chapter Addressing the SwitchProgramming Examples Chapter Programming the RF SwitchProgramming the RF Switch Chapter Example Closing a Signal Path Example Opening Closing Signal Paths Example Saving Recalling Module States Programming the RF Switch Chapter Chapter RF Switch Command Reference Command TypesCommon Commands Format Scpi Commands FormatLinking Commands Scpi Command ReferenceRF Switch Command Reference Chapter DIAGnosticCLOSe DIAGnosticReset to its power-on state Common to NC DIAGnosticCLOSe?DIAGnosticOPEN DIAGnosticOPEN relay,relay... opens individual relays onDIAGOPEN333 DIAGnosticOPEN?RSTDIAGThis programCLOS042,043,053,054,256REL?returns DIAGnosticRELAY?ROUTePATHCOMMon ROUTeExample Closing Channel Path 10002 SYSTem SYSTemERRor?SYSTemVERSion? Command Ieee 488.2 Common Commands Quick ReferenceDescription Commands Quick ReferenceAppendix a Appendix a RF Switch SpecificationsRF Switch Specifications Appendix a Addressing Overview Appendix BAbout This Appendix Register AddressingFigure B-1. Register Address Locations Within VXI A16 Base AddressA16 Address Space Outside the Command Module Register-Based Programming Appendix B Register DefinitionsTable B-1. General Register-based Programming Method Table B-2. Register MapTable B-4. Control Register Bit Pattern write Table B-3. Status Register Bit Patterns readRelay Control Registers Vxie Table B-10. Writing to Relay Control Registers Create and open a device session Register Programming ExampleWait 5 seconds before resetting module Void errhandler /* Error Handling Routine Register-Based Programming Appendix B Appendix C Appendix C RF Switch Error MessagesRF Switch Error Messages Appendix C Index IndexIndex E1470-90002