|
|
Programming a Wideband Data Deviation Measurement
Programming Example
1 ! This program measures the Wideband Data Deviation
3 !
6 CLEAR SCREEN
7 ! E5515C GPIB Address
8 Testset=714
11 Systype$="AMPS"
12 !System Identification
13 Sid=1
14 !
15 ! Calls "Timeout" routine
17 ON TIMEOUT 7,20 CALL Timeout
18 !
19 ! *** Specify call parameters ***
20 OUTPUT Testset;"SYST:COMM:GPIB:DEB:STAT ON"
21 OUTPUT Testset;"SYST:CORR:STAT OFF"
22 ! Sets Operating Mode to be Active Cell
23 OUTPUT Testset;"CALL:OPER:MODE CALL"
24 ! System Type is set to be AMPS
25 OUTPUT Testset;"CALL:SYST ";Systype$
26 ! Set System Identification
27 OUTPUT Testset;"CALL:SID:AMPS";Sid
28 ! Set analog MS TX Level
29 OUTPUT Testset;"CALL:MS:ANAL:TXL 6"
30 !
64 PRINT "Turn on mobile station..."
65 PRINT "Press continue when it has found service and registred"
66 PAUSE
67 !
68 ! *** Paging the mobile station ***
69 PRINT "Paging mobile station..."
70 PRINT "Answer the mobile station when you are ready"
71 OUTPUT Testset;"CALL:ORIG"
72 !Query for connected/idle state
73 OUTPUT Testset;"CALL:CONN:STAT?"
74 ENTER Testset;Call_connected
75 IF NOT Call_connected THEN
76 DISP "Call attempt failed"
77 STOP
78 ELSE
79 DISP "Call connected"
80 END IF
81 PRINT "Connection established, test in progress"
82 !
83 ! *** Setup Wideband data measurement parameters ***
84 ! Single measurement
85 OUTPUT Testset;"SET:WDD:CONT OFF"
86 OUTPUT Testset;"SET:WDD:GTIM 3"
88 !
96 ! *** Obtain measurement results ***
97 OUTPUT Testset;"INIT:WDD"
98 WAIT 1
99 ! Change Analog MS TX Level value to
100 ! trigger the test set to send Analog MS TX Level Order Message
101 OUTPUT Testset;"CALL:MS:ANAL:TXL 7"
102 WAIT 2
103 OUTPUT Testset;"FETC:WDD:ALL?"
105 ENTER Testset;Integrity,Maxppd,Maxnpd,Settleppd,Settlenpd
106 DISP "Wideband Data Test complete"
107 OUTPUT Testset;"INIT:WDD:OFF"
108 OUTPUT Testset;"CALL:END"
109 ! *** Display the measurement results ***
110 !
111 PRINT "Integrity Indicator = ";Integrity
112 PRINT "Wideband data Max Positive Peak Deviation = ";Maxppd
113 PRINT "Wideband data Max Positive Peak Deviation = ";Maxnpd
114 PRINT "Wideband data Settled Positive Peak Deviation = ";Settleppd
115 PRINT "Wideband data Settled Positive Peak Deviation = ";Settlenpd
121 END
122 !
123 ! Global timeout handler
185 Timeout: SUB Timeout
187 PRINT "Program timed out"
188 CLEAR 7
189 CLEAR 714
190 SUBEND
Returned Values
The measurements returned by this program are:
-
Integrity returns the measurement integrity indicator (see
Integrity Indicator
); 0 means a successful measurement with no errors.
-
Maxppd returns the maximum positive peak deviation of carrier over the entire wideband data burst in kHz.
-
Maxnpd returns the maximum negative peak deviation of carrier of the entire wideband data burst in kHz.
-
Settleppd returns the positive peak deviation of carrier over the wideband data burst, not including any peaks found during the first 20 milliseconds of the wideband data burst.
-
Settlenpd returns the negative peak deviation of carrier over the wideband data burst, not including any peaks found during the first 20 milliseconds of the wideband data burst
|
|