Programming a Transmit Power Measurement
Last updated: May 8, 2002
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
.
-
Configure the TXP measurement parameters using the SETup subsystem.
-
Start the TXP measurement using the INITiate subsystem.
-
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 transmit power in dBm.
Programming a Transmit Power Measurement for GPRS
This section provides an example 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
.
-
Set the multislot configuration to two downlinks, two uplinks (D2U2) using the CALL subsystem.
-
Configure the TXP measurement parameters using the SETup subsystem.
-
Use the RFANalyzer:MSLot:MEASurement:BURSt command to select burst 2 of the multislot configuration for the TXP measurement.
-
Start the TXP measurement using the INITiate subsystem.
-
Use the FETCh? command to obtain TXP measurement results.
Programming Example
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;"RFANALYZER: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.