Technical data
5-12 User’s and Service Guide
Controlling the Test Set and Making Measurements
Commands
The Control Program
The Control program demonstrates the control of the Agilent
87050A Option H15 by GPIB (HP-IB) commands or the parallel port.
This program can be used to select any port combination manually
(listed on the following pages). This program will first ask the user
which method will be used to control the Agilent 87050A Option H15,
either GPIB (HP-IB) or parallel port. It will then ask which ports are to
be enabled. The port entries are done in pairs (reflection/transmission)
with the two numbers separated by a comma. The numbers may range
from 0 through 16 for the test ports. For example, an entry of 2,5 will
connect the Reflection port to Port 2 and the Transmission port to Port
5. The program is a continuous loop. Press STOP to end program
execution.
10 ! RE-SAVE "control"
20 ! CONTROL: This example program allows "manual"
control of the
30 ! Agilent 87050A Option H15 via the parallel
port of the
40 ! Agilent 8753D,E network analyzer or via
GPIB directly.
50 !
60 ! NOTE: You MUST select either GPIB control or
Parallel Port
70 ! control. If Parallel Port via the Agilent
8753D,E is
80 ! selected, this program will return the
analyzer to
90 ! LOCAL control after the switches are set.
100 !
110 ! Set the GPIB address as required below.
120 !
130 ! The Agilent 87050A Option H15 can be set to
one of two
140 ! Parallel Port addresses. This program (SUB
Set_switches)
150 ! assumes it is set to address 00.
160 !
170 ! Copyright: Agilent Technologies Co. Palo
Alto, CA 94304










