102
WX c
Integration Time Resolution Digits Bits
104
105
Temperature Measurement Configuration
Temperature Measurement Configuration
Temperature Measurement Configuration
Temperature , Thermocouple
109
To connect an RTD to the module’s screw terminals, see
MoX g
111
∙ Remote Interface Operation You can use the MEASure? or
To connect a thermistor to the module’s screw terminals, see
Voltage Measurement Configuration
Voltage Measurement Configuration
XW c
Mx wv tzx tx
Mx tv tzx tw tv
UW f
Resistance Measurement Configuration
Resistance Measurement Configuration
To connect resistances to the module’s screw terminals, see
Current Measurement Configuration
Current Measurement Configuration
Applies to ac current and ac voltage measurements only
117
Frequency Measurement Configuration
Frequency Measurement Configuration
Sensfreqranglow 3,@203 Select the slow timeout 3 Hz
Mx+B Scaling
Mx+B Scaling
Strain Gage Measurements on
Vy x x tx tux Xtx x
121
Alarm Limits
Alarm Limits
Ux yzx tz x y
Using the Alarm Output Lines on
Then, choose from the following alarm conditions
Alarm queue is cleared when you read the alarms 126
127
Alarms Connector
Otz x y x x vtx x x vtzx
Oxt tt
Oxt y tt
130
131
Result no alarm generated
Calccompmask command decimal
Pt tw y /wxvt 8=B0
Or result
Digital Input Operations
Digital Input Operations
Extw
Extw u
Mww 79 xtw t
Totalizer Operations
Totalizer Operations
136
137
Digital Output Operations
Digital Output Operations
DAC Output Operations
DAC Output Operations
X vxM Xx / PMO vt05
System-Related Operations
System-Related Operations
141
Extw tx x
Vx z
Xt t z uxx
Turns on. See the Uc =EC7M fxvx Twx
Exx Vxytvx bxt
Returns 0 if the self-test is successful or 1 if it fails
144
Fxt Wx 83 8EEC
Fxx
HEWLETT-PACKARD,34901A,0,X.X
System-Related Operations
148
Vtxx fOcV yx ytx5
NWkc f
Remote Interface Configuration
Remote Interface Configuration
BkcV U
151
NDC5
KDC5
Vt xx utw x ytx
Lt vx y vxw y y5
3mnCDC5
154
Calibration Overview
Calibration Overview
156
Hv w vwx
158
159
Factory Reset State
Factory Reset State
Instrument Preset State
Instrument Preset State
Multiplexer Module Default Settings
Multiplexer Module Default Settings
Module Overview
Module Overview
Sx xvyvt xtv 4w3 yx x x xv vt E5
HP 34901A 20-Channel Multiplexer
HP 34901A 20-Channel Multiplexer
Name Function Comments
Slot Number
HP 34902A 16-Channel Multiplexer
HP 34902A 16-Channel Multiplexer
167
HP 34903A 20-Channel Actuator
HP 34903A 20-Channel Actuator
169
HP 34904A 4x8 Matrix Switch
HP 34904A 4x8 Matrix Switch
Name Comments
HP 34905A/6A Dual 4-Channel RF Multiplexers
HP 34905A/6A Dual 4-Channel RF Multiplexers
173
HP 34907A Multifunction Module
HP 34907A Multifunction Module
Digital Input / Output
Slot Number 100 200
Totalizer
DAC Output
HP 34908A 40-Channel Single-Ended Multiplexer
HP 34908A 40-Channel Single-Ended Multiplexer
177
Remote Interface Reference
Remote Interface Reference
Scpi Command Summary
Scpi Command Summary
Eyy
Monitor Commands
Scpi Command Summary Scan Measurement Commands
Zz vz 99B
Zz vz 9C
Scpi Command Summary Scan Configuration Commands
Scan Memory Commands
Scpi Command Summary Scan Statistics Commands
Zz vz
Zz vz 9A
Zz vz 9E
Scpi Command Summary Scanning With an External Instrument
Zz vz 98E
Scpi Command Summary Temperature Configuration Commands
Scpi Command Summary Voltage Configuration Commands
Scpi Command Summary Resistance Configuration Commands
Zz vz Kvy vz 98 vy Ud E78N zz z5
Scpi Command Summary Current Configuration Commands
191
Scpi Command Summary Mx+B Scaling Commands
Scpi Command Summary Alarm Limit Commands
Scpi Command Summary Digital Input Commands
Totalizer Commands
Zz vz 9AB
DAC Output Commands
Scpi Command Summary Digital Output Commands
Switch Control Commands
Zz vz 9AD
State Storage Commands
Scpi Command Summary Scan Triggering Commands
Zz vz 99D
Zz vz 9B8
Zz vz 9B
Scpi Command Summary System-Related Commands
Status System Commands
Scpi Command Summary Interface Configuration Commands
Zz vz 9BE
Zz vz 9DB
Scpi Command Summary Calibration Commands
Service-Related Commands
Zz vz 9E9
Scpi Command Summary Ieee 488.2 Common Commands
Simplified Programming Overview
Simplified Programming Overview
MEASure? v z vz
CONFigure zy yvz w
INITiate xy z vy 5 iz z
Xy z y zvy
Range 41⁄2 Digits
Xv zy zyv w z FETCh? xv3 zxz z Vy vz zy vy z
Gz z READ? xvy z z
205
Xv3 ABORt x Qzxz Pzvzz vz
V v zz vzy z
MEASure? and CONFigure Commands
MEASure? and CONFigure Commands
General Measurement Configuration starting on
MEASure? Command Syntax
Yzz
MEASureTEMPerature? RTDFRTD,8591DEF
MEASureVOLTageDC? MEASureVOLTageAC?
MINMAXDEF, @
MEASureCURRentDC? MEASureCURRentAC?
MEASureRESistance? MEASureFRESistance?
Pz vz vz vzy Xv 98 vy Ud E78N zz z5
MEASureFREQuency? MEASurePERiod?
MEASureDIGitalBYTE? @
MEASureTOTalize? READRRESet ,@
MEASure? and CONFigure Commands CONFigure Command Syntax
CONFigureTEMPerature TCouple,BEJKNRSTDEF Minmaxdef ,@t
CONFigureTEMPerature RTDFRTD,8591DEF
CONFigureRESistance CONFigureFRESistance
CONFigureVOLTageDC CONFigureVOLTageAC Autominmaxdef
CONFigureCURRentDC CONFigureCURRentAC
Pzzvzz vz vzy xv 98 vy Ud E78N zz z5
CONFigureDIGitalBYTE @
CONFigureFREQuency CONFigurePERiod Autominmaxdef
CONFigureTOTalize READRRESet ,@
CONFigure? @x
Setting the Function, Range, and Resolution
Setting the Function, Range, and Resolution
See also General Measurement Configuration in starting on
SENSeFUNCtion
VOLTageACRANGe? @x
SENSe VOLTageDCRANGe? @x
RESistanceRANGe? @x
FRESistanceRANGe? @x
RESistanceRESolution? @x
SENSe VOLTageDCRESolution? @x
FRESistanceRESolution? @x
CURRentDCRESolution? @x
RESistanceAPERture? @x
SENSe VOLTageDCAPERture? @x
FRESistanceAPERture? @x
CURRentDCAPERture? @x
VOLTageDC
SENSe TEMPerature
RESistance
FRESistance
General Temperature Commands
Temperature Configuration Commands
Temperature Configuration Commands Thermocouple Commands
SENSeTEMPeratureRJUNction? @x
Thermistor Commands
Temperature Configuration Commands RTD Commands
See also Voltage Measurement Configuration in starting on
Voltage Configuration Commands
INPut IMPedanceAUTO OFFON,@x IMPedanceAUTO? @x
SENSe Zeroauto OFFONCEON,@x ZEROAUTO? @x
Current Configuration Commands
Resistance Configuration Commands
Frequency Configuration Commands
Frequency Configuration Commands
See also Frequency Measurement Configuration in starting on
Scanning Overview
Scanning Overview
See also Scanning in starting on
Scanning Overview
TRIGger SOURce BUSIMMediateEXTernalALARm1234TIMer SOURce?
Scanning Overview Scanning Commands
ROUTe Scan @ SCAN?
ROUTeSCANSIZE?
ROUTe CHANnelDELay y
TRIGger TIMer y Minmax TIMer?
CHANnelDELay? @x
TRIGger COUNt x MINMAXINFinity COUNt?
ROUTe CHANnelDELayAUTO OFFON,@x CHANnelDELayAUTO? @x
ABORt
INITiate
Scanning Overview Reading Format Commands
FORMat READingALARm Offon READingALARm?
FORMat READingCHANnel Offon READingCHANnel?
FORMat READingUNIT Offon READingUNIT?
FORMat READingTIME Offon READingTIME?
FORMat READingTIMETYPE ABSoluteRELative READingTIMETYPE?
Hz vxz
CALCulateAVERageMINimum? @x
Scanning Overview Scan Statistics Commands
CALCulateAVERageMINimumTIME? @x
CALCulateAVERageMAXimum? @x
CALCulateAVERagePTPeak? @x
CALCulateAVERageAVERage? @x
CALCulateAVERageCOUNt? @x
CALCulateAVERageCLEar @x
Scanning Overview Scan Memory Commands
DATAPOINts?
DATAREMove? t
SYSTemTIMESCAN?
See Reading Format Commands on
FETCh?
? tx
Single-Channel Monitoring Overview
Single-Channel Monitoring Overview
ROUTe MONitor @xvz MONitor?
ROUTe MONitorSTATe Offon MONitorSTATe?
ROUTeMONitorDATA?
Scanning With an External Instrument
TRIGger SOURce BUSIMMediateEXTernalTIMer SOURce?
TRIGger COUNt z MINMAXINFinity COUNt?
Y z v Qaa ywy y Ud EC7N5
ROUTe CHANnelFWIRe Offon ,@x CHANnelFWIRe? @x
INSTrumentDMMINSTalled?
INSTrument
Mx+B Scaling Overview
Mx+B Scaling Overview
See also Mx+B Scaling in starting on
CALCulate SCALeGAIN v ,@xt SCALeGAIN? @x
Mx+B Scaling Overview Mx+B Scaling Commands
CALCulate SCALeOFFSet ,@xt SCALeOFFSet? @x
CALCulate SCALeUNIT zyt SCALeUNIT? @x
CALCulate SCALeSTATe OFFON,@x SCALeSTATe? @x
CALCulateSCALeOFFSetNULL @x
Alarm System Overview
Alarm System Overview
See also Alarm Limits in starting on
Alarm System Overview
Calclimitupper MAX,@101LOWER 9,@101LOWERSTATE on
OUTPut ALARm1234SOURce @xt ALARm1234SOURce?
Alarm System Overview Alarm Limit Commands
CALCulate LIMitUPPer z LIMitUPPer? @x
CALCulate LIMitUPPerSTATe OFFON,@xt LIMitUPPerSTATe? @x
SYSTemALARm?
CALCulate LIMitLOWer z LIMitLOWer? @x
CALCulate LIMitLOWerSTATe OFFON,@xt LIMitLOWerSTATe? @x
OUTPut ALARmMODE LATChTRACk ALARmMODE?
Alarm System Overview Alarm Output Commands
OUTPut ALARmSLOPe NEGativePOSitive ALARmSLOPe?
Vz xvz z5
Alarm System Overview Digital I/O Alarm Commands
CALCulate COMPareTYPE EQUalNEQual,@x COMPareTYPE? @x
CALCulate COMPareDATA yvv ,@xt COMPareDATA? @x
CALCulate COMPareSTATe OFFON,@x COMPareSTATe? @x
CALCulate COMPareMASK COMPareMASK? @x
Digital Input Commands
See also Digital Input Operations in starting on
SENSeDIGitalDATABYTEWORD? @x
Totalizer Commands
SENSe TOTalizeTYPE READRRESet,@x TOTalizeTYPE? @x
See also Totalizer Operations in starting on
SENSe TOTalizeSLOPe NEGativePOSitive,@x TOTalizeSLOPe? @x
Commands see Reading Format Commands on
SENSeTOTalizeCLEarIMMediate @x
SENSeTOTalizeDATA? @x
DAC Output Commands
Digital Output Commands
SOURce DIGitalDATABYTEWORD yvv ,@xt DIGitalDATABYTEWORD? @x
SOURceDIGitalSTATe? @x
Switch Control Commands
ROUTe CLOSe @x CLOSeEXCLusive @x CLOSe? @x
ROUTe Open @x OPEN? @x
ROUTeDONE?
ROUTe CHANnelFWIRe Offon , @ CHANnelFWIRe? @
SYSTemCPON 100200300ALL
Zv z
State Storage Commands
SAV
RCL
MEMorySTATeDELete
MEMorySTATe Name 12345 ,z NAME?
RECallAUTO?
MEMorySTATeVALid?
MEMoryNSTates?
SYSTemDATE 3 3yy
System-Related Commands
SYSTemDATE?
SYSTemTIME 3
DIAGnostic Pokeslotdata 100200300, zyt PEEKSLOTDATA?
Oz v 7
SYSTemCTYPe?
DISPlay Offon DISPlay?
DISPlay Text zyt
DISPlayTEXTCLEar
INSTrument DMM Offon
SYSTemPRESet
Fxz5
Gfxz5
SYSTemERRor?
Gzz xv v xz z Ud EC7N z vz5
SYSTemVERSion?
Interface Configuration Commands
RS-232 Interface Configuration
RS-232 Interface Configuration
Gh6 Sy d
Gh6
Yzv Or xz xvwz
Gh6 Tyyy
Ud EC7N
Modem Communications
Modem Communications
Zz yz
For more information, see Flow Control Selection on
Ny y S gO
Scpi Status System
Ny yO
Ny yy gO
HP 34970A Status System
Decimal Bit Number
Bit Definitions Status Byte Register
Definition
128
Ghgf2 y
Gzv d zzxzy vz hzz3 yxv w gzv d xzv Yxvz vzx Xz5 iz z
Vvzz v xz Xzy wz zzx v gzv d5
S S
Ly QQm2
512
Bit Definitions Questionable Data Register
1024
2048
Scpi Status System
Bit Definitions Standard Event Register
Scpi Status System
Bit Definitions Alarm Register
Bit Definitions Standard Operation Register
Dy g
Status Byte Register Commands
Status System Commands
Vv xzy xvz C z z Gv g fz5 fzzvz
Gzz z wz vz 9CC z zz wz
STATusQUEStionableENABle zv STATusQUEStionableENABle?
Status System Commands Questionable Data Register Commands
Gzz z wz vz 9D7 z zz wz
STATusQUEStionableCONDition?
Status System Commands Standard Event Register Commands
Gzz z wz vz 9D9 z zz wz
ESE zv
STATusALARmCONDition?
Status System Commands Alarm Register Commands
STATusALARmEVENt?
STATusALARmENABle zv STATusALARmENABle?
STATusOPERationENABle zv STATusOPERationENABle?
Status System Commands Standard Operation Register Commands
Gzz z wz vz 9DA z zz wz
STATusOPERationCONDition?
STATusPRESet
Miscellaneous Status Register Commands
DATAPOINtsEVENtTHReshold t DATAPOINtsEVENtTHReshold?
PSC
CALibration?
Calibration Commands
CALibrationCOUNt?
CALibrationSECureCODE txyz
CALibrationSTRing zyt
CALibrationSECureSTATe OFFON,xyz CALibrationSECureSTATe?
CALibrationSTRing?
CALibrationVALue z CALibrationVALue?
DIAGnosticDMMCYCLes?
Service-Related Commands
DIAGnosticDMMCYCLesCLEar
DIAGnosticRELayCYCLes? @x
WAI
Preset state. h xy zz zzxPRESET z fxz5
An Introduction to the Scpi Language
An Introduction to the Scpi Language
Scpi gvyvy Py vw V is an
Syy i byy
Routchandelay 1TRIGSOUR EXT
Fy h
HSeY Sy
Wvvxz
HSeY ey
Channel list parameters specify one or
Using Device Clear
Using Device Clear
Hz ABORt x xyzy v vz v
Page
∙ x o u
Error
102
Execution Errors 101
103
105
121
Execution Errors 114j
123
124
178
Execution Errors 168
211
213
310 350
Execution Errors 230
410
420
201
Instrument Errors 111
202
203
225
Instrument Errors 221
226
251
271
Instrument Errors 261
272
281
305
Instrument Errors 303
306
307
502
Instrument Errors 501
511
512
601 602
Self-Test Errors
603
604
701
Calibration Errors
702 703
704
721
Calibration Errors 710 720
722
723
Error Messages
Page
BA8
G68
Example Programs for Excel
Insert
VISAaddr =
Excel 7.0 Example takeReadings Macro
BAB
BAC
Dim columnIndex As Integer
Excel 7.0 Example ScanChannels Macro
BAF
BAG
Example Programs for C and C++
Ck qdnT User’s Guide6 o
Ck qdnT User’s Guide6
++ Example dacout.c
++ Example statreg.c
BB9
Page
AFF
ABA
AG8
AG=
Lz k
System Cabling and Connections
Gz bz 0z
Uzz
Cable Type Nominal Impedance Capacitance Attenuation
99=
LvLv
3uqyu
Copper-to
Uj m
GxuuB
Gxuyw qs u
Wuq
Measurement Fundamentals
Z Uff4 Refer to Measurement Input on
Integration Time PLCs
Wsu
Qysq Dxu qsuvqsu ytu qsusyvysq Vq tu4
Bz mz 9GG8
Measurement Fundamentals
Internal DMM
Internal DMM Ice Bath
Ez b
Measurement Fundamentals
Iron Constantan
Temperature Probe Type Pos + Lead Neg Lead
Nickel-Chromium Nickel-Aluminum
Copper Constantan
Z4 z
ABC
MWW2
99A
Nm w