Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

E1411B()

 

NAME

E1411B − SCPI Commands Quick Reference
 

DESCRIPTION

 
The following is a SCPI command quick reference for the HP E1411B Multimeter.  This quick reference provides:
 
Command Descriptions
 
Commands Not Supported
 
Commands Changes
 
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 Place multimeter in idle state. 
 

CALibration:LFRequency 50 | 60 | MIN | MAX
Change line reference frequency.
 

CALibration:LFRequency? [MIN | MAX]
Query line reference frequency.
 

CALibration:ZERO:AUTO OFF | 0 | ON | 1
Enable/disable autozero mode.
 

CALibration:ZERO:AUTO? 
Query autozero mode. Returns 1 if ON and 0 if OFF.
 

CONFigure:FRESistance [<range>[,<resolution>]][,<channel_list>]
Configure multimeter for 4-wire ohms. <range> can be 232, 1861, 14894, 119156, 1048576, AUTO, DEF, MIN, or MAX ohms.  <resolution> see table in VXI user’s manual. <channel_list> depends on what cards are attached.
 

CONFigure:RESistance [<range>[,<resolution>]],<channel_list>
Configure multimeter for 2-wire ohms. <range> can be 232, 1861, 14894, 119156, 1048576, AUTO, DEF, MIN, or MAX ohms.  <resolution> see table in VXI user’s manual. <channel_list> depends on what cards are attached.
 
 

CONFigure:TEMPerature <transducer>,<type>[,<channel_list>]
Configure multimeter for temperature. <transducer> can be TCouple, THERmistor, FTHermistor, RTD, or FRTD. <type> can be B, E, J, K N14, N28, R, S, T for a TCouple; 2252, 5000, 10000 for THERmistor and FTHermistor; 85 or 92 for RTD and FRTD. <channel_list> depends on the cards attached.
 

CONFigure:VOLTage:AC [<range>[,<resolution>]][,<channel_list>]
Configure multimeter for AC voltage. <range> can be 0.0795V, 0.63V, 5.09V, 40.7V, 300V, AUTO, DEF, MIN, or MAX.  <resolution> see table in VXI user’s manual. <channel_list> depends on the cards attached.
 

CONFigure:VOLTage[:DC] [<range>[,<resolution>]][,<channel_list>]
Configure multimeter for DC voltage. <range> can be 0.113V, 0.91V, 7.27V, 51.8V, 300V, AUTO, DEF, MIN, or MAX.  <resolution> see table in VXI user’s manual. <channel_list> depends on the cards attached.
 

CONFigure? 
Query multimeter configuration. Returns quoted string to the output buffer.   <function> <parameter>,<parameter>.
 

FETCh? 
Place stored readings in output buffer.
 

FORMat[:DATA] <type>[,<length>]
Select output data format. <type> is ASCII or REAL, and <length> is 32 or 64.
 

INITiate[:IMMediate]
Place multimeter in wait-for trigger state.
 

MEASure:FRESistance? [<range>[,<resolution>]][,<channel_list>]
Make 4-wire ohms measurements. <range> can be 232, 1861, 14894, 119156, 1048576, AUTO, DEF, MIN, or MAX ohms.  <resolution> see table in VXI user’s manual. <channel_list> depends on what cards are attached.
 

MEASure:RESistance? [<range>[,<resolution>]],<channel_list>
Make 2-wire ohms measurements. <range> can be 232, 1861, 14894, 119156, 1048576, AUTO, DEF, MIN, or MAX ohms.  <resolution> see table in VXI user’s manual. <channel_list> depends on what cards are attached.
 

MEASure:TEMPerature? <transducer>,<type>[,<channel_list>]
Make temperature measurements. <transducer> can be TCouple, THERmistor, FTHermistor, RTD, or FRTD. <type> can be B, E, J, K N14, N28, R, S, T for a TCouple; 2252, 5000, 10000 for THERmistor and FTHermistor; 85 or 92 for RTD and FRTD. <channel_list> depends on the cards attached.
 

MEASure:VOLTage:AC? [<range>[,<resolution>]][,<channel_list>]
Make AC voltage measurements. <range> can be 0.0795V, 0.63V, 5.09V, 40.7V, 300V, AUTO, DEF, MIN, or MAX.  <resolution> see table in VXI user’s manual. <channel_list> depends on the cards attached.
 

MEASure:VOLTage[:DC]? [<range>[,<resolution>]][,<channel_list>]
Make DC voltage measurements. <range> can be 0.113V, 0.91V, 7.27V, 51.8V, 300V, AUTO, DEF, MIN, or MAX.  <resolution> see table in VXI user’s manual. <channel_list> depends on the cards attached.
 

MEMory:VME:ADDRess <address>
Set address of memory on VME card or user array. <address> can be a valid array address.
 

MEMory:VME:ADDRess? [MINimum | MAXimum]
Query VME memory location (address).
 

MEMory:VME:SIZE <bytes>
Amount of memory used on VME card.
 

MEMory:VME:SIZE? [MINimum | MAXimum]
Query amount of VME memory used.
 

MEMory:VME:STATE <mode>
Direct readings to memory. <mode> is OFF, 0, ON, or 1.
 

MEMory:VME:STATE? 
Query VME memory mode. Returns 1 if ON and 0 if OFF.
 

OUTPut:TTLTrg0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 [:STATe] OFF | 0 | ON | 1
Send voltmeter complete to VXIbus trigger lines.
 

OUTPut:TTLTrg0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 [:STATe]? 
Query voltmeter complete destination. Returns 1 if ON and 0 if OFF.
 

READ? 
Place multimeter in wait-for trigger state; place readings in output buffer.
 

SAMPle:COUNt 1-16777215 | MIN | MAX
Set number of readings/trigger.
 

SAMPle:COUNt? [MIN | MAX]
Query number of readings/trigger.
 

SAMPle:SOURce IMM | TIMer
Set pacing source.
 

SAMPle:SOURce? 
Query pacing source. Returns IMM or TIM.
 

SAMPle:TIMer 76 micros-65.534 ms | MIN | MAX
Define period between readings.
 

SAMPle:TIMer? [MIN | MAX]
Query period between readings.
 

[SENSe]FUNCtion[:<function>]
Select measurement function. <function> can be FRESistance, VOLTage:AC, or VOLTage[:DC].
 

[SENSe]FUNCtion? 
Query measurement function. Returns FRES, VOLT:AC, or VOLT (for VOLT:DC).
 

[SENSe]RESistance:APERture <time> | MIN | MAX
Set integration time in seconds. <time> can be 10 microsec, 100 microsec, 2.5 ms, 16.7 ms, 20 ms, 267 ms, 320 ms, MIN, or MAX.
 

[SENSe]RESistance:APERture? [MIN | MAX]
Query aperture time.
 

[SENSe]RESistance:NPLC <number> | MIN | MAX
Set integration time in PLCs. <number> can be 0.0005, 0.005, 0.125, 1, 16, MIN, or MAX.
 

[SENSe]RESistance:NPLC? [MIN | MAX]
Query integration time.
 

[SENSe]RESistance:OCOMpensated OFF | 0 | ON | 1
Enable (ON or 1) or disable (OFF or 0) offset compensation.
 

[SENSe]RESistance:OCOMpensated? 
Query offset compensation mode. Returns 1 if enabled and 0 if disabled.
 

[SENSe]RESistance:RANGe:AUTO OFF | 0 | ON | 1
Enable/disable autoranging.
 

[SENSe]RESistance:RANGe:AUTO? 
Query autorange mode. Returns 1 if enabled and 0 if disabled.
 

[SENSe]RESistance:RANGe <range> | MIN | MAX
Select range. <range> can be 256, 2048, 16384, 131072, 1048576, MIN, or MAX ohms.
 

[SENSe]RESistance:RANGe? [MIN | MAX]
Query range.
 

[SENSe]RESistance:RESolution <resolution> | MIN | MAX
Specify resolution. See table in VXI user’s manual for information on <resolution>.
 

[SENSe]RESistance:RESolution? [MIN | MAX]
Query resolution.
 

[SENSe]VOLTage:AC:RANGe <range> | MIN | MAX
Select range. <range> can be 0.0875, 0.7, 5.6, 44.8, 300, MIN, or MAX volts.
 

[SENSe]VOLTage:AC:RANGe? [MIN | MAX]
Query range.
 

[SENSe]VOLTage:APERture <time> | MIN | MAX
Set integration time in seconds. <time> can be 10 micosec, 100 microsec, 2.5 ms, 16.7 ms, 20 ms, 267 ms, 320 ms, MIN, or MAX.
 

[SENSe]VOLTage:APERture? [MIN | MAX]
Query aperture time.
 

[SENSe]VOLTage[:DC]:RANGe <range> | MIN | MAX
Select range. <range> can be 0.125V, 1.0V, 8.0V, 64.0V, 300V, MIN, or MAX.
 

[SENSe]VOLTage[:DC]:RANGe? [MIN | MAX]
Query range.
 

[SENSe]VOLTage:NPLC <number> | MIN | MAX
Set integration time in PLCs. <number> can be .0005, .005, ,125, 1, 16, MIN, or MAX PLCs.
 

[SENSe]VOLTage:NPLC? [MIN | MAX]
Query integration time.
 

[SENSe]VOLTage:RANGe:AUTO OFF | 0 | ON | 1
Enable (ON or 1) or disable (OFF or 0) autoranging.
 

[SENSe]VOLTage:RANGe:AUTO? 
Query autorange mode. Returns 1 if enabled or 0 if disabled.
 

[SENSe]VOLTage:RESolution <resolution>
Specify resolution. See table in VXI user’s manual for table on <resolution>.
 

[SENSe]VOLTage:RESolution? [MIN | MAX]
Query resolution.
 

STATus:QUES:CONDition? 
Returns the contents of the Questionable Data/Signal Condition Register.  Returns a decimal weighted value from 0 to 7680 indicating which bits are true.
 

STATus:QUES:ENABle <number>
Used to set conditions in the Questionable Data/Signal Enable Status Register.  <number> is 0 to 65535.
 

STATus:QUES:ENABle? 
Returns the contents of the Questionable Data/Signal Enable Status Register.  Returns a decimal weighted value.
 

STATus:QUES[:EVENt?]
Returns the contents of the Questionable Data/Signal Event Register.  Returns a decimal weighted value.
 

SYSTem:ERRor? 
Return error number/message from error queue.
 

SYSTem:CDEScription? <card_number>
Return description of multiplexer in scanning multimeter. <card_number> specifies what card (01-99).
 

SYSTem:CTYPe? <card_number>
Return card type of multiplexer in scanning multimeter. <card_number> specifies what card (01-99).
 

TRIGger:COUNt 1-16777215 | MIN | MAX
Set number of triggers or scans.
 

TRIGger:COUNt? [MIN | MAX]
Query trigger count.
 

TRIGger:DELay:AUTO OFF | 0 | ON | 1
Enable (ON or 1) or disable (OFF or 0) automatic trigger delay.
 

TRIGger:DELay:AUTO? 
Query automatic trigger delay mode. Returns 1 if enabled and 0 if disabled.
 

TRIGger:DELay 0-16.777215 s | MIN | MAX
Set delay between trigger and start of measurement.
 

TRIGger:DELay? [MIN | MAX]
Query trigger delay.
 

TRIGger[:IMMediate]
Trigger immediately.
 

TRIGger:SOURce BUS | EXT | HOLD | IMM | TTLTrg0-TTLTrg7
Specifies the trigger source. BUS uses *TRG, EXT is "Event In" BNC, HOLD holds off triggering, IMM is Continuous (internal) triggers, and TTLTrg0-TTLTrg7 specifies VXIbus trigger line 0-7.
 

TRIGger:SOURce? 
Query scan trigger source. BUS, EXT, HOLD, or IMM 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:  *DMC, *GMC, *PMC, *LMC, *EMC, *RMC, MEM:DEL:MACR, and SYST:PIM
 
Monitor commands not supported:  DISP:MON:STAT and DISP:MON:CHAN
 
Learn command not supported:  *LRN
 

COMMANDS CHANGED

 
 
The commands listed are different than in the Command Module version.
 
The MEM:VME:ADDR parameter is a user pointer instead of an absolute VME address.  To store readings from INIT directly to a user array use float array[reading_count];
 
      INST_SEND(vm, "MEM:VME:ADDR %d", (long) array);
 
      INST_SEND(INIT);
 
To store readings in an external VME memory card, use the HP SICL function imap() to get the user address of the memory card and pass that address to INST_SEND.  The VME card must support D32 transfers.
 
 
READ? is the same as INIT; FETCH?   The information in the User’s manual about INIT, READ? and output buffers is not relevant to the Compiled SCPI implementation.  In Compiled SCPI, MEAS:...? and READ? are identical to INIT in requiring reading buffer storage.  If you get an out of memory error, have your system administrator increase the maximum data size allowed for user programs.
 
 

QUERY COMMAND RESPONSE TYPES

 
All other query commands return an integer.
 

CAL:VALUE?  double
 

CONF?  quoted string
 

FETCH?, READ?, MEAS? 
array of float (FORMAT REAL,64 command may be sent to change to array of double)
 

FORMAT? string, integer
 

ROUT:FUNC? string
 

SENS:FUNC?  quoted string
 

SENS:RES:APER?  float
 

SENS:VOLT:APER?  float
 

SENS:RES:NPLC?  float
 

SENS:VOLT:NPLC?  float
 

SENS:RES:RANG?  float
 

SENS:VOLT:RANG?  float
 

SENS:RES:RES?  float
 

SENS:VOLT:RES?  float
 

STR:GFAC?  float array
 

STR:POIS?
float array
 

STR:UNST?
double array
 

SYST:CTYP? string
 

SYST:CDES? quoted string
 

SYST:ERR?
int, quoted string
 

SYST:VER?
string
 

TRIG:DEL?
double
 

TRIG:SLOP
string
 

TRIG:SOUR
string
 

SAMP:SOUR
string
 

*IDN?  string
 

OVERLAPPING COMMANDS

 
The following slow commands continue execution as interrupts after the command function returns to the user program:
 
SENS:FUNC
 
SENS:[VOLT | RES]:APER
 
SENS:[VOLT | RES]:NPLC
 
SENS:[VOLT | RES]:RES
 
CONF:....
 
INIT  (for aperture >= 2.5 ms)
 
*RCL
 
*RST
 
This feature may be used to set up other instruments while the HP E1326 is also finishing a command. The *OPC? or *OPC commands may be used to read when the overlapping command has totally finished.
 

ONSRQ RESTRICTIONS

 
The following commands can not be used in SRQ handlers which execute as an interrupt routine since they internally call iwaithandler:
 
if cscpi_overlap off
 
SENS:FUNC
 
SENS:[VOLT | RES]:APER
 
SENS:[VOLT | RES]:NPLC
 
SENS:[VOLT | RES]:RES
 
CONF:....
 
*RCL
 
*RST
 
INIT, READ?, MEAS?  (for aperture >= 2.5 ms) or with 1460 scanners
 
 
The following commands may cause an SRQ handler to execute from an interrupt routine if SRQ is enabled on the condition:
 
Any overlapped command followed by the *OPC command with cscpi_overlap on.
 
An INIT, READ? or MEAS? command with aperture >= 2.5 ms which sets the error bit from a timer too fast error.
 

  —  December 08, 1992

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