Agilent Technologies E8285A Video Games User Manual


 
337
Chapter 4, Description of Fields
Fields
Programming Example
10 ! RE-STORE "C:\WENDYL\READ_MRT"
20 CLEAR SCREEN
30 DIM Pil_str$[500]
40 OUTPUT 714;"CDMA:MOB:PIL:STR?"
50 ENTER 714;Pil_str$
60 Length=LEN(Pil_str$)
70 Num_pn=(Length+1) DIV 68 !Determine number of Pilots in the
table
80 FOR I=1 TO Num_pn
100 PRINT "Pilot";I;"status is ";Stat(I)
110 Pnofst(I)=VAL(Pil_str$[18;16])
120 PRINT "Pilot";I;"PN Offset is";Pnofst(I)
130 Str(I)=VAL(Pil_str$[35;16])
140 PRINT "Pilot";I;"pilot strength is ";Str(I)150
Keep(I)=VAL(Pil_str$[52;16])
160 PRINT "Pilot";I;"keep bit is ";Keep(I)
170 IF I<>Num_pn THEN
180 Pil_str$=Pil_str$[69,LEN(Pil_str$)] !Move to next Pilot in
the string
190 PRINT
200 END IF
210 NEXT I
220 END
Table 14 documents the decimal numbers assigned to the Status column states. In
the previous programming example, the variable Stat(I) will have one of the
decimal values from
Table 14 written into it for each pilot reported.
Screens Where Field is Present
CDMA MOBILE REPORTED PILOT STRENGTH
Table 14 Status States
Decimal Pilot Strength Level is above Status
0 None of the settable reference levels Candidate
1 None of the settable reference levels To Drop
2 T_Drop Candidate
3 T_Drop Active
4 T_Add Candidate
5 T_Add To Drop
6 T_Add and T_Drop Candidate
7 T_Add and T_Drop Active
14 T_Add and T_Drop and T_Comp Candidate
15 T_Add and T_Drop and T_Comp Active