![Agilent Technologies 8719ES Programmer'S Manual Download Page 482](http://html.mh-extra.com/html/agilent-technologies/8719es/8719es_programmers-manual_2867960482.webp)
Chapter 7
7-119
Programming Examples
Report Generation Examples
the frequency-data calculations for a point. Two more records are skipped and the next is
the first record representing data values. The data values are read in a loop until the
values for the number of points have been recovered from the file. The data values are
tabulated and printed out on the controller display.
The following is an outline of the program's processing sequence:
• An I/O path is assigned to the analyzer.
• The system is initialized.
• A string is dimensioned to hold a file record.
• The analyzer operating state is set.
• The internal drive is selected for storage (only ASCII data is stored).
• A file name is entered and the data stored into it.
• The operator is prompted to move the disk to the controller disk drive.
• The disk file is read and the contents displayed.
• The file pointer is rewound.
• The file contents are converted to trace data.
• The frequency and complex-data pair is displayed for each point.
• The analyzer is restored to continuous-sweep mode.
• The analyzer is returned to local control and the program ends.
CAUTION
Do not mistake the line switch for the disk eject button. If the line switch is
mistakenly pushed, the instrument will be turned off, losing all settings and
data that have not been saved.
NOTE
If the command
EXTMDATOON
is used, it will override all of the other save
options (such as
EXTMFORMON
). Because this type of data is only intended for
computer manipulation, the file contents of a
EXTMDATOON
(data only) save
cannot be recalled and displayed on the analyzer.
Running the Program
The analyzer is initialized and the operating range re-defined to an 11-point trace from
100 to 200 MHz. This setup gives a restricted range to be evaluated when the ASCII data
file (CITIFILE) is read in from the controller. The operator is prompted for a 5-character
filename to use for storing the data. The analyzer is setup for external storage and stores
the data file. Once the “pass control/storage/return control” operation is complete, the
operator is prompted to place the disk in the controller disk drive and press
. The
disk is then read and the records contained in the file are printed on the controller display.
A prompt appears,
Press return to continue
, which allows viewing of the file contents.
Once
is pressed, the data records are read and decoded and a table of the stimulus
frequency and the data values are printed.
Return
Return
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 ...