User`s manual

Scanning Switchbox Channels (E1326B/E1351A)
In this example, the stand-alone multimeter (HP E1326B) scans 5 channels
of an HP E1351A FET multiplexer switchbox 100 times. The scanning
sequence is controlled with the digital bus.
10 !Dimension a controller array to store the readings.
20 DIM Rdgs(1:500)
30 !
Reset the E1326B multimeter and the E1351A FET switchbox. Turn the
40 !multimeter monitor mode off to increase throughput.
50 OUTPUT 70903;"*RST"
60 OUTPUT 70903;"*OPC?"
70 ENTER 70903;Rst_done
80 OUTPUT 70914;"*RST"
90 OUTPUT 70914;"*OPC?"
100 ENTER 70914;Rst_done
110 OUTPUT 70903;"DISP:MON OFF"
120 !
Configure the multimeter for measurements at its fastest rate. This
130 !includes a fixed range (7.27), a 10
µ
s aperture time (MAX), autozero
140 !off, and a sample period of 76
µ
s (SAMP:TIM MIN). Set the multimeter
150 !to make 500 measurements (5 channels/100 scans). Wait for the
160 !configuration to complete.
170 OUTPUT 70903;"CONF:VOLT:DC 7.27,MAX"
180 OUTPUT 70903;" CAL:ZERO:AUTO OFF"
190 OUTPUT 70903;" SAMP:COUN 500"
200 OUTPUT 70903;" SAMP:SOUR TIM"
210 OUTPUT 70903;" SAMP:TIM MIN"
220 OUTPUT 70903;"*OPC?"
230 ENTER 70903;Complete
240 !
Configure the switchbox so that it receives its triggers over the digital bus.
250 !Route the signals on the multiplexer channels to the multimeter via the
260 !analog bus. Specify the scan list. Wait for the configuration to complete.
270 OUTPUT 70914;"TRIG:SOUR DBUS"
280 OUTPUT 70914;"SCAN:PORT ABUS"
290 OUTPUT 70914;"SCAN (@100:104)"
300 OUTPUT 70914;"*OPC?"
310 ENTER 70914;Complete
320 !
Place the switchbox in the continuous scanning mode. Start the scan by
330 !closing the first multiplexer channel in the channel list. Wait for the
340 !command to complete and then trigger the multimeter.
350 OUTPUT 70914;"INIT:CONT ON"
360 OUTPUT 70914;"INIT"
370 WAIT .1
Continued on Next Page
50 Using the HP E1326B/E1411B Multimeter Chapter 3