174
S:\Hp8960\E1962B CDMA 2000\Pi Release\Reference Guide\Chapters\cdma2000_prog_gpower.fm
Programming a Gated Power Measurement
240 ON TIMEOUT 7,20 CALL Timeout ! Calls "Timeout" routine
250 OUTPUT A;"SETUP:CFER:TIMEOUT:STIME 10 S" !Sets FER measurement timeout to 10 seconds
260 OUTPUT A;"SYST:COMM:GPIB:DEB:STAT ON" !Turns debug state on
270 !
280 !***Set up path loss***
290 OUTPUT A;"SYSTEM:CORRECTION:SFREQUENCY ";Loss_frequency$ !Enters frequencies in
Amplitude Offset table
300 OUTPUT A;"SYSTEM:CORRECTION:SGAIN ";Expected_loss$ !Enters loss values in Amplitude
Offset table
310 !
320 !***Set up call parameters***
330 OUTPUT A;"CALL:OPER:MODE CALL" !Sets Operating Mode to Active Cell
340 OUTPUT A;"CALL:SYSTEM ";Systype$ !Sets System Type
350 OUTPUT A;"CALL:BAND ";Band$ !Sets Cell Band for selected System Type
360 OUTPUT A;"CALL:CHAN ";Channel ! Sets Channel for selected System Type and Cell Band
370 OUTPUT A;"CALL:POWER -50" !Sets and turns on Cell Power for call setup
380 OUTPUT A;"CALL:SID ";Sid! Sets System Identification
390 OUTPUT A;"CALL:NID ";Nid! Sets Network Identification
400 OUTPUT A;"CALL:RCON ";Radio_config$ !Sets Radio Configuration
410 OUTPUT A;"CALL:SOPTION ";Service_opt$ !Sets service option for selected System Type and
Radio Configuration
420 OUTPUT A;"CALL:PROT PREV6" !Sets Protocol Revision for the selected System Type
430 OUTPUT A;"CALL:PAG:DRAT FULL" !Sets Paging channel data rate to full rate
440 OUTPUT A;"CALL:TRAFFIC:DRATE EIGHTH" !Sets traffic/fundamental channel data rate to
eighth
450 OUTPUT A;"CALL:PIL -7" !Sets Pilot to default
460 OUTPUT A;"CALL:SYNC -16" !Sets Sync to default
470 OUTPUT A;"CALL:PAG -12" !Sets Paging to default
480 OUTPUT A;"CALL:FCH -15.6" !Sets Traffic to default
490 !
500 PRINT "Turn on mobile station...press continue when it has found service and registered"
510 PAUSE
520 CLEAR SCREEN
530 OUTPUT A;"CALL:REG:TIMER:STATE OFF" !Turns timer-based registrations off
540 WAIT 2 !Waits 2 seconds for any timer-based registrations to clear out
550 !
560 !***Page the mobile station***
570 DISP "Paging mobile station..."
580 OUTPUT A;"CALL:ORIG" !Pages the mobile station
590 OUTPUT A;"CALL:CONNECTED:STATE?" !Queries for connected/idle state...hangs until state
change detector is disarmed
600 ENTER A;Call_connected
610 IF NOT Call_connected THEN
620 DISP "Call attempt failed"
630 STOP
640 ELSE
650 DISP "Call connected"
660 END IF
670 !
680 !***Set up measurement parameters***
690 OUTPUT A;"SETUP:GPOWER:CONTINUOUS OFF" !Sets trigger arm state to single
700 OUTPUT A;"CALL:POW ";Ior ! Sets Cell Power for gated power measurement
710 OUTPUT A;"CALL:PIL ";Pilot !Sets Pilot channel level