User manual

48 Using the Relay Multiplexer Chapter 2
10 OUTPUT 722;"TRIG EXT;DCV;MEM FIFO"
!Configures the 3457A multimeter to external
trigger to measure DCV and store readings
20 OUTPUT 70914;"*RST;*CLS"
!Resets multiplexer module to a known state
30 OUTPUT 70914;"OUTP ON"
!Enables E1406A "Trig Out" port
40 OUTPUT 70914;"TRIG:SOUR EXT"
!Sets switchbox trigger source to external
triggering
50 OUTPUT 70914;"SCAN:MODE VOLT"
!Sets switchbox measurement mode
60 OUTPUT 70914;"SCAN (@10000:10015)"
!Defines channel list
70 OUTPUT 70914;"INIT"
!Closes bank 0 channel 0 and enables the
scan. Causes a trigger output from E1406A
"Trig Out" port which initiates the external
multimeter to make a measurement. When the
measurement is complete, the multimeter’s
"VM Complete" port sends a trigger to the
multiplexer to advance the scan.
80 Wait 1
!Wait 1 second
90 FOR Channels = 1 to 16
!Start counting loop (16 channels)
100 ENTER 722;Results
!Enter measurement result
110 NEXT Channels
!Increment count and repeat measurement
process for 16 measurements
120 END
!Terminate program
Figure 2-7. Example: Scanning Channels Using 3457A Multimeter
0V
HI
+5V
0V
+5V
LOHI
I
LO
Trig
Trig
In
Out
Voltmeter
Complete
External
Trigger
3457A Multimeter
(Rear View)
E1406A
Command
Module
E1460A
Multiplexer