Example: Scanning With External Device - HP E1366A User Manual

Hewlett-packard rf multiplexers user's manual
Table of Contents

Advertisement

Example: Scanning
with External Device
34
Understanding the HP E1366A/E1367A RF Multiplexers
This example uses the HP E1300A/E1301A mainframe "Trig Out" port to
synchronize the RF multiplexer channel closures to an external
measurement device. See the figure below for typical user connections.
For measurement synchronization, the HP E1300A/E1301A Trig Out BNC
port is connected to the instrument External Trigger In port.
For this example, the HP E1300A/E1301A and the instrument are
connected via HP-IB with HP E1300A/E1301A address of 709 and
instrument address of 722. The RF multiplexer logical address is 120
(secondary address =120/8 =15). The measurements are transferred
directly to the computer. (Appropriate instrument commands must be
added to line 10.) The sequence of operation is:
1. INIT (line 50) closes channel 100.
2. The channel closure causes a trigger output from the "Trig Out" port.
3. Trigger to Ext Trig In initiates channel 100 measurement.
4. Result is sent to the computer (lines 60 to 80).
5. TRIGGER command (line 90) advances the scan to channel 101.
6. Steps 2-5 are repeated for channels 101 through 102.
10 OUTPUT 722;"TRIG EXT;..."
20 OUTPUT 70915;"OUTP ON"
30 OUTPUT 70915;"TRIG:SOUR BUS"
40 OUTPUT 70915;"SCAN (@100;102)" ! Scan channels 00-02
50 OUTPUT 70915;"INIT"
60 FOR I = 1 TO 3
70 ENTER 722;A
80 PRINT A
90 TRIGGER 70915
100 NEXT I
110 END
Figure 4-3. Scanning with External Device
! Configure instrument
! Enables "Trig Out" port
! HP-IB bus triggering
! Enable scan
! Start count loop
! Enter reading
! Display reading
! Advance scan
! Increment count
Chapter 4

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1367a

Table of Contents