Programming a Waveform Quality Measurement
Last updated: January 16, 2009
This section provides an example of how to make waveform quality 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 to test waveform quality is as follows:
-
Set the waveform quality setup parameters as desired using the SETup:WWQuality commands.
-
Use the INITiate:WWQuality command to start the measurement.
-
Use the FETCh:WWQuality? query to obtain the measurement results.
Programming Example
10 OUTPUT 714;"SETup:WWQuality:CONTinuous Off" !Set the waveform quality
20 !measurement to single trigger mode.
30 OUTPUT 714;"SETup:WWQuality:TIMeout 1S"!Set a timeout value of 1 second
40 !in case the measurement cannot be made.
50 OUTPUT 714;"SETup:WWQuality:COUNt 5" !Set multi-measurements to 5 and
60 !enable multi-measurements.
70 OUTPUT 714;"SETup:WWQuality:TSLot 11" !Set the measurement to
80 !measure waveform quality during timeslot 11.
90 OUTPUT 714;"INITiate:WWQuality" !Start the waveform quality measurement.
100 OUTPUT 714;"FETCh:WWQuality?" !Query the integrity indicator and all
110 !results for the waveform quality measurement.
120 ENTER 714;Integrity,Evm,Ferr,Ooff,Perr,Merr,Terr,Pcde !Enter the
130 !returned integrity indicator and measurement values into variables.
140 IF Integrity<>0 THEN !Check the integrity value.
150 PRINT "Measurement problem; check for signal level over/under range condition."
160 ELSE
170 ! Process measurement results
180 END IF
190 END
Returned Values
-
Integrity
stores the returned integrity indicator value (see
Integrity Indicator
); 0 means a successful measurement with no errors.
-
Evm
returns the maximum error vector magnitude result.
-
Ferr
returns the worst case frequency error result.
-
Ooff
returns the maximum origin offset result.
-
Perr
returns the maximum phase error result.
-
Merr
returns the maximum magnitude error result.
-
Terr
returns the worst case timing error in chips.
-
Pcde
returns the maximum peak code domain error.
|