Using the User Flatness
Correction Commands,
Example Program 8
The following program interrogates the synthesizer and an HP
power meter for frequency and power information respectively.
The synthesizer (an HP
is programmed to sweep from
2 to 20
with frequency-correction pairs every 100 MHz and
leveled output power. For this example, we assume that the
path losses do not exceed 5
and that the HP
power meter
already has its power sensor’s calibration factors stored in sensor
data table 0. If another power meter is used, the power sensor’s
calibration factors will have to be stored in a look-up table. Modify
the program to suit your particular measurement requirements. Up
to 801 points may be entered in the user flatness correction table
with this program.
SCPI commands are used to set up the source parameters and enter
correction frequencies and data into the correction table.
10
the address of the source and power meter
20
ASSIGN
TO 719
30
ASSIGN
TO 713
40
INTEGER Error-flag
50
ABORT 7
60
!
70
!Set up source
80
OUTPUT @Source;
90
OUTPUT @Source;
2 GHZ; STOP 20
100
OUTPUT @Source; "SWEep:TIME 200 MS"
110
OUTPUT @Source;
5 DBM;:INITiate:CONTinuous ON"
120 OUTPUT @Source;
o p e r a t i o n c o m p l e t e ?
130 ENTER @Source; Done
140 !
150 !Set up power meter
160 OUTPUT @Meter;
170 OUTPUT @Meter;
180 OUTPUT @Meter;
190 !
200
power meter
210 OUTPUT
"POWer:STATe OFF"
s u r e R F i s o f f !
2 2 0 Z e r o - m e t e r ( @ M e t e r , E r r o r - f l a g )
230 IF Error-flag THEN
240
BEEP
250
CLEAR SCREEN
260
PRINT "Error: Meter did not complete zeroing operation!"
270
ELSE
280 !
2 9 0 ! S e t u p c o r r e c t i o n f r e q u e n c i e s i n U s e r F l a t n e s s C o r r e c t i o n t a b l e
300
OUTPUT @Source;
310
320
330
340
350
WHILE
1-96 Getting Started Programming
Summary of Contents for 8360
Page 97: ......
Page 138: ......
Page 150: ......
Page 318: ......
Page 336: ......
Page 352: ......
Page 360: ......
Page 397: ...2b Menu Maps Menu Maps 2b 1 ...
Page 398: ......
Page 399: ......
Page 400: ......
Page 401: ......
Page 402: ......
Page 403: ......
Page 404: ......
Page 405: ......
Page 406: ......
Page 435: ...Figure 3 3 Removing the Side StraPs and Feet NSTALLATION 3 ...
Page 461: ......
Page 463: ...5 4 Change B HP 8380 User s Handbook ...
Page 467: ...5 8 Change A HP 8360 User s Handbook ...
Page 481: ...optioll9l3RackFhgeKit 5 22 Change A HP 8360 User s Handbook ...