58542 VXIbus Universal Power Meter
A-6 Publication 21555, Rev. E, September 2002
A.2.5 Sensor Calibration Example 5
The following program prompts the user to remove the high power attenuator from a high power sensor
main housing and connect the main housing to the power sweep calibrator port. It then performs a
power sweep calibration and sends back a pass/fail flag upon completion.
410 ASSIGN @Pwr_mtr to 70101
420 CLEAR @Pwr_mtr
430 WAIT 1
440 PRINT Connect the 80325 50W Power Sensor to the input #2 power sensor cable.
445 PRINT Remove the high power attenuator or leave it attached to the measurement port on the DUT
450 INPUT Then connect the high power sensor main housing to the calibrator and hit ENTER.,Dmy
460 PRINT Calibrating Sensor 2...
470 OUTPUT @Pwr_mtr;CAL2?
480 ENTER @Pwr_mtr;Pass_cal
490 IF Pass_cal=0 THEN PRINT Calibration Passed. Re-attach the high power attenuator immediately!
500 IF Pass_cal=1 THEN
510 PRINT Calibration FAILED, Main sensor housing connected to calibrator?
560 ELSE
570 IF Pass_cal<>0 THEN PRINT Strange Response to CAL2?. Clear output Queue?
580 END IF
590 !