E1466A()
NAME
E1466A − SCPI Commands Quick Reference
DESCRIPTION
The following is a SCPI command quick reference for the HP E1466A Matrix Switch. 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 to 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 (@ssrrcc) where ss = card number (01-99) and rr = row number (00-03), and cc = column number (00-63). A comma can be used to specify multiple channels (@ssrrcc,ssrrcc,ssrrcc), and a colon can be used to specify sequential channels (@ssrrcc:ssrrcc).
[ROUTe:]CLOSe? <channel_list>
Query channel(s) closed. <channel_list> takes the form (@ssrrcc) where ss = card number (01-99) and rr = row number (00-03), and cc = column number (00-63). A comma can be used to specify multiple channels (@ssrrcc,ssrrcc,ssrrcc), and a colon can be used to specify sequential channels (@ssrrcc:ssrrcc). Returns 1 if channel is closed and 0 if open.
[ROUTe:]OPEN <channel_list>
Open channel(s). <channel_list> takes the form (@ssrrcc) where ss = card number (01-99) and rr = row number (00-03), and cc = column number (00-63). A comma can be used to specify multiple channels (@ssrrcc,ssrrcc,ssrrcc), and a colon can be used to specify sequential channels (@ssrrcc:ssrrcc).
[ROUTe:]OPEN? <channel_list>
Query channel(s) opened. <channel_list> takes the form (@ssrrcc) where ss = card number (01-99) and rr = row number (00-03), and cc = column number (00-63). A comma can be used to specify multiple channels (@ssrrcc,ssrrcc,ssrrcc), and a colon can be used to specify sequential channels (@ssrrcc:ssrrcc). Returns 1 if channel is open and 0 if closed.
[ROUTe:]SCAN <channel_list>
Define channels for scanning. <channel_list> takes the form (@ssrrcc) where ss = card number (01-99) and rr = row number (00-03), and cc = column number (00-63). A comma can be used to specify multiple channels (@ssrrcc,ssrrcc,ssrrcc), and a colon can be used to specify sequential channels (@ssrrcc:ssrrcc).
STATus:OPERation[:EVENt]?
Returns status of Operation Status Register. Returns +256 if bit 8 is set to 1 and 0 if set to 0.
STATus:OPERation:ENABle <number>
Enables the Operation Status Register to set a bit in the Status Register. <number> can be 0 - 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. <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 to error queue.
TRIGger[:IMMediate]
Causes a trigger to occur.
TRIGger:SOURce BUS | EXT | HOLD | IMM | TTLTrg
(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, and TTLTrg specifies VXIbus triggering lines (0-7).
TRIGger:SOURce?
(EXT and ECLT parameters not supported with MXIbus Extender card as slot 0.) Query scan trigger source. BUS, EXT, HOLD, IMM, or TTLT 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
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 07, 1992