Hp 70427A Downconverter Program Example - HP 70427A User Manual

Table of Contents

Advertisement

HP 70427A Downconverter program example

This program example first resets the instrument and then sets it up to
downconvert a 10 GHz signal and autoranges both the input attenuation and
IF gain individually. The program then reads and displays the LO frequency,
IF frequency, input attenuation and IF gain. A short routine at the end of the
program checks and displays and HP 70427A errors.
Comments for the program follow the program listing.
10
DIM Error_message$[40]
20
!
30
!
40
! SET UP THE DOWNCONVERTER
50
OUTPUT 728;"*RST"
60
OUTPUT 728;"DC:FREQ:INP 10GHZ"
70
OUTPUT 728;"DC:AMPL:INP:ATT AUTO"
80
OUTPUT 728;"DC:AMPL:IF:GAIN AUTO"
90
!
100
!
110
! CHECK DOWNCONVERTER LO, IF FREQUENCIES, INPUT
ATTENUATION AND IF GAIN
120
OUTPUT 728;"DC:FREQ:INP?"
130
ENTER 728;Input_frequency
140
OUTPUT 728;"DC:FREQ:LO?"
150
ENTER 728;Lo_frequency
160
OUTPUT 728;"DC:FREQ:IF?"
170
ENTER 728;If_frequency
180
OUTPUT 728;"DC:AMPL:INP:ATT?"
190
ENTER 728;Input_atten
200
OUTPUT 728;"DC:AMPL:IF:GAIN?"
210
ENTER 728;If_gain
220
!
230
!
240
! PRINT DOWNCONVERTER PARAMETERS
250
PRINT "The Downconverter's parameters are,"
260
PRINT "Input frequency: ";Input_frequency
270
PRINT "LO frequency: ";Lo_frequency
280
PRINT "IF frequency: ";If_frequency
290
PRINT "Input attenuation: ";Input_atten
300
PRINT "IF gain: ";If_gain
310
!
320
!
HP 70427A Downconverter program example
HP 70427A/HP 70428A User's Guide 7-15
Remote Programming

Advertisement

Table of Contents
loading

This manual is also suitable for:

70428a

Table of Contents