Agilent Technologies Home Page 8960 Series 10 Wireless Communications Test Set
- +
Home | Product Web Site | Contact Us
+
- -
+ -
8960 cdma2000 Online User's Guide
E1962B, E6702B
Search this guide for     
search tips



Feedback
Did the information on this web page help answer your question or solve a problem?

Yes
No
Did not apply

Please provide additional comments about this page.
(Optional, 255 character max)


Email address (optional):

Privacy Notice: We will not sell or give away your email address to any third party.

 



Programming an FER (Frame Error Rate) Measurement

Last updated: October 28, 2004

This section provides an example of how to make an FER 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.

For information on configuring the test set for a call, see Step 4: Make a connection .

The basic procedure to test FER is as follows:

  1. Make a SO (service option) 2, 9, or 55 call (see CALL:SOPTion ).
  2. Configure the FER Setup parameters using the SETup:CFERror subsystem.
  3. Start the FER measurement using the INITiate subsystem.
  4. Use the FETCh:CFERror command to obtain the measurement results.

Programming Example

 
11   !RE-SAVE "c:\roadhog\programs\fer.txt"
20   !This program measures frame error rate.
30   !See "Receiver Sensitivity and Dynamic Range" in TIA/EIA-98-D for
40   !Specifications and Standards.
50   CLEAR SCREEN
60   A=714
70   !***Specify call parameters***
80   Systype$="DIGITAL2000"  !Cell System Type
90   Band$="USCELLULAR"      !Cell band
100  Channel=384   !RF Channel
110  Sid=1         !System Identification
120  Nid=1         !Network Identification
130  Radio_config$="F3R3"  !Radio Configuration
140  Service_opt$="SO2"    !Service Option
150          !
160  !***Specify test parameters***
170  !Reverse channel, forward channel frequencies for amplitude offset (path loss)
172  Loss_frequency$="836 MHZ,881 MHZ"
182  !Path loss at reverse channel, forward channel frequencies
190  Expected_loss$="-2,-2"
200  Ior=-104         !Cell power
210  Pilot=-7         !Pilot channel power level
220  Traffic=-15.5    !Traffic channel power level
230          !
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***
282  !Enters frequencies in Amplitude Offset table
290  OUTPUT A;"SYSTEM:CORRECTION:SFREQUENCY ";Loss_frequency$
300  !Enters loss values in Amplitude offset table
310  OUTPUT A;"SYSTEM:CORRECTION:SGAIN ";Expected_loss$
320         !
340  !***Set up call parameters***
350  OUTPUT A;"CALL:OPER:MODE CALL" !Sets Operating Mode to Active Cell
360  OUTPUT A;"CALL:SYSTEM ";Systype$ !Sets System Type
370  OUTPUT A;"CALL:BAND ";Band$      !Sets Cell Band for selected System Type
380  OUTPUT A;"CALL:CHAN ";Channel !Sets Channel for selected System Type and Cell Band
390  OUTPUT A;"CALL:POWER -50" !Sets and turns on Cell Power for selected System Type
400  OUTPUT A;"CALL:SID ";Sid        ! Sets System Identification
410  OUTPUT A;"CALL:NID ";Nid        ! Sets Network Identification
420  OUTPUT A;"CALL:RCON ";Radio_config$  !Sets Radio Configuration
430  OUTPUT A;"CALL:SOPTION ";Service_opt$  !Sets service option for selected System Type
440                                         !and Radio Configuration
450  OUTPUT A;"CALL:PROT PREV6" !Sets Protocol Revision for the selected System Type
460  OUTPUT A;"CALL:PAG:DRAT FULL" !Sets Paging channel data rate to full rate
470  OUTPUT A;"CALL:PIL -7"     !Sets Pilot to default
480  OUTPUT A;"CALL:SYNC -16"   !Sets Sync to default
490  OUTPUT A;"CALL:PAG -12"    !Sets Paging to default
500  OUTPUT A;"CALL:FCH -15.6"  !Sets Traffic to default
510          !
520  PRINT "Turn on mobile station...press continue when it has found service and registered"
530  PAUSE
540  CLEAR SCREEN
550  OUTPUT A;"CALL:REG:TIMER:STATE 0"  !Turns timer-based registrations off
560  WAIT 2   !Waits 2 seconds for any timer-based registrations to clear out
570          !
580  !***Page the mobile station***
590  DISP "Paging mobile station..."
600  OUTPUT A;"CALL:ORIG"  !Pages the mobile station
610  OUTPUT A;"CALL:CONNECTED:STATE?" !Queries for connected/idle state...hangs until state
620                                   !change detector is disarmed
630  ENTER A;Call_connected
640  IF NOT Call_connected THEN
650    DISP "Call attempt failed"
660    STOP
670  ELSE
680    DISP "Call connected"
690  END IF
700          !
710  !***Set up measurement parameters***
720  OUTPUT A;"SETUP:CFERROR:CONTINUOUS OFF" !Sets trigger arm state to single
730  OUTPUT A;"CALL:POW ";Ior  ! Sets Cell Power for the selected System Type
740  OUTPUT A;"CALL:PIL ";Pilot !Sets Pilot channel level
750  OUTPUT A;"CALL:FCH ";Traffic !Sets Traffic channel level
760          !
770  !***Obtain measurement results***
780  OUTPUT A;"INITIATE:CFERROR" !Initiates a frame error rate measurement
790  DISP "Measuring FER"
800  OUTPUT A;"FETCH:CFERROR?" !Queries the test set for frame error rate measurement results
810  ENTER A;Integrity,Fer_test,Fer_ratio,Fer_count,Frames_tested
820          !
830  SELECT Fer_test  !Assign pass/fail results to a string
840  CASE 0
850    Pass_fail$="PASSED"
860  CASE 1
870    Pass_fail$="FAILED"
880  CASE 2
890    Pass_fail$="MAXIMUM NUMBER OF FRAMES WERE TESTED"
900  CASE 3
910    Pass_fail$="UNKNOWN"
920  END SELECT
930          !
940  PRINT "Integrity indicator = ";Integrity
950  PRINT "FER test results = ";Pass_fail$,"FER ratio = ";Fer_ratio
960  PRINT "FER count = ";Fer_count,"Number of frames tested = ";Frames_tested
970          !
980  OUTPUT A;"FETC:CFER:ERAS:FORW?"   ! Fetch forward erasure
990  ENTER A;For_eras
1000 PRINT "FER forward erasure data = ";For_eras;
1010         !
1020 OUTPUT A;"FETC:CFER:ERAS:REV?"  ! Fetch reverse erasure
1030 ENTER A;Rev_eras
1040 PRINT "FER reverse erasure data = ";Rev_eras
1050         !
1060 OUTPUT A;"FETC:CFER:ERR?"   ! Fetch mobile error
1070 ENTER A;Mob_err
1080 PRINT "FER mobile errors = ";Mob_err
1090 DISP "Test complete"
1100 !***Return to default call processing states***
1110 OUTPUT A;"CALL:POW:DIG2000 -50"    ! Returns cell power to -50 dBm/1.23 MHz
1120 OUTPUT A;"CALL:REG:TIMER:STATE ON"  !Returns timer-based registration to ON
1130          !
1140 OUTPUT A;"CALL:END"          !Ends the call
1150 END
1160  Timeout: SUB Timeout          ! Global timeout handler
1170    PRINT "Program timed out"
1180    CLEAR 7
1190    CLEAR 714
1200  SUBEND



Top of pagetop of page     

+ +