Agilent Technologies E8285A manual Programming example for Status Field

Models: E8285A

1 464
Download 464 pages 57.8 Kb
Page 411
Image 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]

40OUTPUT 714;"CDMA:MOB:PIL:STR?"

50ENTER 714;Pil_str$

60Length=LEN(Pil_str$)

70Num_pn=(Length+1) DIV 68 !Determine number of Pilots in the

table

80FOR I=1 TO Num_pn

90Stat(I)=VAL(Pil_str$[1;16])

100PRINT "Pilot";I;"status is ";Stat(I)

110Pnofst(I)=VAL(Pil_str$[18;16])

120PRINT "Pilot";I;"PN Offset is";Pnofst(I)

130Str(I)=VAL(Pil_str$[35;16])

140PRINT "Pilot";I;"pilot strength is ";Str(I)

150Keep(I)=VAL(Pil_str$[52;16])

160PRINT "Pilot";I;"keep bit is ";Keep(I)

170IF I<>Num_pn THEN

180Pil_str$=Pil_str$[69,LEN(Pil_str$)] !Move to next Pilot in the string

190PRINT

200END IF

210NEXT I

220END

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

 

 

 

 

 

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.

411

Page 411
Image 411
Agilent Technologies E8285A Programming example for Status Field, Status States Decimal Pilot Strength Level is above