User`s guide

42
GPIB Commands
Example
960 !
970 !
980 !
990 ! Now send the assignment command
1000 !
1010 DISP “Execute multi-band assignment to DCS band”
1020 OUTPUT Addr;”DUAL:TCHC:EXEC”
1030 !
1040 !
1050 !
1060 ! Wait for the Mobile to report that the TCH is on the DCS ARFCN before
1070 ! we know the assignment was successful
1080 !
1090 Try=0
1100 REPEAT
1110 WAIT .2
1120 Try=Try+.2
1130 OUTPUT Addr;”CELL:CALL:STAT:TCH:ARFCN?”
1140 ENTER Addr;Arfcn
1150 UNTIL ((Arfcn=Dcs_arfcn) OR (Try>Assign_tout))
1160 !
1170 !
1180 !
1190 ! Check to ensure the assignment timeout did not expire before continuing
1200 !
1210 IF Try>Assign_tout THEN
1220 PRINT “Mobile did not assign to DCS TCH within “;Assign_tout;”seconds.”
1230 STOP
1240 END IF
1250 DISP “Multi-band assignment to DCS successful”
1260 !
1270 !
1280 !
1290 ! The assignment to the DCS TCH was successful.
1300 ! At this point we could perform measurements on the DCS TCH
1310 !
1320 WAIT 5
1330 !
1340 !
1350 !
1360 ! Now we set up the parameters for returning to the GSM band
1370 !
1380 DISP “Prepare for assignment to E-GSM”
1390 OUTPUT Addr;”DUAL:TCH:EGSM “;Gsm_arfcn
1400 OUTPUT Addr;”DUAL:TLEV:EGSM 10”
1410 !
1420 !
1430 !
1440 ! Now send the assignment command
1450 !