Scanning Multimeter Measurements - Agilent Technologies E1326B User Manual

5 1/2 digit multimeter
Table of Contents

Advertisement

Scanning
Multimeter
Measurements
HP BASIC/WS Version
246
HP E1326B/E1411B Multimeter Register-Based Programming
The following program makes measurements using the multimeter and the
HP E1460A 64-Channel Relay Module. The configuration makes one scan
through eight channels, and takes one measurement on each channel.
10
! Initialize program variables.
20
CONTROL 16,25;2
30
Base_addr=DVAL("C600",16)
40
Base_addrm=DVAL("C640",16)
50
I=0
60
Aper=0
70
Func=0
80
Rng=0
90
! Number of channels being measured.
100
Nchan=8
110
COM I,Base_addr,Base_addrm,Aper,Func,Rng,Nchan,Chan_closed
120
! Initialize (reset) the multimeter.
130
CALL Mm_reset
140
! Open all multiplexer channels.
150
CALL Mux_reset
160
! Configure the multimeter's A/D converter.
170
! Set the function
180
CALL Peek_meas(4,0)
190
! Set the range(Autorange)
200
CALL Peek_meas(2,5)
210
! Set the aperture time
220
CALL Peek_meas(0,1)
230
! Set the autozero mode - to detect bit 5
240
CALL Peek_meas(8,0)
250
! Set the offset compensation mode(OFF)
260
CALL Peek_meas(36,0)
270
! Configure multimeter trigger system
280
! Set the trigger source
290
CALL Peek_meas(6,2)
300
! Set the trigger count (number of channels to scan)
310
CALL Peek_meas(39,0,0,8)
320
! Set the trigger delay(0s)
330
CALL Peek_meas(23,0,0,0)
340
! Set the readings per trigger (per channel)
350
CALL Peek_meas(38,0,0,1)
Continued on Next Page
! logical address 24
! logical address 25
(DCV)
(16.7 ms)
(ON)
(HOLD)
(8)
(1)
Appendix C

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1411b

Table of Contents