Example: Scanning With External Devices - HP E1346A User Manual

Relay multiplexer
Table of Contents

Advertisement

Example: Scanning
With External
Devices
36
Understanding the HP E1346A Multiplexer
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
This example uses the mainframe "Trig Out" port to synchronize the
multiplexer to an HP 3457A Digital Multimeter. See the following figure
for typical connections.
For this example, use the trigger output pulse of the mainframe "Trig Out"
port to trigger the multimeter via its External Trigger port. The sequence of
operation is:
1. INIT (line 70) closes channel number 100.
2. The channel closure causes a trigger output from the "Trig Out" port.
3. The trigger causes the multimeter to make a measurement.
4. Measurement result is sent to the computer (lines 80 to 100).
5. TRIGGER command (line 110) advances the channel list to the next
channel.
6. Steps 2-5 are repeated for channels 101 through 115.
10 OUTPUT 722;"TRIG EXT;DCV"
20 OUTPUT 70914;"OUTP ON"
30 OUTPUT 70914;"TRIG:SOUR BUS"
40 OUTPUT 70914;"SCAN (@100:247)" ! Selects the channel list for
50 OUTPUT 70914;"INIT"
60 FOR I=1 TO 96
70 ENTER 722;A
80 PRINT A
90 TRIGGER 70914
100 NEXT I
110 END
! Sets multimeter to external
trigger and to measure dc volts
! Enables "Trig Out" port
! Sets switchbox to receive Bus
triggers
scanning
! Starts scanning cycle
! Start count loop
! Enter reading into variable A
! Print reading in variable A
! Trigger the switchbox to advance
the channel list
! Increment count
Chapter 4

Advertisement

Table of Contents
loading

Table of Contents