Agilent Technologies E1470A user manual Installing Device Drivers, RF Switch

Page 19

Chapter 2

Programming the RF Switch

Using This Chapter

This chapter gives guidelines to program the Cascade RF Switch module (RF Switch) including:

Installing Device Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19

Addressing the Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20

Programming Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21

Installing Device Drivers

Before you can use the Cascade RF Switch module, you may need to install device drivers. The type of driver(s) to be installed depend on whether you use an E1406 Command Module or another type of command module. The two types of drivers applicable to the RF Switch module are VXIplug&play Instrument Drivers (installed on your PC) and SCPI Instrument Drivers (downloaded into the E1406 Command Module).

NOTE It is highly recommended the SCPI Instrument driver be installed whether the VXI instrument is programmed using its VXIplug&play driver or using SCPI commands embedded in an I/O language. For the latest information on drivers, see the Agilent Web Site:

To downloadhttp://wwwthe SCPI .Instrumentagilent.com/find/instDriver into_driversthe E1406A Command Module, you will need to use the VXI Installation Consultant (VIC) contained on the Agilent Technologies Universal Instrument Drivers CD. To download the driver, install the CD in your CD-ROM drive and follow the installation instructions. The setup program should run automatically. If it does not,

click

and type

in the command line,

where <drive> is the letter for your CD-ROM

.

NOTE To download a driver, the ROM version number of the E1406 Command Module must be A.06.00 or above. To determine the version number, send the IEEE 488.2 common command *IDN?. A typical return value follows, where A.06.01 is the version number.

 

HEWLETT-PACKARD,E1406A,0,A.06.01

 

Chapter 2

StartRun

<drive>:SETUPProgramming.EXE

the RF Switch 19

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