Program Examples
Publication 21555, Rev. E, September 2002 A-31
A.7.4 Cal Factor Example 4
The following program shows how to input specific User Calibration Factor during measurement. This is
not the same as the special Frequency Cal Factors that can be programmed into the EEPROM. (See
Sensor EEPROM Commands in Section2.5.32 for more information). This technique applies a specific
known value during measurements. It is useful when having performed a sensor calibration with other
devices attached to the sensor input, such as a power splitter or coupler, but do not want to change or
reprogram the CAL factor information inside the power sensor’s EEPROM. First the program sets the
58542 to 50MHz where the Cal Factors of Giga-tronics power sensors are always 0.0dBm.
310 ASSIGN @Pwr_mtr to 70101
320 CLEAR @Pwr_mtr
330 WAIT 1
340 OUTPUT @Pwr_mtr;CALC1:MODE NORMAL
! Can ONLY send Sensor Offset Commands in
! Normal Mode!!
350 !
360 OUTPUT @Pwr_mtr;SENS1:CORR:FREQ 5E7
! Cal Factors always 0.00dB at 50 MHz.
370 OUTPUT @Pwr_mtr;SENS1:CORR:OFFS:STAT ON
! Enables sensor offset control.
380 OUTPUT @Pwr_mtr;SENS1:CORR:OFFS 6.024
! Enters 6.024 dB as a Sensor Offset
390 !
400 OUTPUT @Pwr_mtr;MEAS1? ! Measures Power
410 ENTER @Pwr_mtr;Rdg
420 PRINT Rdg
430 !
440 END