Agilent Technologies E1470A Command Types, Common Commands Format, Scpi Commands Format

Page 27

Chapter 3

RF Switch Command Reference

This chapter describes Standard Commands for Programmable

Instruments (SCPI) and summarizes IEEE 488.2 Common (*)

Commands applicable to the E1470A Cascade RF Switch Module.

Command Types

Commands are separated into two types: IEEE 488.2 Common

Commands and SCPI Commands.

Common Commands Format

The IEEE 488.2 standard defines the Common Commands that perform functions like reset, self-test, status byte query, etc. Common commands are four or five characters in length, always begin with the asterisk character (*), and may include one or more parameters. The command keyword is separated from the first parameter by a space character. Some examples of Common Commands are:

*RST *ESR 32 *STB?

SCPI Commands Format

SCPI commands perform functions like closing switches, querying instrument states, or retrieving data. A subsystem command structure is a hierarchical structure that usually consists of a top level (or root) command, one or more lower level commands, and their parameters. The following example shows part of a typical subsystem:

[ROUTe:]PATH[:COMMon] <comm>,<channel>

Command Separator

Abbreviated Commands

[ROUTe:] is the (optional) root command, PATH is the second level command, and [:COMMon] is a third level (optional) command. <comm>,<channel> are command parameters.

A colon (:) always separates one command from the next lower level command as shown below. Colons separate the root command from the second level command (ROUTe:PATH) and the second level from the third level (PATH:COMMon).

ROUTe:PATH:COMMon

The command syntax shows most commands as a mixture of upper and lower case letters. The upper case letters indicate the abbreviated spelling for the command. For shorter program lines, send the abbreviated form. For better program readability, you may send the entire command. The instrument will accept either the abbreviated form or the entire command.

Chapter 3

RF Switch Command Reference 27

Image 27
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 Using This Chapter Switching DiagramChapter 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 FormatScpi Command Reference Linking CommandsRF 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 SYSTemERRor? SYSTemSYSTemVERSion? 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