58542 VXIbus Universal Power Meter
A-30 Publication 21555, Rev. E, September 2002
A.7.3 Cal Factor Example 3
The following program also steps from 1.8 GHz to 2.2GHz in 10MHz intervals. The measurement at
each step is automatically corrected for cal factor using the V
PROP
F connector on the front panel. In the
first part of the program the power meter’s V
PROP
F input is configured for compatibility with the Giga-
tronics Source.
340 ASSIGN @Pwr_mtr to 70101
350 CLEAR @Pwr_mtr
360 WAIT 1
370 REAL Rdg(41)
380 OUTPUT @Pwr_mtr;CALC1:MODE NORMAL
! Can ONLY send VpropF Config. Commands in Normal
! Mode!!
390 !
400 ! Configure VpropF input for Cal Factor correction
410 !
420 OUTPUT @Pwr_mtr;MEM:SEL VPROPF1 ! Selects memory table for sensor on for editing
430 OUTPUT @Pwr_mtr;MEM:FREQ 0.0 ! Sets freq that corresponds to 0.0V out from source.
440 OUTPUT @Pwr_mtr;MEM:SLOP 0.5E-9 ! Sets the voltage to freq (must be linear) relationship of
! source’s output (V/Hz).
450 !
460 OUTPUT @Pwr_mtr;SENS1:CORR:VPRO ON
! Turns VpropF on and all other sources of Cal Factor
! correction OFF
470 !
480 FOR I=1 TO 41
490 !
500 Freq=1.8E+9+(I-1)*1.E+7
510 OUTPUT @Source;CW;Freq;HZ
520 !
530 OUTPUT @Pwr_mtr;MEAS1?
540 ENTER @Pwr_mtr;Rdg(I)
550 NEXT I
560 !
570 PRINT Rdg(*)
580 !
590 END