Chapter 7
7-25
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 response calibration
20 ! using a thru (cable). The operator must choose from one of the
30 ! following calibration kits:
40 !
50 ! Analyzer Cal Kits
60 ! -------- --------
70 ! 8753ES/ET HP 85031B (7 mm), HP 85032B/E (Type N 50 ohm)
80 !
90 ! 8719ES/ET HP 85052B/D (3.5 mm), HP 85056A/D (2.4 mm)
100 ! 8720ES/ET “ , “
110 ! 8722ES/ET “ , “
120 !
130 ! The routine Waitforkey displays a message on the instrument’s
140 ! display and the console, to prompt the operator to connect the
150 ! calibration standard. Once the standard is connected, the
160 ! ENTER key on the computer keyboard is pressed to continue.
170 !
180 ! EXAMP2A
190 !
200 ASSIGN @Nwa TO 716 ! Assign an I/O path for the analyzer
210 !
220 CLEAR SCREEN
230 ! Initialize the system
240 ABORT 7 ! Generate an IFC (Interface Clear)
250 CLEAR @Nwa ! SDC (Selected Device Clear)
260 ! Select CAL kit type
270 PRINT “Enter one of the following numbers:”
280 PRINT “1 to use the HP 85031B kit (8753),”
290 PRINT “2 to use the HP 85032B/E kit (8753),”
300 PRINT “3 to use the HP 85052B/D kit (8719/8720/8722),”
310 PRINT “4 to use the HP 85056A/D kit (8719/8720/8722)”
320 INPUT Kit
330 SELECT Kit
340 CASE 1
350 OUTPUT @Nwa;”CALK7MM;”
360 CASE 2
370 OUTPUT @Nwa;”CALKN50;”
380 CASE 3
390 OUTPUT @Nwa;”CALK35MD;”
400 CASE ELSE
410 OUTPUT @Nwa;”CALK24MM;”
420 END SELECT
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 ...