117
S:\Hp8960\E1962B CDMA 2000\Pi Release\Reference Guide\Chapters\cdma2000_prog_getting_started_step7_ac.fm
Step 7: End the Connection
Step 7: End the Connection
End the Connection
The CALL:END command ends the mobile connection. Subroutines which are called in the program are also
shown.
1172 !****************************
1173 ! End of All Testing
1174 !****************************
1175 !
1176 !***End Call and Return to default call processing settings***
1177 !
1178 OUTPUT Testset;”CALL:POW:DIG2000 -50”
1179 OUTPUT Testset;”CALL:END”
1180 OUTPUT Testset;”CALL:STAT:STAT?”
1181 ENTER Testset;Call_status$
1182 PRINT “Call Ended, Status:”,Call_status$
1183 Tot_time=PROUND(TIMEDATE-Tot_timer,-2)
1184 PRINT
1185 Print_results(“Test Time= “,Tot_time,”secs”)
1186 PRINT
1187 !
1188 !***End Program***
1189 End_program: ! Secondary timeout handler
1190 DISP “End of Program”
1191 END
1192 !
1193 !********************
1194 ! Subroutine Section*
1195 !********************
1196 !
1197 Timeout: SUB Timeout
1198 PRINT “Program timed out”
1199 CLEAR 7
1200 CLEAR 714
1201 STOP
1202 SUBEND
1203 Print_results: SUB Print_results(Meas_name$,Res1,Units$)
1204 !
1205 PRINT USING “5X,20A,5X,M4D.2D,1X,5A”;Meas_name$;Res1;Units$
1206 !
1404 SUBEND
1414 Print_res_str: SUB Print_res_str(String_name$,Results$)
1415 !
1424 PRINT USING “5X,20A,5X,20A”;String_name$;Results$
1425 !
1444 SUBEND