Agilent Technologies 8922 P Welder User Manual


 
66 Chapter5
Remote operation
Example code showing a dual-band handover from E-GSM to DCS
Example code showing a dual-band handover
from E-GSM to DCS
Some example code is listed below which performs a dual-band handover
from E-GSM to DCS on an HP/Agilent 8922 GSM HSCSD Test System.
The technique is to use the standard dual-band command sequence, but
send this to both HP/Agilent 8922 units. Note that after ending a call,
the slave unit remains in the DCS band, therefore it is good practice to
set the radio band prior to starting the HSCSD call.
10 RE-SAVE "TwoBoxDB.bas"
20 !
30 ! Initialise program
40 !
50 CLEAR SCREEN
60 PRINT "Initialising program..."
70 Master=714
80 Slave=715
90 Master_loss=4.1
100 Slave_loss=11.8
110 !
120 CLEAR Master/100
130 CLEAR Master
140 CLEAR Slave/100
150 CLEAR Slave
160!
170! Initialise instruments
180! SLAVE FIRST!
190!
210 !
220 ! Select E-GSM so we can perform dual band handover
230 !
240 OUTPUT Master;"Conf:Radio 'E-GSM'"
250 OUTPUT Slave;"Conf:Radio 'E-GSM'"
260 WAIT 3
270 OUTPUT Slave;"Conf:Inst 'HSCSD Slave'"
280 OUTPUT Master;"Conf:Inst 'HSCSD Master'"
290 REPEAT
300 WAIT .5
310 OUTPUT Slave;"HSCSD:Slave:Status:Sync?"
320 ENTER Slave;Sync$
330 UNTIL Sync$="""ENABLED"""
340 ! Note that if the slave instrument has not had hscsd