Agilent Technologies E8285A manual Programming Example

Models: E8285A

1 464
Download 464 pages 57.8 Kb
Page 337
Image 337

Chapter 4, Description of Fields

Fields

Programming Example

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

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)150 Keep(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 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.

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

 

 

 

 

 

Screens Where Field is Present

CDMA MOBILE REPORTED PILOT STRENGTH

337

Page 337
Image 337
Agilent Technologies E8285A manual Programming Example, Status States Decimal Pilot Strength Level is above