Programming a TX Dynamic Power Measurement

 Last updated: October 28, 2004

 This section provides an example of how to make a TX dynamic power measurement via GPIB.

 The following program example assumes that the mobile station's antenna output is connected to the RF IN/OUT connector.

 Since the measurement is expected to be used only when Call Connection status is Idle, no Call Connection is needed.

 The basic procedure to measure TX dynamic power is as follows:

  1.  
  2. Place your MS in the test mode required for performing TX dynamic power.
  3.  Set the TX dynamic power setup parameters to match your MS's test mode using the SETup:CTDPower commands.
  4.  Arm the TX dynamic power measurement using the INITiate<:measurement mnemonic>[:ON] command.
  5.  Via the MS test mode interface, command your MS to generate the RF Rise impulse to trigger the measurement.
  6.  When the measurement is finished, use the FETCh:CTDPower or READ:CTDPower[:ALL]? commands to obtain the measurement results.

 


   
NOTE
The buffer size for the measurement results should be set above 1445 characters. If the results are printed in format display, you should assign larger buffer size. See example below.

   
 

Programming Example

 
10       CLEAR SCREEN
20       DIM Dypow_res$[3400]
30       DIM Dynamic_val(200)
40       !
50       !The size of buffer which contains the return value
60       !should be set above 1445. It is suggested to be 1450.
70       !The buffer size is suggested to be set above 3400 if
80       !the results are displayed with print format as shown below.
90       Testset=714
100       !
110       ON TIMEOUT 7,20 CALL Timeout
120       !Calls "Timeout" routine
130       OUTPUT Testset;"SYST:COMM:GPIB:DEB:STAT ON"
140       !Turns GPIB debug state on
150       !
160       PRINT "***Set up measurement parameters***"
170       !
180       OUTPUT Testset;"SETUP:CTDPOWER:TIMEOUT:STIME 20 S"
190       !Sets measurment timeout to 20 seconds
200       !
210       !***Set up measurement parameters***
220       OUTPUT Testset;"RFAN:CONT:POW:AUTO OFF"
230       !Sets the receiver power control to manual mode
240       OUTPUT Testset;"RFAN:MAN:POW:SEL 0 dBm"
250       !Sets the receiver power to the initial power (max power)
260       !at which the MS will transmit.
260       OUTPUT Testset;"RFAN:MAN:MEAS:MFR 851 MHZ"
270       !Sets the frequecy at which the MS will transmit
280       OUTPUT Testset;"SETUP:CTDP:STEP:LEV -1.0 dB"
290       !Set the dynamic power measurement step size to -1.0 dB
300       OUTPUT Testset;"SETUP:CTDP:STEP:COUN 29"
310       !Set the dynamic power measurement number of Steps
320       !to 30.
330       !
340       PRINT "***Arm the TX dynamic power measurement***"
350       OUTPUT Testset;"INITIATE:CTDPOWER:ON"
360       !Initiate TX dynamic power measurement
370       !
380       PRINT "***Command the MS to trigger the measurement***"
390       !
400       !***Obtain measurement results***
410       PRINT "***Obtain measurement results***"
420       OUTPUT Testset;"FETCH:CTDPOWER:COUNT:STEP?"
430       ENTER Testset;Numofstep
440       OUTPUT Testset;"FETCh:CTDPOWER?"
450       ENTER Testset;Integrity,Dypow_res$
460       !***Display measurement results
470       PRINT "Integrity indicator = ";Integrity
480       PRINT "The number of Step = ";Numofstep
490       FOR I=1 TO Numofstep
500         Dynamic_mkr=((I-1)*17)
510         !Set up a marker that will jump to each comma in the ascii string
520         Dynamic_val(I)=VAL(Dypow_res$[Dynamic_mkr+1;Dynamic_mkr+16])
530         !Convert ascii to a numeric value
540         PRINT "Dynamic ";I-1;" measurement is ";Dynamic_val(I);" dBm/1.23 MHz"
550       NEXT I
560      !
570       END
580  Timeout: SUB Timeout            ! Global timeout handler
590         PRINT "Program timed out"
600         CLEAR 7
610         CLEAR 714
620       SUBEND

 The measurement results include an integrity indicator followed by power results for each measurement steps.

 

Related Topics


 

TX Dynamic Power Measurement Description

 Manual Operation: Measuring TX Dynamic Power

 TX Dynamic Power Measurement Troubleshooting

 Channel Power Measurement Description