Agilent Technologies E1470A user manual Scpi Command Reference, Linking Commands

Page 28

For example, if the command syntax shows MEASure, then MEAS and MEASURE are both acceptable forms. Other forms of MEASure, such as MEASU or MEASUR will generate an error. You may use upper or lower case letters. Therefore, MEASURE, measure, and MeAsUrE are all acceptable.

Implied Commands Implied commands are those which appear in square brackets ([ ]) in the command syntax. (The brackets are not part of the command and are not sent to the instrument.) Suppose you send a second level command but do not send the preceding implied command. In this case, the instrument assumes you intend to use the implied command and it responds as if you had sent it. Examine the [ROUTe:] subsystem shown below:

[ROUTe:]

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

The root command ROUTe: is an implied command as is the command: COMMon. To close a signal path, you can send any of the following command statements:

TheseROUT:PATHcommands:COMM2,1function:COMM2,12,1the same, connecting the COMMON in bank 02 to channel in bank 00. For information on channel and bank numbers, see Chapter 2.

Parameters

Linking Commands

Parameter Types. The ROUTe:PATH command accepts only numeric parameters.

Linking IEEE 488.2 Common Commands with SCPI Commands. Use a semicolon between the commands. For example RST; ROUT:PATH 2

or

2,1 ;*SAV

Linking Multiple SCPI Commands. Use both a semicolon and a colon between the commands. For example, ROUT:PATH 2,1;:PATH 3,32

SCPI Command Reference

This section describes the Standard Commands for Programmable Instruments (SCPI) commands for the E1470A Cascade RF Switch module. Commands are listed alphabetically in by subsystem and within each subsystem.

28 RF Switch Command Reference

Chapter 3

Image 28
Contents E1470-90002 Page Contents Appendix C RF Switch Error Messages Index Agilent Technologies Warranty Statement Government Restricted RightsSafety Symbols Documentation HistoryManufacturer’s Name Manufacturer’s AddressDeclares, that the product Product Name Model NumberPage Switching Diagram Using This ChapterChapter Cascade Relays COM 33 332 Configuring the RF Switch Chapter Creating Multiple MultiplexersRF Switch Configuration Maximum POWER. The maximum RF power that can be appliedChapter Configuring the RF Switch 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 Command Types Common Commands FormatScpi Commands Format Chapter RF Switch Command ReferenceLinking Commands Scpi Command ReferenceRF Switch Command Reference Chapter DIAGnostic DIAGnosticCLOSeDIAGnosticCLOSe? DIAGnosticOPENDIAGnosticOPEN relay,relay... opens individual relays on Reset to its power-on state Common to NCDIAGnosticOPEN? DIAGOPEN333DIAGnosticRELAY? RSTDIAGThis programCLOS042,043,053,054,256REL?returnsROUTe ROUTePATHCOMMonExample Closing Channel Path 10002 SYSTem SYSTemERRor?SYSTemVERSion? Ieee 488.2 Common Commands Quick Reference CommandCommands Quick Reference DescriptionAppendix a RF Switch Specifications Appendix aRF Switch Specifications Appendix a Appendix B About This AppendixRegister Addressing Addressing OverviewBase Address Figure B-1. Register Address Locations Within VXI A16A16 Address Space Outside the Command Module Register Definitions Table B-1. General Register-based Programming MethodTable B-2. Register Map 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