65
S:\Hp8960\E1960A GSM Mobile Test Application\A.04 Release\Proguide\Chapters\prog_prog_guide_comprehensive_prog_example.fm
Comprehensive Program Example
520 OUTPUT Test_set;”CALL:POW:SAMP -85” ! Set cell power to -85 dBm and cell
530 ! power state to ON with complex command.
540 OUTPUT Test_set;”CALL:TCH 45” ! Set traffic channel to 45.
550 OUTPUT Test_set;”CALL:TCH:TSL 4” ! Set timeslot to 4.
560 !
570 !*****************************************************************************
580 ! Step 3: Configure the Measurement Execution Parameters
590 !*****************************************************************************
600 !
610 ! Configure ORFS Measurement:
620 !
630 OUTPUT Test_set;”SET:ORFS:SWIT:COUN 5” ! Examples of using complex commands to
640 OUTPUT Test_set;”SET:ORFS:MOD:COUN 10” ! set multi-meas state and count at
650 ! same time.
660 OUTPUT Test_set;”SET:ORFS:TRIG:SOUR AUTO” ! Set trig source to AUTO.
670 OUTPUT Test_set;”SET:ORFS:CONT OFF” ! Set trig mode to single.
680 OUTPUT Test_set;”SET:ORFS:TIM 60” ! Set timeout time to 60 seconds.
690 ! Put switching and modulation offsets to be tested into string variables.
700 Swit_offs$=”400KHZ,-400KHZ,600KHZ,-600KHZ,1200KHZ,-1200KHZ,1800KHZ,-1800KHZ”
710 Mod_offs$=”.2MHZ,-.2MHZ,.4MHZ,-.4MHZ,.6MHZ,-.6MHZ,.8MHZ,-.8MHZ,1MHZ,-1MHZ”
720 OUTPUT Test_set;”SET:ORFS:SWIT:FREQ “&Swit_offs$
730 OUTPUT Test_set;”SET:ORFS:MOD:FREQ “&Mod_offs$
740 !
750 ! Configure TX Power Measurement:
760 !
770 OUTPUT Test_set;”SET:TXP:COUN 3”
780 OUTPUT Test_set;”SET:TXP:TRIG:SOUR RISE;QUAL ON”
790 OUTPUT Test_set;”SET:TXP:CONT OFF”
800 OUTPUT Test_set;”SET:TXP:TIM 20”
810 !
820 ! Configure Phase & Frequency Error Measurement:
830 !
840 OUTPUT Test_set;”SET:PFER:COUN 8”
850 OUTPUT Test_set;”SET:PFER:TRIG:SOUR PROT;QUAL ON”
860 OUTPUT Test_set;”SET:PFER:CONT OFF”
870 OUTPUT Test_set;”SET:PFER:TIM 30”
880 OUTPUT Test_set;”SET:PFER:BSYN MID”
890 !
900 !*****************************************************************************
910 ! Step 4: Establish an Active Link with the Mobile Station
920 !*****************************************************************************
930 !
940 OUTPUT Test_set;”CALL:PAG:IMSI ‘001012345678901’” ! Set paging IMSI.
950 OUTPUT Test_set;”CALL:PAG:REP OFF” ! Set paging repeat state to off.
960 !
970 ! This example uses a BSE originated call. The MS must be camped to the BSE
980 ! in order for the BSE to originate a call. The following code will try to
990 ! originate a call 50 times and then STOP the program. This should give
1000 ! adequate time for the MS to camp to the BSE.
1010 !
1020 ! NOTE: This technique will cause the following error to be displayed on the
1030 ! test set’s display and be put in the error message queue each time
1040 ! that the call fails to connect. This is normal for this technique.