Chapter 3 Programming Your Universal Counter for Remote Operation
Elements of SCPI Commands
Programming Guide 3-59
Using QuickBASIC
The QuickBASIC examples assume you have an HP 82335A
HP-IB Interface card inside your IBM PC or compatible.
Using Turbo C
The Turbo C examples assume you have an HP 82335A
HP-IB Interface card inside your IBM PC or compatible.
List of the Programming Examples
The following examples are provided:
1. Easiest Way to Make a Measurement (HP BASIC only)
2. To Make a Frequency Measurement
3. To Perform Limit Testing (HP BASIC and QuickBASIC only)
4. To Measure the Statistics of 50 Measurements (HP BASIC and
QuickBASIC only)
5. To Use Limits to Filter Data Before Measuring Statistics.
6. To Read and Store Calibration Data—this program is useful if you plan
to calibrate your HP 53131A/132A and want to be able to return to the
original calibration at a later date.
(HP BASIC and QuickBASIC only)
7. To Perform a Time Interval Calibration—this program shows how to
perform both types of time interval calibrations.
(The “fine” time interval calibration uses the HP 59992A J06 Time
Interval Calibrator.) This program also shows how to use the basic
calibration security capabilities. Note, early versions of the Counter
cannot execute this program since they do not support calibration security
or “fine” time interval calibration. (HP BASIC only)
8. To Optimize Throughput; that is, to set up the Counter to transfer data at
the fastest possible rate.
9. To Use Macros
All programming examples use the ASCII format to transfer data from the
Counter to the computer. The ASCII format is the default format when *RST is
used.
NOTE