Programming a Waveform Quality/Code Domain Measurement
Last updated: May 24, 2006
The following example is based on an RTAP data connection for subtype 0 physical layer test. The general procedure is also applicable to the subtype 2 physical layer test based on an RETAP data connection. Note that more measurement results are available for new reverse channels of Release A subtype 2 physical layer. See
Control Program Examples
for the comprehensive test programs.
General Procedure
-
Prompt the user to connect the access terminal to the test set's front panel
RF IN/OUT
connector and power it on. Instruct the user that if the access terminal does not automatically open a session, perform whatever actions are necessary to open a session. See
Establish a Session from the Access Terminal
for more details.
-
Prompt the user to establish an RTAP data connection. See
Step 4: Make a connection
for more details.
-
Set up the waveform quality + code domain measurement parameters as needed using the
SETup:DOWQuality
commands. See
Waveform Quality + Code Domain Measurement Parameters
for information on setting slots to measure to the proper value for your test.
-
Set cell power as needed using the
CALL:POWer
command.
-
Initiate the waveform quality + code domain power measurement using the
INITiate:<measurement mnemonic>[:ON]
command. The <measurement mnemonic> for the waveform quality + code domain measurement is DOWQuality.
-
Use the
FETCh:DOWQuality
commands to obtain the measurement results. (You can also replace steps 5 and 6 with a single command -
READ:DOWQuality[:ALL]?
).
Programming Example
10 ! 4.2.2 Waveform Quality and Frequency Accuracy
20 ! This programming example assumes the access terminal
30 ! is connected to the test set and in a 9.6 kbps
40 ! RTAP data connection.
50 !
60 Testset=714
70 !
80 DISP "Measuring Waveform Quality"
90 !
100 !***Set up test parameters***
110 !
120 Ior=-75
130 ! Cell power for test
140 !
150 OUTPUT Testset;"CALL:POW ";Ior
160 ! Set cell power
170 !
180 !***Set up measurement parameters***
190 !
200 OUTPUT Testset;"SETUP:DOWQUALITY:CONTINUOUS OFF"
210 ! Set measurement to single trigger
220 OUTPUT Testset;"SETUP:DOWQ:TIMEOUT 10"
230 ! Set waveform quality measurement timeout to 10 seconds
240 OUTPUT Testset;"SETUP:DOWQ:SLOT:COUNT 1"
250 ! Set slots to measure to 1
260 !
270 !***INITiate and FETCh measurement results***
280 !
290 OUTPUT Testset;"INITIATE:DOWQUALITY"
300 ! Initiate a waveform quality + code domain measurement
310 OUTPUT Testset;"FETCh:DOWQUALITY?"
320 ! Query the test set for waveform quality measurement results
330 ENTER Testset;Integrity,Rho,F_err,T_err,C_feed,P_err,M_err,Evm
340 !
350 !***Print Waveform Quality results***
360 !
370 CLEAR SCREEN
380 PRINT "Waveform Quality Test Results:"
390 PRINT
400 PRINT "Integrity Indicator = ",Integrity
410 PRINT "Rho = ",Rho
420 PRINT "Frequency Error (Hz) = ",F_err
430 PRINT "Time Error (s) = ",T_err
440 PRINT "Carrier Feedthrough (dBc) = ",C_feed
450 PRINT "Phase Error (degrees) = ",P_err
460 PRINT "Magnitude Error (%) = ",M_err
470 PRINT "EVM (%) = ",Evm
480 PRINT
490 PRINT "Waveform Quality Test Complete"
500 !
510 !***Post test clean up***
520 !
530 OUTPUT Testset;"INIT:DOWQ:OFF"
540 OUTPUT Testset;"CALL:POW -55"
550 ! Set cell power back to initial level
560 DISP ""
570 !
580 END
|