Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ E1474A(5) — HP-UX SCPI B.02.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

E1474A()

 

NAME

 E1474A − SCPI Commands Quick Reference
 

DESCRIPTION

 
The following is a SCPI command quick reference for the HP E1474A 75 Ohm RF Multiplexer/Expander.  This quick reference provides:
 
 
Command Descriptions
 
Commands Not Supported
 
Commands Changed
 
Query Command Response Types
 
Overlapping Commands
 
ONSRQ Restrictions
 
The SCPI commands are to be embedded in HP Compiled SCPI commands.  For information on HP Compiled SCPI, see the HP Compiled SCPI commands in manual pages, or see the HP Compiled SCPI learning products.
 
For additional information on SCPI commands, see the VXI User’s Guide for the instrument.
 

COMMAND DESCRIPTIONS

 

Common Commands

 

*IDN?  Returns the identification string of the instrument. 
 

*RST Resets the instrument to a known state. 
 

*TST?  Self-Test, returns 0 if passes. 
 

*OPC Sets the request for OPC flag when all pending operations have completed. 
 

*OPC?  Query operation complete. Returns 1 when all pending operations have completed. 
 

*WAI Wait for complete. 
 

*CLS Clears all status registers. 
 

*ESE Enable status register bits. 
 

*ESE?  Query event status enable. 
 

*ESR?  Query and clear the event status register. 
 

*SRE Sets the service request enable register bits and corresponding serial poll status register bits to generate a service request. 
 

*SRE?  Query service request enable. 
 

*STB?  Query read status byte. 
 

*TRG Bus Trigger. 
 

*RCL Recall instrument state. 
 

*SAV Store instrument state. 
 

SCPI Commands

 

[ROUTe:]CLOSe <channel_list>
Close channel(s). <channel_list> takes the form (@ccmmnn) where cc = card number (01-99), mm = module number (00-02), and nn = channel number (00-03, 10-13,20-23,30-33,40-43,or 50-53).  A comma can be used for multiple channels (@ccmmnn,ccmmnn), or a colon can be used for sequential channels (@ccmmnn:ccmmnn).
 

[ROUTe:]CLOSe? <channel_list>
Query channel(s) closed. <channel_list> takes the form (@ccmmnn) where cc = card number (01-99), mm = module number (00-02), and nn = channel number (00-03, 10-13,20-23,30-33,40-43,or 50-53).  A comma can be used for multiple channels (@ccmmnn,ccmmnn), or a colon can be used for sequential channels (@ccmmnn:ccmmnn). Returns 1 if channel is closed and 0 if open.
 

[ROUTe:]OPEN? <channel_list>
Query channel(s) opened. <channel_list> takes the form (@ccmmnn) where cc = card number (01-99), mm = module number (00-02), and nn = channel number (00-03, 10-13,20-23,30-33,40-43,or 50-53).  A comma can be used for multiple channels (@ccmmnn,ccmmnn), or a colon can be used for sequential channels (@ccmmnn:ccmmnn). Returns 1 if channel is open and 0 if closed.
 

SYSTem:ERRor? 
Returns error number/message in a switchbox Error Queue.
 

SYSTem:CDEScription? <number>
Returns description of module in a switchbox. <number> specifies which card in the switchbox (01-99).
 

SYSTem:CTYPe? <number>
Returns the module type. <number> specifies which card in the switchbox (01-99).
 

COPTion? <number>
Returns the RF Multiplexer/Expander module configuration. <number> specifies which card in the switchbox (01-99).
 

SYSTem:CPON <number> | ALL
Sets specified module to its power-on state. <number> specifies which card in the switchbox (01-99).
 
 

COMMANDS NOT SUPPORTED

 
C-SCPI does not support the commands listed.  However, these commands are still supported in the Command Module version.
 
Macro commands not supported: MEM:DEL:MACR, *DMC, *RMC, *GMC, *PMC, *LMC, and *EMC
 
Monitor commands not supported:  DISP:MON:STAT and DISP:MON:CARD
 

COMMANDS CHANGED

 
The commands listed are different than in the Command Module version.
 
ABORT can abort a scan in progress when trigger source is immediate or external (when cscpi_overlap ON).
 

QUERY COMMAND RESPONSE TYPES

 
All but the following queries will return an integer.
 

SYST:ERR?  int, quoted string
 

SYST:CTYP? string
 

SYST:CDES? quoted string
 

SYST:COPT? string
 

SYST:VERS? string
 

TRIG:SOUR? string
 

TRIG:SLOP? string
 

OPEN?      string
 

CLOS?      string
 

SCAN:MODE? string
 
 

SCAN:PORT? string
 

SETT:TIME? float
 

FUNC?      string
 

*IDN?      string
 
 

OVERLAPPING COMMANDS

 
The following commands continue execution by interrupt service routines after the command function returns to the user program (when cscpi_overlap ON):
 
*RST
 
*RCL
 
SYST:CPON
 
OPEN
 
CLOSE
 
INIT (unless scanning fets in a mixed (fet and non-fet) switchbox).
 
TRIG (unless scanning fets in a mixed (fet and non-fet) switchbox).
 
Commands may be sent to other instruments while the switch driver is finishing one of these commands.
 
The *OPC?, *WAI or *OPC commands may be used to read when the overlapping command has totally finished.
 
Commands which can run overlapped with overlapping commands:
 
If an overlapping command has been started and another command is sent to the same instrument, the second command will usually block, waiting for the previous command to finish, before executing. The following commands are the exceptions, they will run overlapped with an overlapping command:
 
*CLS
 
*OPC
 
ABORT (abort scan in progress)
 
If an overlapping command has been started and a query is sent to the same instrument, the query will usually run overlapped with the previous command.
 
The following are the exceptions, they will block, waiting for the previous command to finish prior to executing:
 
*OPC? (by definition)
 
*TST?
 
CLOS?
 
OPEN?
 
SETT:TIME?
 

ONSRQ RESTRICTIONS

 
In general, an srq function should not send commands to a switchbox while the main (foreground) program is sending commands to that instrument.
 
The following may NOT be used in an ON SRQ function which executes as an interrupt routine:
 
cscpi_overlap OFF (because the execution routines wait for an interrupt):
 
*RST
 
*RCL
 
*TST?
 
SYST:CPON
 
OPEN
 
CLOSE
 
INIT
 
TRIG
 
cscpi_overlap ON:
 
*TST?
 
INIT
 
If the SRQ function is called due to a scan complete from the same switchbox, then the commands which do not run overlapped with an overlapping command (documented above) can not be executed from the SRQ function.
 
If enabled, the following may cause an SRQ function to be executed from an interrupt routine:
 
cscpi_overlap ON:
 
Any overlapped command followed by *OPC
 
Trigger too fast error (during scan) Scan complete
  If cscpi_overlap OFF, scan complete (if enabled) will cause an SRQ function to be executed only once at the end of the last scan, even if scanning channel list multiple times (arm count > 1).

  —  December 04, 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026