Overview
HP 70428A Option 002 Tunable Source Program Example
HP 70428A Option 002 Tunable Source Program
Example
This program example first rests the instrument and then asks for a desired
output frequency (the frequency must be with the specified range of the
operation). It will then set up the HP 70428A Option 002 to output that
frequency at +10 dBm. To set the output frequency the program must use an
algorithm to determine the correct LO and RF source frequencies. A short
routine at the end of the program checks and displays the HP 70428A
Option 002 errors.
A short description of the tuning algorithm and comments for the program
follow the program listing.
10
DIM Error-message$[40]
20
!
30
!
40
OUTPUT 728;"*RST"
50
!
60
!
70
INPUT "Enter desired RF output frequency in
GHzl',Rf-output-freq
80
Rf-output-freq=Rf-output-freq*1000 ! Convert to MHz.
90
!
100
!
110
Combline-nilm=(Rf-output-freq) DIV 600
120
!
130
!
140
SELECT Rf-output-freq
150
CASE <25800
160
Combline-nw--Combline-num+l
170
Lo-f req=Combline-nilm*600
180
Rf-source-freq--ABS(Lo-freq-Rf-output-freq)
190
IF Rf-source-freq<300 OR Rf-source-freq>600 THEN
200
Lo-freq--(Combline-nilm-l)*600
210
Rf-source-freq=ABS(Lo-freq-Rf-output-freq)
220
END IF
230
ASE >=25800
240
Lo-freq=Combline-niim*600
250
Rf-source-freq--ABS(Lo-freq-Rf-output-freq)
260
IF Rf-source-freq<300 THEN
270
Lo-f req= (Combline-nilm-1) *600
Remote Programming
HP 70427A/HP 70428A User's Guide 7-17