Programming an Access Probe Power Measurement
Last updated: October 28, 2004
This section provides an example of how to make access probe power measurements 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 access probe power remotely is:
-
Turn the access probe power measurement timeout timer on using the
SETup:CAPPower:TIMeout:STATe
command. If the timeout timer is not turned on, and an access probe is not received, the measurement will hang on the FETCh? command indefinitely.
Use the "FETCh:CAPPower[:ALL]?" command to obtain the measurement results.
-
Turn on the mobile station and perform a registration (wait for power-on or send
CALL:REGister[:IMMediate]
).
-
Turn off timer-based registrations (see
CALL:REGister:TIMer:STATe
).
-
Set the trigger arm state to single (see
SETup:CAPPower:CONTinuous
).
Continuous trigger arming can also be used to measure access probe power sequences, however single triggering allows program counters to synchronize with mobile station transmitted power steps. This is important if you want measurement triggering to stop when an access probe sequence has completed.
-
Turn call limit on (see
CALL:CONNected:LIMit[:STATe]<[:SELected]|:TA2000>
).
-
Set up initial power, step size, number of steps, and the maximum number of access probes for requests and responses (see
CALL:APARameter
).
-
Perform a page or mobile station originated call.
-
Initiate the access probe power measurement using the
INITiate<:measurement mnemonic>[:ON]
. The <measurement mnemonic> for access probe power measurements is CAPP.
-
Use the
FETCh:CAPPower[:ALL]?
command to obtain the measurement results.
-
Repeat steps 8 and 9 for each power step.
Return the trigger arm to single state before attempting a different measurement or attempting any call processing procedure.
Programming Example
10 !RE-SAVE "c:\roadhog\programs\acc_probe.txt"
20 !This program measures an access probe sequence
30 !See "Access Probe Output Power" in TIA/EIA-98-E for specifications and standards
40 CLEAR SCREEN
50 A=714
60 !***Specify call parameters***
70 Systype$="DIGITAL2000"
80 Band$="USCELLULAR"
90 Channel=384
100 Sid=1
110 Nid=1
120 Radio_config$="F3R3"
130 Service_opt$="SO2"
140 !
150 !***Specify test parameters***
160 Loss_frequency$="836 MHZ,881 MHZ"
170 Expected_loss$="-2,-2"
180 Acc_prb_steps=3
190 Acc_prb_size=4
200 Ior=-90
210 Pilot=-7
220 Paging_ch=-12
230 Sync=-16
240 Traffic=-15.5
250 !
260 ON TIMEOUT 7,20 CALL Timeout
270 OUTPUT A;"SETUP:CAPP:TIMEOUT:STIME 3 S"
280 OUTPUT A;"SYST:COMM:GPIB:DEB:STAT ON"
290 !
300 !***Set up path loss***
310 OUTPUT A;"SYSTEM:CORRECTION:SFREQUENCY ";Loss_frequency$
320 OUTPUT A;"SYSTEM:CORRECTION:SGAIN ";Expected_loss$
330 !
340 !***Set up access/paging parameters***
350 OUTPUT A;"CALL:OPER:MODE CALL"
360 OUTPUT A;"CALL:BAND ";Band$
370 OUTPUT A;"CALL:CHAN ";Channel
380 OUTPUT A;"CALL:POW -50"
390 OUTPUT A;"CALL:SID ";Sid
400 OUTPUT A;"CALL:NID ";Nid
410 OUTPUT A;"CALL:RCON ";Radio_config$
420 OUTPUT A;"CALL:SOPTION ";Service_opt$
430 OUTPUT A;"CALL:PROT PREV6"
440 OUTPUT A;"CALL:PAG ";Paging_ch
450 OUTPUT A;"CALL:PAG:DRAT FULL"
460 OUTPUT A;"CALL:PIL ";Pilot
470 OUTPUT A;"CALL:SYNC ";Sync
480 OUTPUT A;"CALL:FCH ";Traffic
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:REGISTER:TIMER:STATE OFF"
540 WAIT 2
550 !
560 !***Set up measurement parameters***
570 OUTPUT A;"SETUP:CAPP:CONTINUOUS OFF"
580 OUTPUT A;"CALL:CONNECTED:LIMIT 1"
590 OUTPUT A;"CALL:APARAMETER:POWER:STEP ";Acc_prb_size
600 OUTPUT A;"CALL:APARAMETER:POWER:STEP:COUNT ";Acc_prb_steps
610 !
620 !***Page the mobile station***
630 DISP "Paging mobile station..."
640 OUTPUT A;"CALL:ORIG"
650 DISP "Measuring Access probe power"
660 !
670 !***Obtain measurement results***
680 FOR I=1 TO Acc_prb_steps
690 OUTPUT A;"INITIATE:CAPP"
750 OUTPUT A;"FETCH:CAPP?"
760 ENTER A;Acp_integ,Acp
770 PRINT "Access probe ";I;" integrity = ";Acp_integ
780 PRINT "Access probe ";I;" power = ";Acp
790 NEXT I
800 DISP "Access probe measurements completed"
810 DISP "Test complete"
811 !
820 !***Return to default call processing states***
830 OUTPUT A;"CALL:END"
840 OUTPUT A;"CALL:CONNECTED:LIMIT 0"
850 OUTPUT A;"CALL:REGISTER:TIMER:STATE ON"
860 END
861 !
870 Timeout: SUB Timeout
880 PRINT "Program timed out"
890 CLEAR 7
900 CLEAR 714
910 SUBEND
Returned Values
This query returns an integrity indicator followed by a channel power measurement result (if results are available).
|