Programming an Occupied Bandwidth Measurement

Programming an Occupied Bandwidth Measurement

Last updated: January 16, 2009

This section provides an example of how to make occupied bandwidth measurements via GPIB. The following program example assumes that the mobile station's (UE's) antenna output is connected to the RF IN/OUT connector, and that the mobile station is synchronized to the test set and is transmitting an uplink signal.

The basic procedure is as follows:

  1. Set the occupied bandwidth setup parameters as desired using the SETup:WOBWidth commands.
  2. Use the INITiate:WOBWidth command to start the measurement.
  3. Use the FETCh:WOBWidth? query to obtain the measurement results.

Programming Example

 
10    ! Set trigger mode to single for the Occupied Bandwidth meas
20    OUTPUT 714;"SETup:WOBWidth:CONTinuous OFF"
30    ! Set a timout value of 5 seconds and enable the timeout state
40    OUTPUT 714;"SETup:WOBWidth:TIMeout 5"
50    ! Set the trigger source to automatically select the appropriate
60    !  trigger
70    OUTPUT 714;"SETup:WOBWidth:TRIGger:SOURce AUTO"
80    ! Turn on multi-measurements and set the count number
90    OUTPUT 714;"SETup:WOBWidth:COUNt 5"
100   ! Initiate the Occupied Bandwidth measurement
110   OUTPUT 714;"INITiate:WOBWidth"
120   ! Fetch the integrity indicator and the statistical results of
130   !  the measurement
140   OUTPUT 714;"FETCh:WOBWidth:INTegrity?;BANDwidth:ALL?"
150   ENTER 714;Integrity,Min,Max,Avg,Sdev
160   ! Check the integrity indicator to ensure the results are valid
170   IF Integrity<>0 THEN
180     PRINT "Measurement failed."
190   ELSE
200   ! Process the measurement results.
210   END IF
220   END

Returned Values

Related Topics