7-30 Chapter7
Programming Examples
Measurement Calibration Examples
Example 2C: Enhanced Response Calibration
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 appropriate calibration kit is selected.
• The softkey menu is deactivated.
• The enhanced response calibration sequence is run.
• The enhanced response calibration data is saved.
• The softkey menu is activated.
• The analyzer is released from remote control and the program ends.
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 an enhanced response
20 ! calibration. The operator must choose one of the following
30 ! 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 ! EXAMP2C
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)
Enter