Example: Scanning Channels - HP E1368A/69A/70A User Manual

Microwave switch and driver modules
Table of Contents

Advertisement

Example: Scanning
Channels
40 Using the HP E1368A/69A/70A Modules
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
This example uses the mainframe's "Trig Out" port to synchronize
Microwave Switch channel 00 to 02 closures to an external measurement
device (e.g. Frequency Counter, Spectrum Analyzer). For measurement
synchronization, the HP E1300A/E1301A "Trig Out" port is connected to
the external instrument's "EXT Trig In" port.
Figure 3-9 shows how to connect the Microwave Switch module to the
external instrument. The mainframe and external instrument are connected
to the computer's HP-IB port, and the measurement results are transferred
directly to the computer. For the example, use:
an HP-IB select code of 7, primary address of 09, and secondary
address of 15 for the Microwave Switch
an HP-IB select code of 7, primary address of 22 for the External
Instrument
an HP Series 200/300 Computer with HP BASIC
Execute:
10 OUTPUT 722;"TRIG EXT;
20 OUTPUT 70915;"*RST"
30 OUTPUT 70915;"OUTP ON"
40 OUTPUT 70915;"TRIG:SOUR BUS" !Sets trigger source to bus
50 OUTPUT 70915;"SCAN (@100:102)" !Defines channel list to scan
60 OUTPUT 70915;"INIT"
70 FOR I=1 to 3
80 WAIT 1
90 ENTER 722;A
100 PRINT A
110 TRIGGER 70915
120 NEXT I
130 END
"
!Configures the external
instrument. Appropriate instrument
commands must be added to make
the measurement.
!Opens all channels, resets
Microwave Switch module to
known state.
!Enable "Trig Out" port.
triggering.
channels 00, 01, and 02.
!Closes channel 00 and enables the
scan. Causes a trigger output from
mainframe's "Trig Out" port which
initiates the external instrument to
make a measurement.
!Start counting loop (3 channels).
!Allows external instrument time to
settle and make measurement.
!Enters measurement result.
!Displays measurement result.
!Advance scan to channel 01 (then
02).
!Increment the count and repeats
measurement process for a total of
three measurements (channels 00,
01, and 02).
!Terminate program.
Chapter 3

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1368aE1369aE1370a

Table of Contents