Agilent Technologies E1470A user manual Ieee 488.2 Common Commands Quick Reference

Page 37

IEEE 488.2 Common Commands Quick Reference

The following table lists the IEEE 488.2 Common (*) Commands accepted by the E1470A module driver. For more information on Common Commands, see the the ANSI/IEEE Standard 488.2-1987.

 

 

 

 

 

Command Description

 

 

 

 

 

 

 

 

Command

Clears all status registers and clears the error queue.

 

 

 

 

 

 

 

 

 

 

CLS

 

 

 

Enable Standard Event.

 

 

 

 

 

 

 

 

 

 

 

 

E

 

 

 

Enable Standard Event Query.

 

 

 

 

 

 

ES

 

 

 

 

Standard Event Register Query.

 

 

 

 

OPC?

 

 

Instrument ID Query; returns identification string of the module:

 

 

 

 

 

HEWLETT-PACKARD,E1470A,B.01.00

 

 

 

 

 

 

 

 

 

 

 

Causes E1470A to set bit 0 (Operation Complete Message) in the Standard Event

 

 

 

 

 

Status Register when all pending operations are complete. This allows for

 

 

 

 

 

synchronization between instrument and computer or between multiple instruments. For

 

 

 

 

 

the E1470A, the only pending operation is the time delay (approximately 16 msec)

 

 

 

 

 

provided to allow the relays to settle. If this command waits longer than about 60 msec,

 

 

 

 

 

the error -240, “Hardware error” is generated.

 

 

 

 

 

 

 

 

 

 

 

Operation Complete Query. The E1470A places a “1” in the output buffer when all

 

 

 

 

 

pending operations are complete. For the E1470A, the only pending operation is the

 

 

 

 

 

time delay (~ 16 msec) provided to allow the relays to settle. If this command waits

 

 

 

 

 

longer than about 60 msec, the error -240, “Hardware error” is generated.

 

 

 

 

 

 

 

 

 

 

 

Recalls the instrument state saved by *SAV.

 

 

 

 

 

 

R

 

 

 

 

Resets the module to its power-on state; Channel 0 connects to COMmon for all banks.

TST

 

 

This is equivalent to PATH x0,x00 (where x is the bank number).

 

 

<registernumericstatevalue>

 

 

 

 

 

Stores up to 10 module states.

AV

 

 

Service request enable, enables status register bits.

 

R

 

>

TBCL<registervalu

 

Service request enable query.

IDNRE

 

 

 

 

 

 

 

Read status byte query.

 

 

 

 

*?

 

 

Executes an internal self-test. *TST? compares the actual relay positions (by reading

 

 

 

 

 

the hardware) to the specified states (by reading the software state). If the self-test

 

 

 

 

 

passes, a “0” is returned. If a discrepancy occurs, the number returned is the decimal

 

 

 

 

 

weighted sum of the following errors:

 

 

 

 

 

1 Register 20h fails self-test. See Appendix B.

 

 

 

 

 

2 Register 22h fails self-test. See Appendix B.

 

 

 

 

 

4 Register 24h fails self-test. See Appendix B.

 

 

 

 

 

8 Register 26h fails self-test. See Appendix B.

 

 

 

 

 

16 Register 28h fails self-test. See Appendix B.

 

 

 

 

 

*TST? is only valid if the module was programmed using the SCPI [ROUTe:]PATH

 

 

 

 

 

command. Register writes and the DIAG subsystem will invalidate the software state

 

 

 

 

 

and generate a *TST? error.

 

 

 

 

 

 

 

 

 

Chapter 3

 

RF Switch Command Reference 37

Image 37
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 Switching Diagram Using This ChapterChapter 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 ReferenceLinking Commands Scpi Command ReferenceRF Switch Command Reference Chapter 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 SYSTem SYSTemERRor?SYSTemVERSion? 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