Chapter 7
7-27
Programming Examples
Measurement Calibration Examples
Running the Program
NOTE
This program does not modify the instrument state in any way. Before
running the program, set up the desired instrument state.
The program assumes that the test ports have a 7-mm, type-N 50
Ω
, 3.5-mm, or 2.4-mm
interface or an adapter set using a 7-mm, type-N 50
Ω
, 3.5-mm, or 2.4-mm interface. The
prompts appear just above the message line on the analyzer display. Pressing
on
the controller keyboard continues the program and measures the standard. The program
will display a message when the measurement calibration is complete.
BASIC Program Listing
10 ! This program guides the operator through a 1-port calibration.
20 ! The operator must choose one of the following calibration kits:
30 !
40 ! Analyzer Cal Kits
50 ! -------- --------
60 ! 8753ES/ET HP 85031B (7 mm), HP 85032B/E (Type N 50 ohm)
70 !
80 ! 8719ES/ET HP 85052B/D (3.5 mm), HP 85056A/D (2.4 mm)
90 ! 8720ES/ET “ , “
100 ! 8722ES/ET “ , “
110 !
120 ! The routine Waitforkey displays a message on the instrument’s
130 ! display and the console, to prompt the operator to connect the
140 ! calibration standard. Once the standard is connected, the
150 ! ENTER key on the computer keyboard is pressed to continue.
160 !
170 ! EXAMP2B
180 !
190 ASSIGN @Nwa TO 716 ! Assign an I/O path for the analyzer
200 !
210 CLEAR SCREEN
220 ! Initialize the system
230 ABORT 7 ! Generate an IFC (Interface Clear)
240 CLEAR @Nwa ! SDC (Selected Device Clear)
250 ! Select CAL kit type
260 PRINT “Enter one of the following numbers:”
270 PRINT “1 to use the HP 85031B kit (8753),”
280 PRINT “2 to use the HP 85032B/E kit (8753),”
290 PRINT “3 to use the HP 85052B/D kit (8719/8720/8722),”
300 INPUT “4 to use the HP 85056A/D kit (8719/8720/8722)”,Kit
310 SELECT Kit
320 CASE 1
330 OUTPUT @Nwa;”CALK7MM;”
340 CASE 2
350 OUTPUT @Nwa;”CALKN50;”
360 CASE 3
370 OUTPUT @Nwa;”CALK35MD;”
380 CASE ELSE
390 OUTPUT @Nwa;”CALK24MM;”
400 END SELECT
410 !
420 OUTPUT @Nwa;”MENUOFF;” ! Turn softkey menu off.
Enter
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 ...