Hp 7042Xa Reading Errors Program Example; Overview - HP 70427A User Manual

Table of Contents

Advertisement

Overview

HP 7042XA Reading Errors Program Example

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..."
HP 7042XA Reading Errors Program Example
HP 70427A/HP 70428A User's Guide 7-21
Remote Programming

Advertisement

Table of Contents
loading

This manual is also suitable for:

70428a

Table of Contents