Programming a Transmit Power Measurement

Programming a Transmit Power Measurement

Last updated: December 3, 2008

This section contains two programming examples:

Programming a Transmit Power Measurement for GSM

This section provides an example of how to make the transmit power (TXP) measurement via GPIB.

The following procedure assumes that an active link is established between the test set and the mobile station. See Establishing an Active GSM Link with the Mobile Station .

  1. Configure the TXP measurement parameters using the SETup subsystem.
  2. Start the TXP measurement using the INITiate subsystem.
  3. Use the FETCh? command to obtain TXP measurement results.

Programming Example

 
10  OUTPUT 714;"SETUP:TXPOWER:CONTINUOUS OFF" !Configures a TXP measurement to
20                                            !single trigger mode.
30  OUTPUT 714;"SETUP:TXPOWER:COUNT:NUMBER 100" !Configures a multi-measurement
40                                             !of 100.
50  OUTPUT 714;"SETUP:TXPOWER:TRIGGER:SOURCE AUTO" !Configure trigger source
60                                                 !to auto.
70  OUTPUT 714;"INITIATE:TXPOWER" !Start TXP measurement.
80  OUTPUT 714;"FETCH:TXPOWER:ALL?" !Fetch TXP results.
90  	ENTER 714;Integrity, Avg_tx_power
100 END

Returned Values

The measurements returned by this program are:

  • Integrity returns the measurement Integrity Indicator (0 means a successful measurement with no errors).
  • Avg_tx_power returns the average burst power in dBm.

Programming a Transmit Power Measurement for GPRS/EGPRS

This section provides examples of how to make the transmit power (TXP) measurement via GPIB.

Programming a Single Burst Measurement

The following procedure assumes that a data connection has been established between the test set and the mobile station (connection status is Transferring). See Step 4: Make a Connection .

  1. Set the multislot configuration to two downlinks, two uplinks (D2U2) using the CALL subsystem.
  2. Configure the TXP measurement parameters using the SETup subsystem.
  3. Select burst 2 of the multislot configuration for the TXP measurement.
  4. Start the TXP measurement using the INITiate subsystem.
  5. Use the FETCh? command to obtain TXP measurement results for burst 2.

Programming Example (Single burst measurement)

 
10  OUTPUT 714;"CALL:PDTCH:MSLOT:CONFIG D2U2" ! Configures the multi-
20                                            ! slot configuration to be
30                                            ! 2 downlink, 2 uplink.
40  OUTPUT 714;"SETUP:TXPOWER:CONTINUOUS OFF" !Configures a TXP measurement to
50                                            !single trigger mode.
60  OUTPUT 714;"SETUP:TXPOWER:COUNT:NUMBER 100" !Configures a multi-measurement
70                                             !of 100.
80  OUTPUT 714;"SETUP:TXPOWER:TRIGGER:SOURCE AUTO" !Configure trigger source
90                                                 !to auto.
100 OUTPUT 714;"CALL:PDTCH:MSLOT:MEASUREMENT:BURST 2" ! Perform the TXP
110                                                   ! measurement on burst 2.
120 OUTPUT 714;"INITIATE:TXPOWER" !Start TXP measurement.
130 OUTPUT 714;"FETCH:TXPOWER:ALL?" !Fetch TXP results.
140 ENTER 714;Integrity, Avg_tx_power
150 END
 

Returned Values

The measurements returned by this program are:

  • Integrity returns the measurement Integrity Indicator (0 means a successful measurement with no errors).
  • Avg_tx_power returns the average transmit power in dBm for burst 2 of the multislot configuration.

Programming a Multiple Bursts Measurement

The following procedure assumes that the test set works in GPRS BCH+PDTCH test mode.

  1. Set the multislot configuration to two downlinks, two uplinks (D2U2) using the CALL subsystem.
  2. Configure the TXP measurement parameters using the SETup subsystem.
  3. Set the measurement frequency to 850MHz.
  4. Set the burst capture range to ALL .
  5. Start the TXP measurement using the INITiate subsystem.
  6. Use the FETCh? command to obtain Burst Power and Carrier Power for burst 1 and 2.

 
Programming Example (Multislot measurement)
 
10 !
20     DIM Frame_bpow$[150],Frame_cpow$[150]
30 !
40 !
50     OUTPUT 714;"CALL:PDTCH:MSLOT:CONFIG D2U2" ! Configures the multi-
60                                               ! slot configuration to be
70                                               ! 2 downlink, 2 uplink.
80     OUTPUT 714;"SETUP:TXPOWER:CONTINUOUS OFF" !Configures a TXP measurement to
90                                               !single trigger mode.
100     OUTPUT 714;"SETUP:TXPOWER:COUNT:NUMBER 100"!Configures a multi-measurement
110                                                !of 100.
120     OUTPUT 714;"SETUP:TXPOWER:TRIGGER:SOURCE AUTO" !Configure trigger source
130                                                    !to auto.
160     OUTPUT 714;"RFANALYZER:MANUAL:MEASUREMENT:MFREQUENCY 8.5E+8" !Set Mesurement
170                                                                  !Frequency to 850MHz
180     OUTPUT 714;"SET:TXP:RANG:AUTO ON"  !Set auto range to highest burst state to ON.
190             !
200     OUTPUT 714;"SET:TXP:BURS:CAPT ALL"  !Set Burst Capture Range to ALL
210 !
220     OUTPUT 714;"INITIATE:TXPOWER" !Start TXP measurement.
230 !
240     OUTPUT 714;"FETCH:TXPOWER:POWER:FRAME?" !Fetch Carrier Power for the whole TDMA Frame.
250     ENTER 714;Frame_cpow$
260 !
270     OUTPUT 714;"FETCH:TXPOWER:POWER:BURST:FRAME?" !Fetch Burst Power
280                                                   !for the whole TDMA Frame.
290     ENTER 714;Frame_bpow$
300 !
310     PRINT "*** Print Multislot Tx Measurement Results ***"
320     PRINT
330     PRINT "***************Burst Power Reslt****************"
340     PRINT "Burst1, Burst2, Burst3, Burst4, Burst5, Burst6, Burst7, Burst8"
350     PRINT Frame_bpow$
360     PRINT
370     PRINT "***************Carrier Power Results****************"
380     PRINT "Burst1, Burst2, Burst3, Burst4, Burst5, Burst6, Burst7, Burst8"
390     PRINT Frame_cpow$
400     PRINT "END of Program"
410 !
420     END

Returned Values

The measurements returned by this program are:

  • Burst Power returns the Average Burst Power in dBm of burst 1 and 2.
  • Carrier Power returns Average Estimated Carrier power in dBm for burst 1 and 2.

Programming a EGPRS Transmit Power Measurement

Programming a Single Burst Measurement

This section provides examples of how to make a single burst EGPRS transmit power (ETXP) measurement via GPIB.

The following procedure assumes that the mobile station is connected to the test set's RF IN/OUT connector.

  1. Change the serving cell to EGPRS. To do this via GPIB, you must first turn the cell off. See the following procedure.
    1. Turn the cell off using the CALL:OPER:MODE OFF command.
    2. Change the serving cell to EGPRS using the CALL:BCH:SCEL EGPRS command.
    3. Turn the cell back on using the CALL:OPER:MODE CALL command.
  2. Set the connection type to ETSI A using the CALL:FUNC:CONN:TYPE A command.
  3. Set the modulation and coding scheme to one which uses 8PSK modulation.
  4. Set the multislot configuration to two downlinks, one uplink (D2U1) using the CALL subsystem.
  5. Use the CALL:PDTCH:MSLot:MEASurement:BURSt command to select burst 1 of the multislot configuration for the ETXP measurement.
  6. Configure the ETXP measurement parameters using the SETup subsystem.
  7. Turn on the mobile station and allow it to attach.
  8. Start the data connection.
  9. Use a hanging query to determine when the connection has started and to provide synchronization between your program and the test set.
  10. Start the ETXP measurement using the INITiate subsystem.
  11. Use the FETCh? command to obtain ETXP measurement results.

Programming Example

 
10    ! Turn the cell off to access the serving cell parameter
20    OUTPUT 714;"CALL:OPER:MODE OFF"
30    ! Change the serving cell to EGPRS
40    OUTPUT 714;"CALL:BCH:SCEL EGPRS"
50    ! Turn the cell back on
60    OUTPUT 714;"CALL:OPER:MODE CALL"
70    ! Set the connection type to ETSI Type A
80    OUTPUT 714;"CALL:FUNC:CONN:TYPE A"
90    ! Select a Modulation and Coding Scheme using 8PSK
100   OUTPUT 714;"CALL:PDTCH:MCSC MCS9,MCS9"
110   ! Configures the multi-slot configuration to be
120   !   2 downlink, 1 uplink
130   OUTPUT 714;"CALL:PDTCH:MSL:CONF D2U1"
140   ! Perform the ETXP measurement on burst 1
150   OUTPUT 714;"CALL:PDTCH:MSL:MEAS:BURS 1"
160   OUTPUT 714;"SET:ETXP:CONT OFF"!Set trigger mode to single
170   OUTPUT 714;"SET:ETXP:COUN 5"! Turn statisical results on
180   !  Configure the trigger source to auto
190   OUTPUT 714;"SET:ETXP:TRIG:SOUR AUTO"
200   ! Turn measurement timeout on and set to 5 seconds
210   OUTPUT 714;"SET:ETXP:TIM 5"
220   !
230   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
240   ! Turn on the mobile station and allow it to attach
250   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
260   !
270   ! Start the data connection
280   OUTPUT 714;"CALL:FUNC:DATA:START"
290   ! Hanging query to determine when the data connection
300   !  has been established.
310   OUTPUT 714;"CALL:TRAN?"
320   ENTER 714;Tran_state
330   IF NOT Tran_state THEN
340     PRINT "DATA CONNECTION FAILED"
350     STOP
360   END IF
370   OUTPUT 714;"INIT:ETXP" ! Initiate measurement
380   OUTPUT 714;"FETC:ETXP?"! Fetch measurement results
390   ENTER 714;Integrity,Avg_burst_power,Avg_carr_power
400   END

Returned Values

The measurements returned by this program are:

  • Integrity returns the measurement Integrity Indicator (0 means a successful measurement with no errors).
  • Avg_burst_power returns the average burst power in dBm for burst 1 of the multislot configuration.
  • Avg_carrier_power returns the average estimated carrier power in dBm for burst 1 of the multislot configuration

Programming a Multiple Bursts Measurement

This section provides examples of how to make multiple bursts transmit power (TXP) measurement via GPIB

The following procedure assumes that the test set works in EGPRS BCH+PDTCH test mode.

  1. Set the multislot configuration to two downlinks, two uplinks (D2U2) using the CALL subsystem.
  2. Set the modulation format to 8PSK using the CALL subsystem.
  3. Configure the TXP measurement parameters using the SETup subsystem.
  4. Set the measurement frequency to 850MHz.
  5. Set the burst capture range to ALL .
  6. Start the TXP measurement using the INITiate subsystem.
  7. Use the FETCh? command to obtain Burst Power and Carrier Power for burst 1 and 2.

 
Programming Example (Multislot measurement)
 
10 !
20     DIM Frame_bpow$[150],Frame_cpow$[150]
30 !
40 !
50     OUTPUT 714;"CALL:PDTCH:MSLOT:CONFIG D2U2" ! Configures the multi-
60                                               ! slot configuration to be
70                                               ! 2 downlink, 2 uplink.
75      OUTPUT 714;"CALL:PDTCH:MCSCheme MCS5" !Configures the modulation format 
80                                               !to 8PSK.
85      OUTPUT 714;"SETUP:TXPOWER:CONTINUOUS OFF" !Configures a TXP measurement to
90                                               !single trigger mode.
100     OUTPUT 714;"SETUP:TXPOWER:COUNT:NUMBER 100"!Configures a multi-measurement
110                                                !of 100.
120     OUTPUT 714;"SETUP:TXPOWER:TRIGGER:SOURCE AUTO" !Configure trigger source
130                                                    !to auto.
160     OUTPUT 714;"RFANALYZER:MANUAL:MEASUREMENT:MFREQUENCY 8.5E+8" !Set Mesurement
170                                                                  !Frequency to 850MHz
180     OUTPUT 714;"SET:TXP:RANG:AUTO ON"  !Set auto range to highest burst state to ON.
190             !
200     OUTPUT 714;"SET:TXP:BURS:CAPT ALL"  !Set Burst Capture Range to ALL
210 !
220     OUTPUT 714;"INITIATE:TXPOWER" !Start TXP measurement.
230 !
240     OUTPUT 714;"FETCH:TXPOWER:POWER:FRAME?" !Fetch Carrier Power for the whole TDMA Frame.
250     ENTER 714;Frame_cpow$
260 !
270     OUTPUT 714;"FETCH:TXPOWER:POWER:BURST:FRAME?" !Fetch Burst Power
280                                                   !for the whole TDMA Frame.
290     ENTER 714;Frame_bpow$
300 !
310     PRINT "*** Print Multislot Tx Measurement Results ***"
320     PRINT
330     PRINT "***************Burst Power Reslt****************"
340     PRINT "Burst1, Burst2, Burst3, Burst4, Burst5, Burst6, Burst7, Burst8"
350     PRINT Frame_bpow$
360     PRINT
370     PRINT "***************Carrier Power Results****************"
380     PRINT "Burst1, Burst2, Burst3, Burst4, Burst5, Burst6, Burst7, Burst8"
390     PRINT Frame_cpow$
400     PRINT "END of Program"
410 !
420     END

Returned Values

The measurements returned by this program are:

  • Burst Power returns the Average Burst Power in dBm of burst 1 and 2.
  • Carrier Power returns Average Estimated Carrier power in dBm for burst 1 and 2.

Related Topics


Transmit Power Measurement Description

SETup:ETXPower

INITiate

FETCh:ETXPower