7-42
Chapter 7
Programming Examples
Measurement Calibration Examples
• A single sweep is taken for the measurement of each standard to provide “dummy”
data, which is immediately replaced with the previously measured raw data from the
array corresponding to that measurement.
• The analyzer uses the raw data to compute the error coefficients and is placed back into
continuous sweep mode.
• The analyzer is released from remote control and the program ends.
Running the Program
The system is initialized, the number of points is set to 51, and the 7-mm calibration kit is
selected. Sweep time is set to 1 second and the analyzer is placed into hold mode.
The S11 measurement is selected and the system operator is prompted to connect each of
the three forward reflection standards, one at a time. Following each prompt, a single
sweep is taken, which concludes with a beep from the external controller.
The S22 measurement is selected for gathering the reverse reflection standards. The
system operator is prompted in the same manner as before and the three standards are
measured as before.
The system operator is prompted to make the thru connection between Port 1 and Port 2.
A single sweep is taken for each of the four S-parameters, each concluding with a beep.
The analyzer begins the normal 2-port calibration procedure, but with the default beep
turned off. A single sweep is taken for each measurement of each standard, providing
“dummy” data which is immediately replaced with the data from the array corresponding
to that measurement. The analyzer computes the error correction coefficients and is placed
back into continuous sweep mode. The default beep is re-enabled and the program ends.
BASIC Program Listing
10 ! This program simulates a full 2-port cal by first getting the
20 ! raw data for each “standard” and then loading it into the
30 ! appropriate arrays later. For simplicity, this is done with
40 ! ASCII format, 51 points, and the 7mm calibration kit. This also
50 ! simplifies the input of the standards because there is only one
60 ! standard associated with each particular class in the 7mm cal kit,
70 ! except for the S11C/S22C classes on the 8719/8720/8722. The
80 ! program queries the analyzer model number and deals with the
90 ! S11C/S22C classes accordingly.
100 !
110 ! EXAMP2F
120 !
130 DIM Id$[40] ! String to receive the instrument ID
140 !
150 ! Allocate the arrays. The numbers correspond to the subsequent
160 ! cal coefficient array that will be written.
170 !
180 DIM Array01(1:51,1:2) ! forward OPEN measurement
190 DIM Array02(1:51,1:2) ! forward SHORT
200 DIM Array03(1:51,1:2) ! forward LOAD
210 DIM Array04(1:51,1:2) ! forward ISOLATION if necessary
220 DIM Array05(1:51,1:2) ! forward LOAD MATCH
230 DIM Array06(1:51,1:2) ! forward TRANS
240 DIM Array07(1:51,1:2) ! reverse OPEN
Summary of Contents for 8719ES
Page 15: ...1 1 1 Alphabetical Command Reference ...
Page 293: ...2 1 2 Introduction to Instrument Control ...
Page 310: ...3 1 3 GPIB Programming ...
Page 334: ...4 1 4 Reading Analyzer Data ...
Page 343: ...5 1 5 Data Processing Chain ...
Page 350: ...6 1 6 Error Reporting ...
Page 364: ...7 1 7 Programming Examples ...
Page 502: ...A 1 A Preset Conditions ...
Page 517: ...B 1 B Command Listings ...