Programming a Thermal Power Measurement
Last updated: January 16, 2009
This section provides an example of how to make thermal power 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 transmitting an uplink signal.
The basic procedure to test thermal power is as follows:
-
Set the thermal power setup parameters as desired for triggering, measurement timeout, and multi-measurements using the SETup:WTPower commands.
-
Use the INITiate:WTPower command to start the measurement.
-
Use the FETCh:WTPower? query to obtain the measurement results.
Programming Example
10 OUTPUT 714;"SETup:WTPower:CONTinuous Off"!Set the thermal power
20 !measurement to single trigger mode.
30 OUTPUT 714;"SETup:WTPower:TIMeout 2S"!Set a timeout value of 2 secondS
40 !and enable timeouts in case the measurement cannot be made.
50 OUTPUT 714;"SETup:WTPower:COUNt 5"!Set multi-measurements to 5 and
60 !enable multi-measurements.
70 OUTPUT 714;"INITiate:WTPower"!Start the measurement.
80 OUTPUT 714;"FETCh:WTPower?"!Query the returned integrity indicator and the
90 !average thermal power measurement.
100 ENTER 714;Integrity,Wtpower!Enter the returned values into variables.
110 IF Integrity<>0 THEN !Integrity <> 0 indicates an invalid measurement.
120 PRINT "Measurement problem; check for signal level over/under range condition."
130 ELSE
140 END IF
150 END
Returned Values
-
Integrity
stores the returned integrity indicator value (see
Integrity Indicator
); 0 means a successful measurement with no errors.
-
Because multi-measurements are being used in this example,
Wtpower
stores the returned average thermal power measurement value in dBm. If multi-measurements were not being used, the returned value would be a single thermal power measurement value.
|