162
S:\Hp8960\E1962B CDMA 2000\Pi Release\Reference Guide\Chapters\cdma2000_prog_dap.fm
Programming a Digital Average Power Measurement
300 !
310 !***Set up call parameters***
320 OUTPUT A;"CALL:OPER:MODE CALL" !***Sets Operating Mode to Active Cell***
330 OUTPUT A;"CALL:SYSTEM ";Systype$ !Sets System Type
340 OUTPUT A;"CALL:BAND ";Band$ !Sets Cell band for selected System Type
350 OUTPUT A;"CALL:CHAN ";Channel !Sets Channel for selected System Type and Cell Band
360 OUTPUT A;"CALL:POW -50" ! Sets and turns on Cell Power for selected System Type
370 OUTPUT A;"CALL:SID ";Sid ! Sets System Identification
380 OUTPUT A;"CALL:NID ";Nid ! Sets Network Identification
390 OUTPUT A;"CALL:RCON ";Radio_config$ !Sets Radio configuration
400 OUTPUT A;"CALL:SOPTION ";Service_opt$ !Sets service option for the selected System Type
and Radio Configuration
410 OUTPUT A;"CALL:PROT:DIG2000 PREV6" ! Sets Protocol Revision for the selected System Type
420 OUTPUT A;"CALL:PAG:DRAT FULL" !Sets F-Paging data rate to full rate
430 OUTPUT A;"CALL:PIL -7" !Sets pilot to default
440 OUTPUT A;"CALL:SYNC -16" !Sets sync to default
450 OUTPUT A;"CALL:PAG -12" !Sets paging to default
460 OUTPUT A;"CALL:FCH -15.6"!Sets traffic to default
470 !
480 PRINT "Turn on mobile station...press continue when it has found service and registered"
490 PAUSE
500 CLEAR SCREEN
510 OUTPUT A;"CALL:REGISTER:TIMER:STATE OFF" !Turns timer-based registration off
520 WAIT 2 !Waits 2 seconds for timer-based registrations in progress to clear out
530 !
540 !***Page the mobile station***
550 DISP "Paging mobile station..."
560 OUTPUT A;"CALL:ORIG" !Pages the mobile station
570 OUTPUT A;"CALL:CONNECTED:STATE?" !Queries for connected/idle state...hangs until state
change detector is disarmed
580 ENTER A;Call_connected
590 IF NOT Call_connected THEN
600 DISP "Call attempt failed"
610 STOP
620 ELSE
630 DISP "Call connected"
640 END IF
650 !
660 !***Set up measurement parameters***
670 OUTPUT A;"SETUP:DAPOWER:CONTINUOUS OFF" !Sets trigger arm state to single
680 OUTPUT A;"CALL:POW ";Ior !Sets Cell Power for the selected System Type
690 OUTPUT A;"CALL:CLPCONTROL:REVERSE:MODE UP" !Starts transmission of All Up (0) power
control bits
700 OUTPUT A;"CALL:PIL ";Pilot !Sets pilot channel level
710 OUTPUT A;"CALL:FCH ";Traffic !Sets traffic channel level
720 !
730 !***Obtain measurement results***
740 WAIT 1 !Settling time
750 OUTPUT A;"INITIATE:DAPOWER" !Initiates an Average Power measurement
810 OUTPUT A;"FETCh:DAPOWER?"
820 ENTER A;Integrity,Avg_power_dbm
830 Avg_power_dbw=Avg_power_dbm-30
840 !