Agilent Technologies E8285A Video Games User Manual


 
411
Chapter 4, Description of Fields
Fields
NOTE: If no values are displayed in the CDMA Mobile Reporting table, the query example shown
above will return only the line feed character.
Programming example for Status Field
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
90 Stat(I)=VAL(Pil_str$[1;16])
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 17 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 17 written into it for each pilot reported.
Table 17 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