Example 12. Programming Example:
OUTPUT Test_set;"CALL:CONN:TIM 5"
OUTPUT Test_set;"CALL:CONN:ARM"
OUTPUT Test_set;"CALL:CONN:STAT?"
DISP "Originate call from mobile station."
ENTER Test_set;Call_connected
IF NOT Call_connected THEN
OUTPUT Test_set;"CALL:END"
! <put error handler here>
END IF
! Call is connected so proceed with control program
! Set timeout time to 5 seconds
! Arm the change detector
! Initiate call connect state query
! Program will hang here until
! origination passes or fails
! Check if connection successful
S:\Hp8960\E1960A GSM Mobile Test Application\A.04 Release\Reference_Manual\Chapters\prog_prog_guide_step4.fm
Step 4: Establish an Active Link with Mobile Station
181