Agilent Technologies 8922 P manual Example code showing a dual-band handover from E-GSM to DCS

Models: 8922 P

1 94
Download 94 pages 14 Kb
Page 80
Image 80

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.

10RE-SAVE "TwoBoxDB.bas"

20!

30! Initialise program

40!

50CLEAR SCREEN

60PRINT "Initialising program..."

70Master=714

80Slave=715

90Master_loss=4.1

100Slave_loss=11.8

110!

120CLEAR Master/100

130CLEAR Master

140CLEAR Slave/100

150CLEAR Slave

160!

170! Initialise instruments 180! SLAVE FIRST!

190!

210!

220! Select E-GSM so we can perform dual band handover

230!

240OUTPUT Master;"Conf:Radio 'E-GSM'"

250OUTPUT Slave;"Conf:Radio 'E-GSM'"

260WAIT 3

270OUTPUT Slave;"Conf:Inst 'HSCSD Slave'"

280OUTPUT Master;"Conf:Inst 'HSCSD Master'"

290REPEAT

300

WAIT .5

310OUTPUT Slave;"HSCSD:Slave:Status:Sync?"

320ENTER Slave;Sync$

330UNTIL Sync$="""ENABLED"""

340! Note that if the slave instrument has not had hscsd

66

Chapter 5

Page 80
Image 80
Agilent Technologies 8922 P manual Example code showing a dual-band handover from E-GSM to DCS, Clear Screen