159
S:\Hp8960\E1962B CDMA 2000\Pi Release\Reference Guide\Chapters\cdma2000_prog_cctphase.fm
Programming a Code Channel Time/Phase Measurement
310 OUTPUT A;"CALL:RCON ";Radio_config$!Sets Radio configuration
320 OUTPUT A;"CALL:PROT PREV6" !Sets Protocol Revision for the selected System Type
330 !
340 PRINT "Turn on mobile station...press continue when it has found service and registered"
350 PAUSE
360 CLEAR SCREEN
370 OUTPUT A;"CALL:REGISTER:TIMER:STATE OFF" !Turns off timer-based registrations
380 WAIT 2 ! Waits for any timer-based registrations to clear out
390 !
400 !***Page the mobile station***
410 DISP "Paging mobile station..."
430 OUTPUT A;"CALL:ORIG" !Pages the mobile station
440 OUTPUT A;"CALL:CONNECTED:STATE?" !Queries for connected/idle state...hangs until state
change detector is disarmed
450 ENTER A;Call_connected
460 IF NOT Call_connected THEN
470 DISP "Call attempt failed"
480 STOP
490 ELSE
500 DISP "Call connected"
510 END IF
520 !
530 !***Set up measurement parameters***
540 OUTPUT A;"SETUP:CCTPhase:CONTINUOUS OFF" !Sets trigger arm state to single
550 OUTPUT A;"SETUP:CCTPhase:TERROR:LIMit 10ns" !Sets the time error pass/fail limit to 10
ns
560 OUTPUT A;"SETUP:CCTPhase:PERRor:LIMit 0.15rad" !Sets the phase error pass/fail limit to
0.15 radians
570 !
580 !***Obtain and display code channel time/phase pass/fail results***
590 WAIT 1
600 OUTPUT A;"INITIATE:CCTPhase" !Initiates a code channel time/phase error measurement
610 OUTPUT A;"FETCh:CCTPhase?" !Queries the test set for waveform quality measurement
results
620 ENTER A;Integrity,Time_err,Phase_err
630 PRINT "Integrity indicator = ";Integrity
640 IF Time_err THEN
650 PRINT "Time error test failed"
660 ELSE
670 PRINT "Time error test passed"
680 END IF
690 IF Phase_err THEN
700 PRINT "Phase error test failed"
710 ELSE
720 PRINT "Phase error test passed"
730 END IF
740 !
750 DISP "Test complete"
760 !
770 !***Return to idle call processing state***
780 OUTPUT A;"CALL:END"
790 END
800 Timeout: SUB Timeout ! Global timeout handler (from Step 1)