Last updated: December 3, 2008
This section contains two programming examples:
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 .
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
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.This section provides examples of how to make the transmit power (TXP) measurement via GPIB.
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 .
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
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.The following procedure assumes that the test set works in GPRS BCH+PDTCH test mode.
ALL
.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
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.
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
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 configurationThis 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.
ALL
.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