Programming a Power versus Time Measurement

Programming a Power versus Time Measurement

Last updated: December 3, 2008

This section contains two programming examples:

Programming a Power versus Time Measurement for GSM

This section provides an example of how to make the power versus time (PvT) 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 PvT measurement parameters using the SETup subsystem.
  2. Start the PvT measurement using the INITiate subsystem.
  3. Use the FETCh? command to obtain PvT measurement results.

Programming Example

 
10  OUTPUT 714;"SETUP:PVTIME:CONTINUOUS OFF" !Configures a PvT measurement to
20                                           !single trigger mode.
30  OUTPUT 714;"SETUP:PVTIME:COUNT:NUMBER 100 !Configures a multi-measurment
40                                            !of 100.
50  OUTPUT 714;"SETUP:PVTIME:TRIGGER:SOURCE AUTO" !Configure trigger source
60                                                !to auto.
65 OUTPUT 714;"SETUP:PVTIME:BURST:CAPTURE SINGLE" !Configure Burst Capture Range
70  OUTPUT 714;"SETUP:PVTIME:SYNC MIDAMBLE" !Configures a PvT measurement so
80                                           !that burst synchronization, which
90                                           !will synchronize the time of the
100                                          !measurement algorithm relative to
110                                          !the data sample, will be set
120                                          !to midamble.
130 OUTPUT 714;"SETUP:PVTIME:TIME:OFFSET -28US,-18US" !Turns on time markers
140                                                  !-28 and -18 microseconds.
150 OUTPUT 714;"INITIATE:PVTIME" !Start PvT measurement.
160 OUTPUT 714;"FETCH:PVTIME:ALL?" !PvT results for time measurements.
170 	ENTER 714;Integrity,Pvt_mask, Pvt_power, Max_offset1, Max_offset2
180 END

Returned values

The measurements returned by this program are:

  • Integrity returns the measurement Integrity Indicator (0 means a successful measurement with no errors).
  • Pvt_mask returns the mask pass/fail indicator. When the multi-measurement count is greater than 1, the PvT mask pass/fail result will return Fail (1) if any single measurement fails.

  • Pvt_power returns the PvT carrier power in dBm.
  • Max_offset1 and Max_offset2 return the maximum offset levels in dB, relative to the PvT carrier power at the two offsets.

Related Topics for GSM


Power versus Time Measurement Description

SETup:PVTime

INITiate

FETCh:PVTime

GSM/GPRS Control Program Example


Programming a Power versus Time Measurement for GPRS and EGPRS

This section provides an example of how to make the power versus time (PvT) measurement via GPIB.

When using the Power versus Time measurement with an EGPRS mobile, you can select a modulation coding scheme which uses either GMSK or 8PSK modulation. For more details on setting the modulation coding scheme, see


   
CALL:(PDTCH|PDTChannel):MCSCheme .

The following procedure assumes that the Operating Mode has been set to Active Cell (using CALL:OPERating:MODE ) and the data connection type has been set to ETSI Type B (using CALL:FUNCtion:CONNection:TYPE ). In addition, it is assumed 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) and set the uplink power control level for each of the two bursts using the CALL subsystem.
  2. Configure PvT measurement parameters using the SETup subsystem.
  3. Set the trigger type to single using the SETup subsystem.
  4. Set the Burst Capture Range to single using SETup subsystem.

    Note that if you want to measure more than 2 uplink bursts simultaneously, you should set the Burst Capture Range to ALL .

  5. Start the PvT measurement using the INITiate subsystem.
  6. Use the FETCh? commands to obtain PvT measurement results.

Programming Example

 
10  OUTPUT 714;"CALL:PDTCH:MSLOT:CONFIG D2U2" ! Configures the multislot
20                                            ! configuration to be
30                                            ! 2 downlink, 2 uplink.
40  OUTPUT 714;"CALL:PDTCH:MS:TXLEVEL:BURST1 10" ! Sets the uplink power for
50                                               ! the first burst to 23 dBm.
60  OUTPUT 714;"CALL:PDTCH:MS:TXLEVEL:BURST2 5" ! Sets the uplink power for
70                                              ! the second burst to 33 dBm.
80  OUTPUT 714;"SETUP:PVTIME:CONTINUOUS OFF" !Configures a PvT measurement to
90                                           !single trigger mode.
100 OUTPUT 714;"SETUP:PVTIME:COUNT:NUMBER 100" !Configures a multi-measurement
110                                            !of 100.
120 OUTPUT 714;"SETUP:PVTIME:TRIGGER:SOURCE AUTO" !Configure trigger source
 
130                                               !to auto.
135 OUTPUT 714;"SETUP:PVTIME:BURST:CAPTURE SINGLE" !Configure Burst Capture Range.
140 OUTPUT 714;"SETUP:PVTIME:SYNC MIDAMBLE" !Configures a PvT measurement so
150                                         !that burst synchronization, which
160                                         !will synchronize the time of the
170                                         !measurement algorithm relative to
180                                         !the data sample, will be set
190                                         !to midamble.
200 OUTPUT 714;"INITIATE:PVTIME" !Start PvT measurement.
210 ! Fetch all the required PvT results.
220 OUTPUT 714;"FETCH:PVTIME:BURST1:INTEGRITY?" ! Always check integrity values.
230 ENTER 714;Integ_burst1
240 OUTPUT 714;"FETCH:PVTIME:BURST2:INTEGRITY?"
250 ENTER 714;Integ_burst2
260 IF (Integ_burst1=0) AND (Integ_burst2=0) THEN
270    OUTPUT 714;"FETCH:PVTIME:MASK?" !PvT pass/fail result for entire mask
280    ENTER 714;Mask_result
290    OUTPUT 714;"FETCH:PVTIME:MASK:SEGMENT?" ! PvT mask error code. This will
300                                            ! tell us which parts of the
310                                            ! uplink has failed the mask.
320    ENTER 714;Mask_error_code
330    OUTPUT 714;"FETCH:PVTIME:BURST1:POWER:AVERAGE?" ! PvT Carrier Power result
340                                                    ! for the first burst.
350    ENTER 714;Pvt_pwr_burst1
360    OUTPUT 714;"FETCH:PVTIME:BURST2:POWER:AVERAGE?" ! PvT Carrier Power result
370                                                    ! for the second burst.
380    ENTER 714;Pvt_pwr_burst2
390  ELSE
400    PRINT "Measurement error: "&Meas_complete$
410    PRINT "Measurement Integrity value for burst 1 = ";Integ_burst1
420    PRINT "Measurement Integrity value for burst 2 = ";Integ_burst2
430  END IF
440 END

Returned values

The measurements returned by this program are:

Related Topics for GPRS and EGPRS


Power versus Time Measurement Description

SETup:PVTime

INITiate

FETCh:PVTime

GSM/GPRS Control Program Example