User`s guide

2-20
GPIB Tutorial and Examples
Program 1
550 !
560 !Bit error ratio test
570 !
580 Numberpwr=1 !The number of downlink power levels for bit error
test
590 Berpwr(1)=-102 !The power level in dBm of the first downlink power.
Etc....
600 Bits1=10000 !The number of bits to test at each ARFCN/Power com-
bination
610 Numberarfcn=3 !The number of ARFCN for bit error test
620 Berarfcn(1)=1 !The value of the first ARFCN. Etc....
630 Berarfcn(2)=65
640 Berarfcn(3)=124
650 !
660 !DSP measurememnts
670 !
680 Numdsppwr=3 !The number of mobile TX Levels for DSP test
690 Dsppwr(1)=5 !The value of the first TX Level. Etc...
700 Dsppwr(2)=10
710 Dsppwr(3)=15
720 Numdsparfcn=3 !The number of ARFCN for DSP test
730 Dsparfcn(1)=1 !The value of the first ARFCN. Etc....
740 Dsparfcn(2)=65
750 Dsparfcn(3)=124
760 !
770 !Fast Power measurements
780 !
790 Numfppwr=8 !The number of mobile TX Levels for fast power test
800 Fppwr(1)=6 !The value of the first TX Level. Etc....
810 Fppwr(2)=7
820 Fppwr(3)=8
830 Fppwr(4)=9
840 Fppwr(5)=11
850 Fppwr(6)=12
860 Fppwr(7)=13
870 Fppwr(8)=14
880 Numfparfcn=3 !The number of ARFCN for fast power test
890 Fparfcn(1)=1 !The value of the first ARFCN. Etc...
900 Fparfcn(2)=65
910 Fparfcn(3)=124
920 !
930 !===========================================================================
940 !
950 !PRINT MESSAGES ARE DEFINED BELOW
960 !
970 Message$(1)=”Answer call when mobile rings”
980 Message$(2)=”Would you like to test again? (y or n)”
990 Message$(3)=”Results from Fast Power Measurement”
1000 Message$(4)=”ARFCN TXLEV POWER dBm”
1010 Message$(5)=”Results from Power, Power vs Time & Modulation Measurements”
1020 Message$(6)=”ARFCN TXLEV POWER dBm Pk & RMS PHASE FREQ ERROR MASK”
1030 Message$(7)=”Results from BER Test”
1040 Message$(8)=”ARFCN Downlink dBm BER1% RxQual RxLev TIMERR”
1050 Message$(9)=” Seconds.”
1060 Message$(10)=”Time for phone to camp and answer page: “
1070 Message$(11)=”Time for testing : “
1080 Message$(12)=”Time for call clear down : “
1090 !
1100 Emptyst$=”@”
1110 Empty=-999
1120 Nullst$(1,1)=Emptyst$
1130 Null(1,1)=Empty
1140 !
1150
!====================================================================================
1160 !
1170 !ERROR AND TIMEOUT HANDLING
1180 !