Agilent Technologies E8285A manual Length, Queries the length of the current SMS message length

Models: E8285A

1 464
Download 464 pages 57.8 Kb
Page 282
Image 282

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 Keep 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

Screens Where Field is Present

CDMA MOBILE REPORTED PILOT STRENGTH

Length

This field displays the total message length, in characters, of a SMS message multiplied by the number entered in the Duplicate User Data field.

GPIB Example

“CDMA:SMS:TERM:DATA:LENG?”

queries the length of the current SMS message length.

Screens Where Field is Present

CDMA SHORT MESSAGE SERVICE

282

S:\agilent\e8285\REFGUIDE\MANUAL\fields.chp

Page 282
Image 282
Agilent Technologies E8285A manual Length, Queries the length of the current SMS message length