Agilent Technologies 8960 Series Reference Manual page 196

Hide thumbs Also See for 8960 Series:
Table of Contents

Advertisement

Dealing With Semicolon Separated Response Data Lists
DIM Response$[500]
!
!
OUTPUT 714;"CALL:MS:REP:IMSI?;PCL?;REV?;SBAN?;ONUM?;MCC?;MNC?;LAC?"
ENTER 714;Response$
Semicolon=POS(Response$,";")
WHILE Semicolon
Response$[Semicolon,Semicolon]=CHR$(10)
Semicolon=POS(Response$,";")
END WHILE
ENTER Response$;Imsi$,Pcl,Rev$,Sban$,Onum$,Mcc,Mnc,La
Semicolon Separated Response Data Lists Containing Only Numeric Data Types
Semicolon separated response data lists containing only numeric data types do not present the types of
problem associated with semicolon separated response data lists containing mixed data types. The number
building routines in most languages will use any non-numeric character (that is, anything other than +/-
0123456789 E .) as the data item terminator. Consequently when the number building routines encounter the
semicolon the data item is terminated. The following example illustrates this:
OUTPUT 714;"FETCH:TXP:INT?;POW:MIN?;MAX?"
ENTER 714;Integrity,Min_power,Max_power
196
S:\Hp8960\E1963A WCDMA\4.0 release\Reference Guide\Chapters\wcdma_prog_gen_compound.fm

Advertisement

Table of Contents
loading

Table of Contents