Multiple High-Speed Scans
This example shows how a scanning multimeter consisting of the HP E1326B
multimeter and HP E1351A FET multiplexer is programmed for multiple scans
at a 13 kHz rate. The program scans 16 channels 100 times.
10
!
Dimension a controller array to store the readings.
20
DIM Rdgs(1:1600)
30
!
Reset the multimeter, turn monitor mode off, and then download the
40
!
channel list to the FET multiplexer.
50
OUTPUT 70903;"*RST"
60
OUTPUT 70903;"*OPC?"
70
OUTPUT 70903;"DIAG:FETS 1"
80
ENTER 70903;Rst_done
90
OUTPUT 70903;"DISP:MON OFF"
100
OUTPUT 70903;"CONF:VOLT:DC 7.27,MAX,(@100:115)"
110
!
Configure the multimeter for a burst of measurements. Specify a fixed
120
!
range (7.27), a 10
µ
s aperture time (MAX), turn autozero off, and set a
130
!
76
µ
s sample period (SAMP:TIM MIN). The number of measurements
140
!
(sample count) is determined by multiplying the number of channels times
150
!
the number of scans. In this example, 16 channels are scanned 100 times.
160
!
Wait for the configuration to complete.
170
OUTPUT 70903;"CONF:VOLT:DC 7.27,MAX"
180
OUTPUT 70903;" CAL:ZERO:AUTO OFF"
190
OUTPUT 70903;" SAMP:COUN 1600"
200
OUTPUT 70903;" SAMP:SOUR TIM"
210
OUTPUT 70903;" SAMP:TIM MIN"
220
OUTPUT 70903;"*OPC?"
230
ENTER 70903;Complete
240
!
The following commands set the FET multiplexer scanning configuration
250
!
by writing directly to the multiplexer registers. Specifically, the first
260
!
command transfers control of the scan from the multimeter to the user.
270
!
The second command enables digital bus triggering, continuous scanning,
280
!
and sets the pointer to the beginning of the scan list. The third command
290
!
transfers control back to the multimeter. The fourth command closes the
300
!
first channel in the list.
310
OUTPUT 70900;"VXI:WRITE 25,4,8"
320
OUTPUT 70900;"VXI:WRITE 25,6,26"
330
OUTPUT 70900;"VXI:WRITE 25,4,0"
340
OUTPUT 70900;"VXI:WRITE 25,4,16"
350
OUTPUT 70900;"*OPC?"
360
ENTER 70900;Complete
Continued on Next Page
54 Using the HP E1326B/E1411B Multimeter
Chapter 3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com