Hp 70428A Microwave Source Program Example - HP 70427A User Manual

Table of Contents

Advertisement

HP 70428A Microwave Source program example

This program example first resets the instrument and then sets it up to output
a 2.4 GHz signal at +10 dBm with a 100 MHz phase-lock-loop bandwidth of
53 Hz and a 600 MHz bandwidth of 4 KHz. A short routine at the end of the
program checks and displays any HP 70428A 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 10DBM"
160
OUTPUT 728;"REF:BW:PLL100 1"
170
OUTPUT 728;"REF:BW:PLL600 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=0
260
PRINT "An error has occurred..."
270
PRINT "The error number and message
is:",VAL$(Error_number)&Error_message$
280
PRINT
290
END LOOP
300
!
310
! END OF TEST PROGRAM
320
!
330
!
340
END
HP 70428A Microwave Source program example
HP 70427A/HP 70428A User's Guide 7-13
Remote Programming

Advertisement

Table of Contents
loading

This manual is also suitable for:

70428a

Table of Contents