User`s guide

2-40
GPIB Tutorial and Examples
Program 3
5540 !
5550 !==============================================================================
5560 !end of program
Program 3
0 !RE-STORE “PROG3”
20 !RE-SAVE “PROG3:,1404”
30 !=========================================================================
40 !
50 !Example program 3
60 !
70 !GPIB program to demonstrate techniques for measuring a GSM mobile opperating in
test mode using
80 !the Agilent 8922M and S GSM MS Test Sets. The program uses the Agilent 8922M/S
Aux RF Out port to simulate
90 !the test mode mobile. In all other respects, the Agilent 8922M/S is configured
to measure a mobile
100 !without the use of over-the-air signalling. The program measures: Tx power,
power versus time,
110 !phase and frequency error and bit error ratio.
120 !
130 !(c) Agilent Technologies 1996
140 !
150 !Rev 1.0
160 !I R HP QMD 7.9.94
170 !Slightly modified by C B 24.1.96 - Changed F/H to M/S throughout
180 !============================================================================
190 !
200 DIM Berpwr(5) !Downlink power levels in dBm for bit error test
210 DIM Berarfcn(125) !ARFCN to perform bit error test on
220 DIM Dsppwr(15) !Mobile Tx power levels for DSP test
230 DIM Dsparfcn(124) !ARFCN to perform DSP test on
240 DIM Fparfcn(124) !ARFCN to perform fast power test on
250 DIM Fppwr(15) !Mobile Tx power levels for fast power test
260 DIM Message$(30)[100] !Output strings
270 DIM Error$(50)[100] !Error message strings
280 DIM Err$[100] !Internally used temporary error string
290 DIM Rmspher(50,50) !Measurement results from rms phase error, dimen-
sions(ARFCN,TXLEVEL)
300 DIM Pkpher(50,50) !Measurement results from peak phase error
310 DIM Frer(50,50) !Measurement results from freq error
320 DIM Slpwr(50,50) !Measurement results from DSP analyzer power measure-
ment
330 DIM Txtim(50,50) !Tx timing error measurement results
340 DIM Fpwrmeas(50,50) !Measurement results from fast power
350 DIM Ber1(50,50) !Bit error test measurement results, dimen-
sions(ARFCN,Downlink Power)
360 DIM Clock(5) !Test Times
370 DIM Mask$(50,50)[10] !Power versus time limit mask specification
380 DIM Rxqual(50,50) !RxQual measurement results, dimensions(ARFCN,Down-
link Power)
390 DIM Rxlev(50,50) !RxLev measurement results
400 DIM Null(50,50) !Empty array
410 DIM Nullst$(50,50)[50] !Empty string array
420 DIM Ca$[124] !String for CA (Cell Allocation) table, used for hop-
ping call
430 DIM Ma$[63] !String for MA (Mobile Allocation) table, used for
hopping call
440 !
450 !====================================================================
460 !