Program Examples
Publication 21555, Rev. E, September 2002 A-29
A.7 Cal Factor Examples
Entering a frequency causes the power meter to use frequency calibration factors which are stored in the
power sensor’s internal EEPROM. Generally, frequency calibration factors are stored in one gigahertz
steps.
Two methods are available for frequency entry. Use SENSe:CORRection:FREQuency to enter a specific
carrier frequency, or use SENSe:CORRection:VPROpf to enable the meter’s voltage proportional to
frequency input BNC (See front panel of the meter).
A.7.1 Cal Factor Example 1
The following program automatically applies the correct cal factor for an 8.23 GHz measurement
frequency to the measured data value.
310 ASSIGN @Pwr_mtr to 70101
320 CLEAR @Pwr_mtr
330 WAIT 1
350 OUTPUT @Pwr_mtr;CALC1:MODE NORMAL
! Can ONLY send Cal Factor Correction Commands in
! Normal Mode!!
360 !
370 OUTPUT @Pwr_mtr;SENS1:CORR:FREQ 8.23E9
! Applies Cal Factor for 8.23 GHz to measurement data.
380 !
400 OUTPUT @Pwr_mtr;MEAS1? ! Measures Power of 8.23 GHz signal.
410 ENTER @Pwr_mtr;Rdg
420 PRINT Rdg
460 !
470 END
A.7.2 Cal Factor Example 2
The following program steps from 1.8 GHz to 2.2 GHz in 10MHz intervals. The measurement at each
step is automatically corrected for cal factor.
340 ASSIGN @Pwr_mtr to 70101
350 CLEAR @Pwr_mtr
360 WAIT 1
370 REAL Rdg(41)
380 REAL Frq(41)
390 OUTPUT @Pwr_mtr;CALC1:MODE NORMAL ! Can ONLY send Cal Factor Correction Commands in
! Normal Mode!!
400 !
410 FOR I=1 TO 41
420 !
430 Freq=1.8E+9+(I-1)*1.E+7
440 OUTPUT @Pwr_mtr;SENS1:CORR:FREQ;Freq
! Applies Cal Factor to measurement data.
450 !
460 OUTPUT @Pwr_mtr;MEAS1?
470 ENTER @Pwr_mtr;Rdg(I)
480 OUTPUT @Pwr_mtr;SENS1:CORR:FREQ? ! Power meter outputs freq setting to confirm command
! reception.
490 ENTER @Pwr_mtr;Frq(I)
500 NEXT I
510 !
520 PRINT Rdg(*)
530 PRINT Frq(*)
540 !
550 END