Program Examples
Publication 21555, Rev. E, September 2002
A-5
740
PRINT The power meter reports the following error.,Err_msg$
750
PRINT Calibration FAILED, sensor on calibrator?
760
PRINT Esr
770
!
780
END IF
790
!
800
!
810
STOP
820
!
830
Spoll_intr:!
840
!
850
State=SPOLL(@Pwr_mtr)
860
PRINT SPOLL INTR:;State
870
Srq_flag=1
880
ENABLE INTR 7;2
890
!
900
RETURN
910
!
920
!
930
! END OF SENSOR CAL
940
! ###########################
950
!
960
END
A.2.4
Sensor Calibration Example 4
The following program prompts the user to connect a return loss bridge for calibration and
attach an open or short to the bridge test 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 80503 Precision Return Loss Bridge to the input #2 power sensor cable.
445
PRINT Connect the open or short calibration connector to the bridge test port.
450
INPUT Then use an adapter to connect the bridge input port 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
500
IF Pass_cal=1 THEN
510
PRINT Calibration FAILED, Bridge connected to calibrator?
560
ELSE
570
IF Pass_cal<>0 THEN PRINT Strange Response to CAL2?. Clear output Queue?
580
END IF
590
!
Содержание 58542
Страница 3: ...DECLARATION OF CONFORMITY ...
Страница 4: ......
Страница 18: ...58542 VXIbus Universal Power Meter xiv Publication 21555 Rev E September 2002 ...
Страница 20: ...58542 VXIbus Universal Power Meter xvi Publication 21555 Rev E September 2002 ...
Страница 30: ...58452 VXIbus Universal Power Meter 1 10 Publication 21555 Rev E September 2002 ...
Страница 92: ...58542 VXIbus Universal Power Meter 2 62 Publication 21555 Rev E September 2002 ...
Страница 104: ...58452 VXIbus Universal Power Meter 3 12 Publication 21555 Rev E September 2002 ...
Страница 126: ...58452 VXIbus Universal Power Meter 5 8 Publication 21555 Rev E September 2002 ...
Страница 171: ......
Страница 172: ......
Страница 173: ......
Страница 174: ...21360 Rev A has not been u ...
Страница 175: ......
Страница 176: ......
Страница 177: ......
Страница 178: ......
Страница 179: ......
Страница 180: ......
Страница 181: ......
Страница 182: ......
Страница 248: ...58542 VXIbus Universal Power Meter C 2 Publication 21555 Rev E September 2002 ...