Agilent Technologies E1470A user manual DIAGnosticCLOSe

Page 29

DIAGnostic

The DIAGnostic subsystem contains instrument-specific commands is are not recommended for general programming. For the E1470A, the DIAG subsystem allows you to open/close individual relays and query individual relays.

Subsystem Syntax DIAGnostic

:CLOSe <relay>{,<relay> ...} :CLOSe? <relay>{,<relay>...} :OPEN <relay>{,<relay>...} :OPEN? <relay>{,<relay>...} :RELAY?

DIAGnostic:CLOSe

DIAGnostic:CLOSe <relay>{,<relay>...} closes individual relays on the E1470A. 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

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

 

2022, “Invalid relay number”.

 

 

Closing Relays. To close single relays, use DIAG:CLOS abc. To close

 

multiple relays, use DIAG:CLOS abc,def,ghi,... etc.

 

80 Relays Maximum. The E1470A has 80 relays. Setting more than 80

 

relay numbers causes error: -108, “Parameter not allowed”.

Example

Closing Relays

 

 

DIAG:CLOS001

!Closes relay 001 (connects

 

!CH001 to relay 002 in bank 00)

Chapter 3

RF Switch Command Reference 29

Image 29
Contents E1470-90002 Page Contents Appendix C RF Switch Error Messages Index Government Restricted Rights Agilent Technologies Warranty StatementDocumentation History Safety SymbolsManufacturer’s Address Manufacturer’s NameDeclares, that the product Product Name Model NumberPage Chapter Using This ChapterSwitching Diagram Cascade Relays COM 33 332 Creating Multiple Multiplexers Configuring the RF Switch ChapterMaximum POWER. The maximum RF power that can be applied RF Switch ConfigurationChapter Configuring the RF Switch On this moduleSetting 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 Common Commands Format Command TypesScpi Commands Format Chapter RF Switch Command ReferenceRF Switch Command Reference Chapter Scpi Command ReferenceLinking Commands DIAGnosticCLOSe DIAGnosticDIAGnosticOPEN DIAGnosticCLOSe?DIAGnosticOPEN relay,relay... opens individual relays on Reset to its power-on state Common to NCDIAGOPEN333 DIAGnosticOPEN?RSTDIAGThis programCLOS042,043,053,054,256REL?returns DIAGnosticRELAY?ROUTePATHCOMMon ROUTeExample Closing Channel Path 10002 SYSTemVERSion? SYSTemERRor?SYSTem Command Ieee 488.2 Common Commands Quick ReferenceDescription Commands Quick ReferenceAppendix a Appendix a RF Switch SpecificationsRF Switch Specifications Appendix a About This Appendix Appendix BRegister Addressing Addressing OverviewFigure B-1. Register Address Locations Within VXI A16 Base AddressA16 Address Space Outside the Command Module Table B-1. General Register-based Programming Method Register DefinitionsTable B-2. Register Map Register-Based Programming Appendix BTable 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