158
S:\Hp8960\E1962B CDMA 2000\Pi Release\Reference Guide\Chapters\cdma2000_prog_cctphase.fm
Programming a Code Channel Time/Phase Measurement
Programming a Code Channel Time/Phase Measurement
This section provides an example of how to make a code channel time/phase measurement via GPIB.
The following program example assumes that the mobile station’s antenna output is connected to the RF
IN/OUT connector, and the mobile station has found service.
The basic procedure to measure waveform quality is:
1. Make a call (radio configuration three or above).
2. Configure the code channel time/phase measurement setup parameters using the “SETup:CCTPhase”
subsystem.
3. Start the code channel time/phase measurement using the “INITiate” subsystem.
4. Use the “FETCh:CCTPhase” command to obtain pass/fail measurement results.
Programming Example
10 RE-SAVE "c:\roadhog\programs\code_chan.txt"
20 !This program measures handoff waveform quality
30 !Refer to "Reverse Pilot Channel to Code Channel Time Tolerance" and
40 !"Reverse Pilot Channel to Code Channel Time Tolerance" for standards and specifications
50 CLEAR SCREEN
60 A=714
70 !***Specify call parameters***
80 Systype$="DIGITAL2000" !Cell System Type must be DIGITAL2000
90 Band$="USCELLULAR" !Cell band
100 Channel=384 !RF Channel
110 Sid=1 !System Identification
120 Nid=1 !Network Identification
130 Radio_config$="F3R3" !for code channel time/phase error, radio configuration must be
F3R3, F4R3, or F5R4
140 !
150 !***Specify test parameters***
160 Loss_frequency$="851 MHZ,896 MHZ" !Reverse channel, forward channel frequencies for
amplitude offset (path loss)
170 Expected_loss$="-2,-2" !Path loss at reverse channel, forward channel frequencies
180 !
190 ON TIMEOUT 7,20 CALL Timeout ! Calls "Timeout" routine
200 OUTPUT A;"SETUP:CCTPhase:TIMEOUT:STIME 10 S" !Sets waveform quality measurement timeout
to 10 seconds
210 OUTPUT A;"SYST:COMM:GPIB:DEB:STAT ON"!Turns debug state on
220 !
230 !***Set up call parameters***
240 OUTPUT A;"CALL:OPER:MODE CALL" !Sets Operating Mode to Active Cell
250 OUTPUT A;"CALL:SYSTEM ";Systype$ !Sets System Type
260 OUTPUT A;"CALL:BAND ";Band$ !Sets Cell Band for selected System Type
270 OUTPUT A;"CALL:CHAN ";Channel !Sets RF Channel for selected System Type and Cell Band
280 OUTPUT A;"CALL:POW -50" !Sets and turns on Cell Power
290 OUTPUT A;"CALL:SID ";Sid! Sets System Identification
300 OUTPUT A;"CALL:NID ";Nid! Sets Network Identification