Scanning Switchbox Channels (E1411B/E1460A)
In this example, the stand-alone multimeter (HP E1411B) scans 64 channels
on an HP E1460A relay multiplexer switchbox. The scanning sequence is
controlled with the VXIbus TTLTrg trigger lines.
10
!
Dimension a computer array to store the readings.
20
DIM Rdgs(1:64)
30
!
Reset the E1411B multimeter and the E1460 switchbox. Wait for the
40
!
resets to complete before continuing.
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
!
Configure the multimeter for DC voltage measurements. Set its trigger
120
!
source to TTL trigger line 0, set it to receive 64 triggers (one to measure
130
!
each channel). Set the multimeter to output its channel closed pulse on
140
!
TTL trigger line 1. Wait for the configuration to complete. Place the
150
!
multimeter in the wait-for-trigger state.
160
OUTPUT 70903;"CONF:VOLT:DC"
170
OUTPUT 70903;" TRIG:SOUR TTLT0"
180
OUTPUT 70903;" TRIG:COUN 64"
190
OUTPUT 70903;" OUTP:TTLT1:STAT ON"
200
OUTPUT 70903;"*OPC?"
210
ENTER 70903;Complete
220
OUTPUT 70903;"INIT"
230
!
Configure the switchbox so that it receives its "channel advance" trigger
240
!
on TTL trigger line 1, and that it outputs its "channel closed" pulse on
250
!
TTL trigger line 0. Route the signals on the multiplexer channels to the
260
!
multimeter via the analog bus. Specify the scan list. Wait for the
270
!
configuration to complete before proceeding.
280
OUTPUT 70914;"TRIG:SOUR TTLT1"
290
OUTPUT 70914;"OUTP:TTLT0:STAT ON"
300
OUTPUT 70914;"SCAN:PORT ABUS"
310
OUTPUT 70914;"SCAN (@100:177)"
320
OUTPUT 70914;"*OPC?"
330
ENTER 70914;Complete
340
!
Start the scan and the measurements by closing the first multiplexer
350
!
channel in the channel list.
360
OUTPUT 70914;"INIT"
Continued on Next Page
52 Using the HP E1326B/E1411B Multimeter
Chapter 3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com