7-10
Chapter 7
Programming Examples
Measurement Setup Examples
Measurement Setup Examples
The programs included in this section provide the option to perform instrument-setup
functions for the analyzer from a remote controller. Example 1A is a program designed to
set up the analyzer's measurement parameters. Example 1B is a program designed to
verify the measurement parameters.
Example 1A: Setting Parameters
In general, the procedure for setting up measurements on the network analyzer via GPIB
follows the same sequence as if the setup was performed manually. There is no required
order, as long as the desired frequency range, number of points, and power level are set
prior to performing the calibration first, and the measurement second.
This example sets the following parameters:
• data display formats
• number of channels displayed, and number of graticules to display them in
• frequency range
The following is an outline of the program's processing sequence:
• An I/O path is assigned for the analyzer.
• The system is initialized.
• The analyzer is adjusted to measure return loss (S
11
) on channel 1 and display as log
magnitude.
• The analyzer is adjusted to measure return loss (S
11
) on channel 2 and display the
phase.
• The dual-channel display mode is activated.
• The system operator is prompted to enter the frequency range of the measurement.
• The displays are autoscaled.
• The system operator is prompted to press “Enter” on the computer keyboard to view
four types of measurements simultaneously.
• Channels 3 and 4 are turned on.
• Channel 2 is adjusted to measure transmission (S
21
) displayed in log magnitude, and
then the display is autoscaled.
• Channel 3 is adjusted to measure reflected power (A) displayed in log magnitude, and
then the display is autoscaled.
• Channel 4 is adjusted to measure transmitted power (B) displayed in log magnitude,
and then the display is autoscaled.
• The four channels are each displayed in a separate graticule.
• The analyzer is released from remote control and the program ends.
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 ...