HP 83206A User Manual page 152

Cellular adapter
Table of Contents

Advertisement

Chapter 5, Programming the Cellular Adapter
Program Example
152
S:\HP83206A\USRGUIDE\MANUAL\prog.fm
201
OUTPUT Testsys;"CPR:DCCH:DTCH:DMAC?" !Confirm new power level
202
ENTER Testsys;DMAC_lvl ! read the power level
203
PRINT "The new power level is ";DMAC_lvl
204
! End DTC power level change
205
! Make measurements on the DTC
206
OUTPUT Testsys;"CPR:DCCH:DMODE 'MEAS'" !Change to Measure mode
207
WAIT 2 !Give Testsys time to service other processes
208
OUTPUT Testsys;"MEAS:DCCH:EVMM:FERR?" !Measure frequency error
209
ENTER Testsys;Freq_err ! read the frequency error
210
PRINT "The frequency error is ";Freq_err
211
OUTPUT Testsys;"MEAS:DCCH:EVMM:TPOW?" !Measure TX power
212
ENTER Testsys;TX_power ! read the TX power
213
PRINT "The TX power is ";TX_power
214
OUTPUT Testsys;"MEAS:DCCH:EVMM:DROop?" !Measure droop
215
ENTER Testsys;droop ! read droop
216
PRINT "The droop is ";droop
217
! Change the measurement type to Average Power
218
OUTPUT Testsys;"CPR:DCCH:MTYPe 'AVG POWER'" !Measurement type
219
OUTPUT Testsys;"MEAS:DCCH:APOW?" ! Measure Average Power
220
WAIT 2 !Give Testsys time to service other processes
221
ENTER Testsys;Avg_power ! read Average Power
222
PRINT "The Average Power is ";Avg_power
223
! End Average Power measurement
224
! End measurements on the DTC
225
! Set up AVC parameters in preparation for a handoff
226
OUTPUT Testsys;"CPR:DCCH:VTYPE 'AVC'" !Set channel type to AVC
227
OUTPUT Testsys;"CPR:DCCH:AVCH:VCH 995" !Set voice channel to 995
228
OUTPUT Testsys;"CPR:DCCH:AVCH:VMAC 4" !Set power level to 4
229
OUTPUT Testsys;"CPR:DCCH:AVCH:SAT '6030Hz'" !Set the SAT
230
! Handoff to the AVC
231
OUTPUT Testsys;"STAT:CALLP:PTR 32" !Latch Connect annunciator
232
! positive transition
233 OUTPUT Testsys;"STAT:CALLP:NTR 0" !don't latch negative transitions
234
OUTPUT Testsys;"*CLS" !Clear Event Status Registers
235
OUTPUT Testsys;"CPR:DCCH:HAND" !Handoff command
236
REPEAT !Wait until handoff has occurred and Test System is again in
237
! Connect state.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tia/eia-13683206a

Table of Contents