User manual

Using the Relay Multiplexer 49Chapter 2
Example: Scanning
Multimeter DCV
Measurements
This example uses the E1406A Command Module, E1411B System
Multimeter, and E1460A multiplexer modules to perform a DC voltage
measurement on all 64 channels in a scanning multimeter configuration.
In the scanning multimeter configuration, the multiplexer module’s logical
address must be set one number higher than the multimeter module.
Figure 2-8 shows how to connect the multiplexer module to the multimeter
module. This example uses GPIB select code 7, primary address 09, and
secondary address 03 for the scanning multimeter (multimeter/multiplexer).
10 DIM Rdgs(1:64)
!Dimension computer to store readings
20 OUTPUT 70903;"*RST"
!Reset the scanning multimeter module to a
known state
30 OUTPUT 70903;"ROUT:FUNC1,WIRE2X64"
!Required to close control relay 0995 to access
upper 4 banks
40 OUTPUT 70903;"MEAS:VOLT:DC? (@100:177)"
!Configure the scanning multimeter to measure
voltage on bank 0 channels 0 to 2
50 ENTER 70903;Rdgs(*)
!Enter measurement result
60 FOR I = 1 TO 64
!Start counting loop (3 channels)
70 PRINT Rdgs(I)
!Display measurement result
80 NEXT I
!Increment the count and repeat measurement
process for a total of 3 measurements
90 END
!Terminate program
Figure 2-8. Example: Scanning Multimeter DCV Measurements
OPEN
CLOSE
CH 0991
CLOSE
OPEN
CH 0992
H
L
H
L
L
H
H
L
COM
CH 0
CH 1
CH 2
DC VOLTAGE #1
DC VOLTAGE #2
DC VOLTAGE #3
BANK 0
ANALOG BUS
TO MULTIMETER
SWITCH CARD TERMINAL MODULE
H1
L1
Command
Module Module
Voltmeter
Multiplexer
Module