Programming an IQ Tuning Measurement
Last updated: January 16, 2009
This section provides an example of how to make IQ tuning 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 IQ tuning is as follows:
-
Set up the IQ tuning measurement parameters as desired using the SETup:WIQTuning commands.
-
Use the INITiate:WIQTuning command to start the measurement.
-
Use the FETCh:WIQTuning? query to obtain the measurement results.
Programming Example
10 RE-SAVE "c:\temp\programs\iqt_example"
20 CLEAR SCREEN
30 !Select which timeslot will be measured
40 OUTPUT 714;"SETup:WIQTuning:TSLot 14"
50 !Initiate the IQ tuning measurement
60 OUTPUT 714;"INITiate:WIQTuning"
70 !Query all IQ tuning measurement results.
80 OUTPUT 714;"FETCh:WIQTuning?"
90 !Read back all IQ tuning measurement results.
100 ENTER 714;Int,Rms_evm,Pk_evm,F_err,O_ofs,P_err,M_err,T_err,Pk_cd_err,Iq_gn_im,Iq_ph_im
110 PRINT "Integrity indicator = ";Int
120 PRINT "RMS error vector magnitude = ";Rms_evm
130 PRINT "Peak error vector magnitude = ";Pk_evm
140 PRINT "Frequency error = ";F_err
150 PRINT "Origin offset = ";O_ofs
160 PRINT "Phase error = ";P_err
170 PRINT "Magnitude error = ";M_err
180 PRINT "Timing error = ";T_err
190 PRINT "Peak code domain error = ";Pk_cd_err
200 PRINT "IQ gain imbalance = ";Iq_gn_im
210 PRINT "IQ phase imbalance = ";Iq_ph_im
220 END
|