User`s manual

Stand-Alone
Multimeter
Measurements
The following program makes measurements using the stand-alone
multimeter. The configuration shown makes five bursts of five
measurements each, and displays the readings on a terminal.
HP BASIC/WS Version
10 !Initialize program variables.
20 CONTROL 16,25;2
30 Base_addr=DVAL("C600",16) !
logical address 24
40 Aper=0
50 Func=0
60 Rng=0
70 COM Base_addr,Aper,Func,Rng
80 !
Initialize (reset) the multimeter.
90 CALL Mm_reset
100 !
Configure the multimeter’s A/D converter.
110 !Set the function (DCV)
120 CALL Peek_meas(4,0)
130 !
Set the range (8V)
140 CALL Peek_meas(2,2)
150 !
Set the aperture time (16.7 ms)
160 CALL Peek_meas(0,1)
170 !
Set the autozero mode (OFF)
180 CALL Peek_meas(8,1)
190 !
Set the offset compensation mode (OFF)
200 CALL Peek_meas(36,0)
210 !
Configure multimeter trigger system
220 !Set the trigger source (HOLD)
230 CALL Peek_meas(6,2)
240 !
Set the trigger count (number of bursts) (5)
250 CALL Peek_meas(39,0,0,5)
260 !
Set the trigger delay (0s)
270 CALL Peek_meas(23,0,0,0)
280 !
Set the sample count (number of readings/burst) (5)
290 CALL Peek_meas(38,0,0,5)
300 !
Set sample source (IMMEDIATE)
310 CALL Peek_meas(7,0)
320 !
Set the sample rate (set if sample source is Timer) (1)
330 !CALL Peek_meas(10,0,70)
340 !Place (arm) the multimeter in the wait-for-trigger state
350 CALL Peek_meas(12,1)
Continued on Next Page
234 HP E1326B/E1411B Multimeter Register-Based Programming Appendix C