Programming Example
The method used to synchronize the mobile station with the test set for the EDGE Dynamic Power measurement is proprietary to the mobile station manufacturer. The test set has no direct control of synchronization when the mobile station is operating in test mode. The EDGE Dynamic Power measurement requires the mobile station be put in a test mode in which it can generate a specified burst sequence.
The figure below models an example series of bursts that a mobile station has been programmed to generate.
As can be seen in the figure above there are three separate ramp segments defined, with a total burst count of thirty. The details of each ramp segment is shown in the following table.
|
|
Ramp Segment Burst Count |
Group Burst Count |
Initial Expected Power (dBm) |
Expected Maximum Difference (dB) |
|
Ramp Segment 1 |
12 |
4 |
6 |
+3 |
|
Ramp Segment 2 |
6 |
1 |
14 |
-2 |
|
Ramp Segment 3 |
12 |
2 |
5 |
+1 |
The following programming example shows how to capture a series of bursts that a mobile station was commanded to generate.
10 Test_set=714
20 OUTPUT Test_set;"SETup:EDPower:CONTinuous OFF" !sets the trigger to single
40 OUTPUT Test_set;"SETup:EDPower:TIMeout:STIMe 5" !sets the timeout state to on and the !timeout time to 5 seconds
50 OUTPUT Test_set;"SETup:EDPower:COUNt:RSEGment 3" !specifies three ramp segments
60 OUTPUT Test_set;"SETup:EDPower:COUNt:NUMBer 12, 6, 12" !specifies the number of bursts !for each ramp segment
70 OUTPUT Test_set;"SETup:EDPower:COUNt:GROup:SIZE 4, 1, 2" !specifies the burst group size !for each ramp segment
80 OUTPUT Test_set;"SETup:EDPower:EMDifference 3,-2, 1" !specifies the maximum power !difference between the burst
90 OUTPUT Test_set;"SETup:EDPower:INITial:POWer 6, 14, 5" !specifies the initial expected !power values
100 OUTPUT Test_set;"SETup:EDPower:INITial:POWer:AUTO OFF" !tells the test set to use the !specified initial power values rather
110 !than deriving them
120 OUTPUT Test_set;"SETup:EDPower:COUNt:TOTal?" !returns the total number of bursts !measure
130 !
131 OUTPUT Test_set;"INITiate:EDPower" !Initiates the measurement
132 WAIT 1 !A one second wait is needed here to ensure the measurement
133 !is ready to start testing the generated bursts.
134 !
135 !* ************************************************************************
136 !
137 !* Trigger the mobile station to start generating the desired burst pattern.
138 !
139 !* ************************************************************************
140 OUTPUT Test_set;"FETCh:EDPower" !This obtains all the measurement results in range one,
150 !which is all that is needed for this example because the total number of bursts that are measured
160 !is less than 100.
170 !
180 ENTER 714;Integrity,Tx_power_levels
200 END