E1460A()
NAME
E1460A − SCPI Commands Quick Reference
DESCRIPTION
The following is a SCPI command quick reference for the HP E1460A 64-Channel Relay Multiplexer. 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
ABORt Abort a scan in progress.
ARM:COUNt <number> MIN | MAX
Multiple scans per INIT command. <number> can be 1-32767.
ARM:COUNt?[MIN | MAX]
Query number of scans.
INITiate:CONTinuous ON | OFF | 1 | 0
Enables (ON or 1) or disables (OFF or 0) continuous scanning.
INITiate:CONTinuous?
Query continuous scan state. Returns 1 if enabled and 0 if disabled.
INITiate[:IMMediate]
Starts a scanning cycle.
OUTPut[:STATe] ON | OFF | 1 | 0
(not supported with MXIbus Extender card as slot 0.) Enables (ON or 1) or disables (OFF or 0) "Trigger Out" pulse.
OUTPut:STATe?
(not supported with MXIbus Extender card as slot 0.) Query port enable state. Returns 1 if enabled and 0 if disabled.
OUTPut:EXTernal:STATe ON | OFF | 1 | 0
(not supported with MXIbus Extender card as slot 0.) Enables (ON or 1) or disables (OFF or 0) "Trigger Out" pulse.
OUTPut:EXTernal[:STATe]?
(not supported with MXIbus Extender card as slot 0.) Query port enable state. Returns 1 if enabled and 0 if disabled.
OUTPut:ECLTrg<line>:STATe ON | OFF | 1 | 0
(not supported with MXIbus Extender card as slot 0.) Enables (ON or 1) or disables (OFF or 0) ECL Trigger bus line pulse. <line> can be ECLTrg 0 or 1.
OUTPut:ECLTrg<line>[:STATe]?
(not supported with MXIbus Extender card as slot 0.) Query ECL Trigger bus line state. <line> can be ECLTrg 0 or 1. Returns 1 if line is enabled and 0 if disabled.
OUTPut:TTLTrg<line>:STATe ON | OFF | 1 | 0
Enables (ON or 1) or disables (OFF or 0) TTL Trigger bus line pulse. <line> can be TTLTrg 0-7.
OUTPut:TTLTrg<line>[:STATe]?
Query TTL Trigger bus line state. <line> can be TTLTrg 0-7. Returns 1 if line is enabled and 0 if disabled.
[ROUTe:]CLOSe <channel_list>
Close channel(s). <channel_list> takes the form (@ss0hbc) where ss = card number (01-99), 0h = one-wire mode (only high/low switching (00 or 01), b= bank number (0-7), and c = channel number (0-7). A comma can be used for multiple channels (@ss0hbc,ss0hbc), or a colon can be used for sequential channels (@ss0hbc:ss0hbc). When closing a channel in three- or four-wire modes, only the lower bank (0-3) is specified. The upper bank pair (4-7) will automatically close the specified channel.
[ROUTe:]CLOSe? <channel_list>
Query channel(s) closed. <channel_list> takes the form (@ss0hbc) where ss = card number (01-99), 0h = one-wire mode (only high/low switching (00 or 01), b= bank number (0-7), and c = channel number (0-7). A comma can be used for multiple channels (@ss0hbc,ss0hbc), or a colon can be used for sequential channels (@ss0hbc:ss0hbc). When configured for three- or four-wire modes, the upper bank pair (4-7) cannot be queried. Returns 1 if channel is closed and 0 if open.
[ROUTe:]FUNCtion <card_number>, WIRE1 | WIRE2 | WIRE3 | WIRE4
Set operating mode. <card_number> specifies which card in the switchbox (01-99).
[ROUTe:]FUNCtion? <card_number>
Query operating mode. <card_number> specifies which card in the switchbox (01-99). Returns WIRE1, WIRE2, WIRE3, or WIRE4.
[ROUTe:]OPEN <channel_list>
Open channel(s). <channel_list> takes the form (@ss0hbc) where ss = card number (01-99), 0h = one-wire mode (only high/low switching (00 or 01), b= bank number (0-7), and c = channel number (0-7). A comma can be used for multiple channels (@ss0hbc,ss0hbc), or a colon can be used for sequential channels (@ss0hbc:ss0hbc). When closing a channel in three- or four-wire modes, only the lower bank (0- 3) is specified. The upper bank pair (4-7) will automatically close the specified channel.
[ROUTe:]OPEN? <channel_list>
Query channel(s) opened. <channel_list> takes the form (@ss0hbc) where ss = card number (01-99), 0h = one-wire mode (only high/low switching (00 or 01), b= bank number (0-7), and c = channel number (0-7). A comma can be used for multiple channels (@ss0hbc,ss0hbc), or a colon can be used for sequential channels (@ss0hbc:ss0hbc). When configured for three- or four-wire modes, the upper bank pair (4- 7) cannot be queried. Returns 1 if channel is open and 0 if closed.
[ROUTe:]SCAN <channel_list>
Define channels for scanning. <channel_list> takes the form (@ss0hbc) where ss = card number (01-99), 0h = one-wire mode (only high/low switching (00 or 01), b= bank number (0-7), and c = channel number (0-7). A comma can be used for multiple channels (@ss0hbc,ss0hbc), or a colon can be used for sequential channels (@ss0hbc:ss0hbc).
[ROUTe:]SCAN:MODE NONE | VOLT | RES | FRES
Sets scan mode.
[ROUTe:]SCAN:MODE?
Query scan mode. Returns NONE, VOLT, RES, or FRES.
[ROUTe:]SCAN:PORT NONE | ABUS
Select Analog Bus.
[ROUTe:]SCAN:PORT?
Query Analog Bus state. Returns NONE or ABUS
STATus:OPERation[:EVENt]?
Returns status of Operation Status Register. Returns a decimal weighted value from 0 to 256 indicating which bits are set to true.
STATus:OPERation:ENABle <number>
Enables the Operation Status Register to set a bit in the Status Register. <number> can be 1 to 32767.
STATus:OPERation:ENABle?
Query the contents in the Operation Status Register. Returns a decimal weighted value from 0 to 65535 indicating which bits are set true.
SYSTem:CDEScription? <number>
Returns description of module in a switchbox. <number> specifies which card in the switchbox (01-99).
SYSTem:CPON <number> | ALL
Sets specified module to its power-on state (except FUNCtion). <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).
SYSTem:ERRor?
Returns error number/message in a switchbox Error Queue.
TRIGger[:IMMediate]
Causes a trigger to occur.
TRIGger:SLOPe NEG
Negative trigger slope.
TRIGger:SLOPe?
Query scan trigger slope. Always returns NEG.
TRIGger:SOURce BUS | EXT | HOLD | IMM | TTLTrg<line> | ECLTrg<line>
(EXT and ECLT parameters not supported with MXIbus Extender card as slot 0.) Causes trigger event to occur. BUS uses *TRG, EXT uses Event IN, HOLD suspends triggering, IMM causes immediate triggering, TTLTrg<line> uses TTL trigger bus line 0-7, and ECLTrg<line> uses trigger bus line 0-1.
TRIGger:SOURce?
(EXT and ECLT parameters not supported with MXIbus Extender card as slot 0.) Query scan trigger source. BUS, EXT, HOLD, IMM, TTLT, or ECLT is returned.
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
Trigger commands not supported with MXIbus Extender Card as slot 0: OUTP:EXT:STAT ON | OFF, OUTP:ECLT:STAT ON | OFF, OUTP:STAT ON | OFF, TRIG:SOUR:EXT, and TRIG:SOUR:ECLT (Only EXT and ECLT parameters are not supported for this configuration. All other parameters are supported.)
In order to use the TRIG SMB connectors on the HP E1482B MXIbus Extender card, you must route the EXT trigger lines to the TTL trigger lines. This can be done by setting the MXIbus Trigger Configuration Register on the MXIbus Extender card. See the Compiled SCPI User’s Guide for a programming example.
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
FUNC (only E1460 supports)
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?
FUNC? (only E1460 supports)
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
FUNC (only E1460 supports)
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 07, 1992