Agilent Technologies 87075C Option H08 User's And Service Manual page 32

Hide thumbs Also See for 87075C Option H08:
Table of Contents

Advertisement

Controlling the Test Set and Making Measurements
Calibrating the Test System
Example Program
An example program is provided in this section to aid you in creating a program specific to
your DUT. This program is written in BASIC and is for use with an Agilent 9000 series
200/300/700 computer.
GPIB and/or Parallel Port
This program demonstrates the control of the 87075C Option H08 via GPIB and/or the
parallel port. This program can be used to manually select any port combination.
The Control program (listed below) will first ask the user which method will be used to
control the 87075C Option H08; either GPIB or parallel port. It will then ask which ports
are to be enabled. The port entries are done in pairs (reflection/transmission) with the
numbers in the pair separated by a comma. The numbers may range from 0 through 8 for
the test ports. For example; the 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 the program execution.
The Control Program
10
the
20
30
40
50
60
70
80
90
100
110
120
130
140
150
160
170
180
190
200
30
!
CONTROL:
This example program allows "manual" control of
! 87075C-H08 via the parallel port of the 8753D/E
! or via GPIB directly.
!
!
NOTE: You MUST select either GPIB control or Parallel Port
! control.
If Parallel Port control, via the 8753D/E
! is selected this program will return the analyzer to
! LOCAL control after the switches are set.
! address as required below.
!
! The 87075C-H08 can be set to one of 4 Parallel Port
! addresses.
This program (SUB Set_switches) assumes it
! is set to address 00.
!
!
Copyright:
Agilent Technologies, Palo Alto, CA 94304
!
Part of HP p/n 87050-10022
!
Developed at Microwave Instrument Division
! Santa Rosa, CA
! Revision A.01.00
!
26 January 2000
rm
Set GPIB
Chapter 2

Advertisement

Table of Contents
loading

Table of Contents