User`s guide
43
GPIB Commands
Example
1460 DISP “Execute multi-band assignment to GSM band”
1470 OUTPUT Addr;”DUAL:TCHC:EXEC”
1480 Try=0
1490 REPEAT
1500 WAIT .2
1510 Try=Try+.2
1520 OUTPUT Addr;”CELL:CALL:STAT:TCH:ARFCN?”
1530 ENTER Addr;Arfcn
1540 UNTIL ((Arfcn=Gsm_arfcn) OR (Try>Assign_tout))
1550 !
1560 !
1570 !
1580 ! Check to ensure the assignment timeout did not expire before continuing
1590 !
1600 IF Try>Assign_tout THEN
1610 PRINT “Mobile did not assign to GSM TCH within “;Assign_tout;”seconds.”
1620 STOP
1630 END IF
1640 DISP “Multi-band assignment to GSM successful”
1650 !
1660 !
1670 !
1680 !
1690 STOP
1700 END