Agilent Technologies E1470A Base Address, Figure B-1. Register Address Locations Within VXI A16

Page 42

The Base Address

FFFF16

COOO16

A16

ADDRESS

SPACE

When you are reading or writing to a module register, a hexadecimal or decimal register address is specified. This address consists of a base address plus a register offset. The base address used in register-based programming depends on whether the A16 address space is outside or inside the E1406 Command Module.

 

Register

16-BIT WORDS

FFFF16

Offset

 

 

3E16

 

REGISTER

3C16

 

 

 

ADDRESS

 

 

SPACE

 

 

*

2816

Relay Control Register

 

2616

Relay Control Register

 

2416

Relay Control Register

 

2216

Relay Control Register

 

2016

Relay Control Register

C00016

 

 

(49,152)

 

 

Status/Control Register

Device Type Register

Manufacturer ID Register

OOOO16

* Base Address = COOO16 + (Logical Address 64)16*

or

49,152 + (Logical Address 64)10*

E1470A

Register Map

Register Address = Base Address + Register Offset

Figure B-1. Register Address Locations Within VXI A16

FFFFFF 16

EOOOOO 16

200000 16 IF0000 16

000000 16

E1406

ADDRESS MAP

A24

ADDRESS

SPACE

200000 16

 

IFCOOO 16

200000 16

 

A16

REGISTER

ADDRESS

ADDRESS

SPACE

SPACE

 

 

*

IFOOOO 16

IFCOOO 16

 

(2,080,768)

* Base Address = IFC00016 + (Logical Address 64) 16*

or

2,080,768 + (Logical Address 64)10 *

Register Address = Base Address + Register Offset

Register

16-BIT WORDS

Offset

 

3E16

 

3C16

 

28 16

Relay Control Register

26 16

Relay Control Register

24 16

Relay Control Register

22 16

Relay Control Register

20 16

Relay Control Register

04 16

Status/Control Register

02 16

Device Type Register

00 16

Manufacturer ID Register

 

E1470A

 

Register Map

Figure B-2. A16 Address Space in the E1406 Command Module

42 Register-Based Programming

Appendix B

Image 42
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