User manual
   Using the Relay Multiplexer  47Chapter 2
10 ASSIGN @Dvm TO 70903
20 ASSIGN @Mux TO 70914
30 DIM A$[80],Rdgs(1:64)
40 CLEAR @Dvm
50 CLEAR @Mux
60 OUTPUT @Dvm;"*RST;*CLS"
70 OUTPUT @Mux;"*RST;*CLS"
80 OUTPUT @Dvm;"FUNC:RES"
90 OUTPUT @Dvm;"TRIG:SOUR TTLT0"
100 OUTPUT @Dvm;"TRIG:COUN 64"
110 OUTPUT @Dvm;"OUTP:TTLT1:STAT ON"
120 OUTPUT @Dvm;"*OPC?"
130 ENTER @Dvm;Cp
140 OUTPUT @Dvm;"SYST:ERR?"
150 ENTER @Dvm;A$
160 PRINT A$
170 OUTPUT @Mux;"FUNC 1,WIRE1"
180 OUTPUT @Mux;"OUTP:TTLT0:STAT 1"
190 OUTPUT @Mux;"TRIG:SOUR TTLT1"
200 OUTPUT @Mux;"SCAN:MODE RES"
210 OUTPUT @Mux;"SCAN:PORT ABUS"
220 OUTPUT @Mux;"SCAN (@100:177)"
230 OUTPUT @Mux;"*OPC?"
240 ENTER @Mux;Cp
250 OUTPUT @Mux;"SYST:ERR?"
260 ENTER @Mux;A$
270 PRINT A$
280 OUTPUT @Dvm;"INIT"
290 OUTPUT @Mux;"INIT"
300 OUTPUT @Dvm;"FETCh?"
310 ENTER @Dvm;Rdgs(*)
320 PRINT Rdgs(*)
330 END
Example: Scanning 
Channels Using 3457A 
Multimeter 
This example uses the E1406A Command Module "Trig In" and "Trig Out" 
ports to synchronize the multiplexer module bank 0 channel 0 to 2 closures 
to an external 3457A multimeter. The multimeter’s reading storage capacity 
is used to store measurement results. 
For measurement synchronization, the E1406A “Trig Out” port is connected 
to the 3457A multimeter “Ext Trig” port. This trigger signals the multimeter to 
make the measurement. The E1406A "Trig Out" port is connected to the 
3457A multimeter "Voltmeter Complete" port. This trigger causes the 
multiplexer to advance the scan.
Figure 2-7 shows how to connect the command module and multiplexer 
module to the 3457A multimeter. This example uses GPIB select code 7, 
primary address 09, and secondary address 14 for the multiplexer and GPIB 
select code 7 and primary address 22 for the 3457A digital multimeter.










