HP 70427A/HP 70428A User’s Guide
7-21
Remote Programming
HP 7042XA Reading Errors Program Example
HP 7042XA Reading Errors Program Example
Overview
The following sample program will intentionally generate errors in the
HP 70427A. The program attempts to set up the HP 7042XA to output a
2.4 GHz signal at +30 dBm with a 100 MHz reference loop
phase-lock-loop
bandwidth of
53 Hz, a 600 MHz reference loop phase-lock-loop bandwidth
of 4 KHz, and a tuning sensitivity of .05 ppm/V. To generate errors, the
program contains two defects. First, the desired output power is beyond the
specifications of the HP 7042XA and second, the command to set the 600
MHz reference phase-lock-loop bandwidth to 4 KHz has a syntax error. A
short routine at the end of the program will check and display the
HP 7042XA errors.
Comments for the program follow the program listing.
10
DIM Error-message$[40]
20
OUTPUT 728;"*RST"
30
!
40
!
50
OUTPUT 728;"INST?"
60
ENTER 728;Instrument-type
70
IF Instrument-type<>4 THEN
80
OUTPUT 728;"INST 4"
90
END IF
100
!
110
!
120
!
START OF TEST PROGRAM
130
!
140
OUTPUT 728;"SRC:OUT:FREQ 2.4GHZ"
150
OUTPUT 728;"SRC:OUT:POW 3ODBM"
160
OUTPUT 728;"REF:BW:PLLIOO I"
170
OUTPUT 728;"REF:BW:PL 600 0"
180
OUTPUT 728;"REF:TS 1"
190
!
200
!
210
CHECK FOR INSTRUMENT ERRORS
220
LOOP
230
OUTPUT 728;"SYST:ERR?"
240
ENTER 728;Error_number,Error-message$
250
EXIT IF Error-number=O
260
PRINT "An error has occurred...”
Summary of Contents for 70427A
Page 11: ...x HP 70427A HP 70428A User s Guide Declaration of Conformity ...
Page 13: ... xii HP 70427A HP 70428A User s Guide Typeface Conventions ...
Page 243: ...9 42 HP 70427A HP 70428A User s Guide Technical Data HP 70428A Option 002 Specifications ...
Page 299: ...10 56 HP 70427A HP 70428A User s Guide Softkeys and Displays IF Figure 10 42 μW Mode HP70472A ...
Page 385: ...10 142 HP 70427A HP 70428A User s Guide Softkeys and Displays YTF Cal ...
Page 435: ...12 14 HP 70427A HP 70428A User s Guide Remote Programming Commands ...
Page 607: ...15 10 HP 70427A HP 70428A User s Guide Adjustments 10 MHz Oscillator Adjustment ...
Page 611: ...16 4 HP 70427A HP 70428A User s Guide Customer Support ...