87
S:\HP8924C\USRGUIDE\BOOK\chapters\opoverv.fb
Chapter 3, Operating Overview
Increasing Measurement Throughput
10 ! re-save "i:\dept\cdma\ex_progs\simultan"
20 ! REV A.01.00
30 !
40 ! This program demonstrates simultaneous FER (receiver sensitivity)
50 ! and rho (transmitter modulation quality) testing. After an FER
60 ! test is started, a softkey interrupt branches program execution
70 ! to a subprogram that queries rho and prints a test result without
80 ! interrupting the FER test.
90 !
100 Loss=-3
110 CLEAR SCREEN
120 ! Set up a timeout to regain control of the bus in the event an error
130 ! such as "Query unterminated" occurs.
140 ON TIMEOUT 7,5 GOTO End_of_prog
150 Initialize_ts(Loss) !Preset the Test Set
160 Page_phone !Attempt a call (the mobile must be registered)
170 ! Set triggering mode to continuous. THIS IS REQUIRED FOR
180 ! SIMULTANEOUS MEASUREMENTS.
190 OUTPUT 714;"TRIG:MODE:RETR REPETITIVE"
200 Start_fer !Start an FER test
210 ! Set up a softkey to query rho measurement
220 USER 1 KEYS !Selects User 1 softkey definitions on ITF keyboard, normal mode
230 ON KEY 1 LABEL "rho",15 CALL Measure_tx_qual
240 PRINT ""
250 PRINT "Press softkey F1 to make a rho measurement"
260 PRINT ""
270 LOOP
280 DISABLE !Disables interrupt while output/enter
290 OUTPUT 714;"meas:cdm:fer:fram?;err?"
300 ENTER 714;Frames_counted,Errors_counted
310 ENABLE !Enables keyboard interrupt allowing branch to rho meas
320 DISP "Frames Counted =";Frames_counted;"Errors Counted =";Errors_counted
330 END LOOP
340 OUTPUT 714;"CDMA:CALL:END"
350 OUTPUT 714;"TRIG:MODE:RETR SINGLE"
360 Clear_bus: ! Clears the bus in case of query unterminated or query interrupted
370 CLEAR 714
380 ERROR RETURN