Agilent Technologies 8922M/S GSM Test Set
Programming Reference Guide
Agilent Part No. 08922-90212
Printed in UK
January, 1998
© Copyright 1998, Agilent Technologies. All rights reserved. Reproduction, adaptation, or translation without prior
written permission is prohibited, except as allowed under the copyright laws.
Station Road, South Queensferry, Scotland, EH30 9TG, UK
1 Command Guidelines
Command Names............................................................................................................................................................................ 1-2
Programming Format Conventions................................................................................................................................................. 1-2
If you have Agilent Technologies 8922M/S Option 010................................................................................................................1-3
Units of Measure............................................................................................................................................................................. 1-4
Measurement Subsystems............................................................................................................................................................... 1-5
Syntax Diagrams............................................................................................................................................................................. 1-5
Optional Commands ....................................................................................................................................................................... 1-6
Command Descriptions................................................................................................................................................................... 1-7
Output RF Spectrum Modulation Reference Measurement Averaging..........................................................................................1-8
2 GPIB Tutorial and Examples
GPIB Programming Exercises........................................................................................................................................................ 2-2
Exercise A - Establishing a Link ....................................................................................................................................................2-3
Example B - Controlling the Mobile ..............................................................................................................................................2-4
Example C - Making Measurements .............................................................................................................................................. 2-6
Example D - Adding Robustness.................................................................................................................................................. 2-11
Example E - Faster Testing........................................................................................................................................................... 2-12
GPIB Commands Used in Exercises.............................................................................................................................................2-14
Example Programs........................................................................................................................................................................2-16
Sample Output ..............................................................................................................................................................................2-18
Program 1...................................................................................................................................................................................... 2-19
Program 2...................................................................................................................................................................................... 2-29
Program 3...................................................................................................................................................................................... 2-40
Transient Settling Times ..............................................................................................................................................................2-50
Contents
3 AF Analyzer Subsystem
AIN .................................................................................................................................................................................................3-4
DEMPhasis .....................................................................................................................................................................................3-4
DEMPhasis:GAIN .......................................................................................................................................................................... 3-4
DETector......................................................................................................................................................................................... 3-4
DETector:PKLocation.....................................................................................................................................................................3-5
DETector:SETTling........................................................................................................................................................................ 3-5
ELResistor ...................................................................................................................................................................................... 3-5
FILTer1............................................................................................................................................................................................3-6
FILTer2............................................................................................................................................................................................3-6
GTIMe ............................................................................................................................................................................................ 3-6
INPut...............................................................................................................................................................................................3-7
INPut:GAIN.................................................................................................................................................................................... 3-7
SMPoint .......................................................................................................................................................................................... 3-7
NOTCh:GAIN.................................................................................................................................................................................3-7
RANGing........................................................................................................................................................................................3-8
SPEaker:MODE.............................................................................................................................................................................. 3-8
SPEaker:VOLume...........................................................................................................................................................................3-8
Contents-1
Contents
4 AF Generator Subsystem
AMPLitude .....................................................................................................................................................................................4-3
COUPling........................................................................................................................................................................................ 4-3
FREQuency..................................................................................................................................................................................... 4-3
5 Audio Frequency Commands (Measure Subsystem)
ACLevel..........................................................................................................................................................................................5-4
AM..................................................................................................................................................................................................5-4
DCAM.............................................................................................................................................................................................5-4
DCFM............................................................................................................................................................................................. 5-5
DCVolts........................................................................................................................................................................................... 5-5
DISTortion......................................................................................................................................................................................5-5
FM................................................................................................................................................................................................... 5-6
FREQuency..................................................................................................................................................................................... 5-6
SELect............................................................................................................................................................................................. 5-6
SINad .............................................................................................................................................................................................. 5-7
6 Bit Error Test Subsystem
BITS................................................................................................................................................................................................6-3
LOOPback:LDELay .......................................................................................................................................................................6-3
LOOPback:LDELay:MODE...........................................................................................................................................................6-3
TYPE...............................................................................................................................................................................................6-4
7 Bit Error Test Commands (Measure Subsystem)
BESelect.......................................................................................................................................................................................... 7-4
BERRor:COUNt............................................................................................................................................................................. 7-4
BERRor:ICOunt.............................................................................................................................................................................. 7-4
BERRor:IRATio.............................................................................................................................................................................. 7-5
BERRor:RATio...............................................................................................................................................................................7-5
BTESted..........................................................................................................................................................................................7-5
CRC:COUNt...................................................................................................................................................................................7-6
CRC:ICOunt ...................................................................................................................................................................................7-6
CRC:IRATio....................................................................................................................................................................................7-6
CRC:RATio..................................................................................................................................................................................... 7-7
FERasure:COUNt........................................................................................................................................................................... 7-7
FERasure:ICOunt............................................................................................................................................................................ 7-7
FERasure:IRATio............................................................................................................................................................................ 7-8
FERasure:RATio.............................................................................................................................................................................7-8
FLSelect..........................................................................................................................................................................................7-8
FLTYpe........................................................................................................................................................................................... 7-9
IBTested..........................................................................................................................................................................................7-9
SSTatus........................................................................................................................................................................................... 7-9
Contents-2
8 Cell Configuration Subsystem
ABCCh............................................................................................................................................................................................ 8-7
ABCCh:BCC .................................................................................................................................................................................. 8-7
CCHannel........................................................................................................................................................................................ 8-7
CCHannel:SDCCH8:ARFCn.......................................................................................................................................................... 8-8
CCHannel:SDCCH8:TSLot............................................................................................................................................................ 8-8
BA...................................................................................................................................................................................................8-8
CA...................................................................................................................................................................................................8-9
MA1................................................................................................................................................................................................8-9
MA1:IOFFset.................................................................................................................................................................................. 8-9
MA2..............................................................................................................................................................................................8-10
MA2:IOFFset................................................................................................................................................................................ 8-10
[:GSM900]:BA..............................................................................................................................................................................8-10
[:GSM900]:CA .............................................................................................................................................................................8-11
[:GSM900]:MA1 .......................................................................................................................................................................... 8-11
[:GSM900]:MA1:IOFFset ............................................................................................................................................................ 8-11
[:GSM900]:MA2 .......................................................................................................................................................................... 8-12
[:GSM900]:MA2:IOFFset ............................................................................................................................................................ 8-12
LAI:MCCode................................................................................................................................................................................8-12
LAI:MNCode................................................................................................................................................................................ 8-13
LAI:LACode.................................................................................................................................................................................8-13
SCELl:ARFCn..............................................................................................................................................................................8-13
SCELl:BCC .................................................................................................................................................................................. 8-13
SCELl:NCC .................................................................................................................................................................................. 8-14
STATe............................................................................................................................................................................................8-14
Contents
9 Cell Control Subsystem
AUDio:DAI:ATESt......................................................................................................................................................................... 9-8
AUDio:DAI:NORMal.....................................................................................................................................................................9-8
AUDio:LOOPback.......................................................................................................................................................................... 9-8
AUDio:LOOPback:FAST............................................................................................................................................................... 9-8
AUDio:LOOPback:FE.................................................................................................................................................................... 9-8
AUDio:LOOPback:OFF................................................................................................................................................................. 9-9
AUDio:LOOPback:NOFE.............................................................................................................................................................. 9-9
AUDio:SPEech:CONFigure........................................................................................................................................................... 9-9
AUDio:SPEech:EDELay.............................................................................................................................................................. 9-10
AUDio:SPEech:GAIN.................................................................................................................................................................. 9-10
AUDio:SPEech:PRBS:PATTern ...................................................................................................................................................9-10
CALL:CONNect...........................................................................................................................................................................9-11
CALL:COUNt:BSYNc.................................................................................................................................................................9-11
CALL:COUNt:DERRor | FERRor ............................................................................................................................................... 9-11
CALL:COUNt:PAGE ................................................................................................................................................................... 9-11
CALL:COUNt:RACH .................................................................................................................................................................. 9-12
CALL:COUNt:RESet................................................................................................................................................................... 9-12
CALL:END................................................................................................................................................................................... 9-12
CALL:LIMit .................................................................................................................................................................................9-12
CALL:ORIGinate .........................................................................................................................................................................9-13
CALL:PAGing.............................................................................................................................................................................. 9-13
CALL:RECeive.............................................................................................................................................................................9-13
CALL:SIGNaling.......................................................................................................................................................................... 9-14
Contents-3
Contents
CALL:TCH:ARFCn .....................................................................................................................................................................9-14
CALL:TCH:TSLot........................................................................................................................................................................ 9-14
CALL:STATus:CALLer................................................................................................................................................................9-14
CALL:STATus:CIPHering[:STATe] ............................................................................................................................................. 9-15
CALL:STATus:MM[:STATe]........................................................................................................................................................ 9-15
CALL:STATus:RR[:STATe] ......................................................................................................................................................... 9-16
CALL:STATus:STATe................................................................................................................................................................... 9-16
CALL:STATus:TCH:ARFCn........................................................................................................................................................9-16
CALL:STATus:TCH:MALLocation.............................................................................................................................................9-17
CALL:STATus:TCH:MODE........................................................................................................................................................ 9-17
CALL:STATus:TCH:TSLot.......................................................................................................................................................... 9-17
CALL:STATus:TCH:TYPE..........................................................................................................................................................9-17
CALL:TCHControl....................................................................................................................................................................... 9-18
CALL:TCHControl:EXECute ...................................................................................................................................................... 9-18
MODE........................................................................................................................................................................................... 9-18
MS:DRX[:STATe].........................................................................................................................................................................9-19
MS:DTX[:STATe]......................................................................................................................................................................... 9-19
MS:TADVance..............................................................................................................................................................................9-19
MS:TADVance:MODE................................................................................................................................................................. 9-19
MS:TLEVel...................................................................................................................................................................................9-20
TCH1 or TCH2:ARFCn................................................................................................................................................................ 9-20
TCH1 or TCH2:MALLocation.....................................................................................................................................................9-20
TCH1 or TCH2:MODE ................................................................................................................................................................ 9-20
TCH1 or TCH2:TSLot..................................................................................................................................................................9-21
TCH1 or TCH2:TYPE..................................................................................................................................................................9-21
10 Configure Subsystem
BADDress.....................................................................................................................................................................................10-7
BEEPer.......................................................................................................................................................................................... 10-7
BMODe......................................................................................................................................................................................... 10-7
COMPatible .................................................................................................................................................................................. 10-8
DATE ............................................................................................................................................................................................10-8
INTensity.......................................................................................................................................................................................10-8
OFLevel:MODE............................................................................................................................................................................10-8
OFLevel:AUXin............................................................................................................................................................................ 10-9
OFLevel:AUXout.......................................................................................................................................................................... 10-9
OFLevel:RFINout.........................................................................................................................................................................10-9
OPERation:AUTO......................................................................................................................................................................10-10
OPERation:HOLD......................................................................................................................................................................10-10
PRINt:ADDRess.........................................................................................................................................................................10-10
PRINt:DESTination....................................................................................................................................................................10-11
PRINt:FFENd .............................................................................................................................................................................10-11
PRINt:FFSTart............................................................................................................................................................................10-11
PRINt:LINes............................................................................................................................................................................... 10-11
PRINt:PRINter............................................................................................................................................................................10-12
PRINt:TITle................................................................................................................................................................................10-12
RADio.........................................................................................................................................................................................10-12
RFIMpedance.............................................................................................................................................................................. 10-12
ROSCillator:CALibrate .............................................................................................................................................................. 10-13
ROSCillator[:FREQuency].........................................................................................................................................................10-13
Contents-4
ROSCillator:OFFset.................................................................................................................................................................... 10-13
ROSCillator:TUNing..................................................................................................................................................................10-13
ROUT.......................................................................................................................................................................................... 10-14
SPORt:BAUD ............................................................................................................................................................................. 10-14
SPORt:DATA.............................................................................................................................................................................. 10-14
SPORt:IBECho........................................................................................................................................................................... 10-14
SPORt:PARity............................................................................................................................................................................. 10-15
SPORt:RPACe.............................................................................................................................................................................10-15
SPORt:SIN.................................................................................................................................................................................. 10-15
SPORt:STOP...............................................................................................................................................................................10-16
SPORt:XPACe............................................................................................................................................................................ 10-16
TIME........................................................................................................................................................................................... 10-16
11 CW Subsystem
PMZero......................................................................................................................................................................................... 11-2
12 CW Commands (Measure Subsystem)
FREQuency[:ABSolute]............................................................................................................................................................... 12-3
FREQuency:ERRor.......................................................................................................................................................................12-3
FREQuency:SELect...................................................................................................................................................................... 12-3
POWer...........................................................................................................................................................................................12-4
Contents
13 DISPlay Subsystem
[:SCReen]...................................................................................................................................................................................... 13-3
BETest:MNUMber:LEFT............................................................................................................................................................. 13-3
BETest:MNUMber:RIGHt............................................................................................................................................................13-3
CELL:SACCh:ACEL1..................................................................................................................................................................13-3
CELL:TCH[:SELect].................................................................................................................................................................... 13-4
DSPanalyzer:AMPLitude:MASK................................................................................................................................................. 13-4
DSPanalyzer:AMPLitude:MASK:PCS.........................................................................................................................................13-4
DSPanalyzer:VIEW...................................................................................................................................................................... 13-4
FREeze.......................................................................................................................................................................................... 13-5
MSYNc:BURSt:NUMBer ............................................................................................................................................................ 13-5
ORFSpectrum:VIEW.................................................................................................................................................................... 13-5
PULSe:VIEW ...............................................................................................................................................................................13-6
SANalyzer:CONTrol .................................................................................................................................................................... 13-6
14 DSP Analyzer Subsystem
AMPLitude:MARKer:POSition:FALL......................................................................................................................................... 14-3
AMPLitude:MARKer:POSition:MID...........................................................................................................................................14-3
AMPLitude:MARKer:POSition:RISE.......................................................................................................................................... 14-3
AMPLitude:PMZero.....................................................................................................................................................................14-3
AMPLitude:TIME ........................................................................................................................................................................ 14-4
DBITs:TPOLarity......................................................................................................................................................................... 14-4
PHASe:MARKer:POSition...........................................................................................................................................................14-4
PHASe:MIDamble........................................................................................................................................................................ 14-4
Contents-5
Contents
15 DSP Analyzer Commands (Measure Subsystem)
[:AMPLitude]:AMPLitude ...........................................................................................................................................................15-4
[:AMPLitude]:MARKer:LEVEL:FALL.......................................................................................................................................15-4
[:AMPLitude]:MARKer:LEVEL:MID......................................................................................................................................... 15-5
[:AMPLitude]:MARKer:LEVEL:RISE........................................................................................................................................15-5
[:AMPLitude]:MARKer:TIME:FALL.......................................................................................................................................... 15-6
[:AMPLitude]:MARKer:TIME:MID............................................................................................................................................ 15-6
[:AMPLitude]:MARKer:TIME:RISE........................................................................................................................................... 15-7
[:AMPLitude]:MSUMmary..........................................................................................................................................................15-7
[:AMPLitude]:NPFLatness...........................................................................................................................................................15-8
[:AMPLitude]:PPFLatness............................................................................................................................................................ 15-8
[:AMPLitude]:PTCPower.............................................................................................................................................................15-8
[:AMPLitude]:TRACe..................................................................................................................................................................15-9
DBITs............................................................................................................................................................................................ 15-9
DBITs:TAGS.................................................................................................................................................................................15-9
FBIT............................................................................................................................................................................................15-10
FMERrors ...................................................................................................................................................................................15-10
PHASe[:ERRor]:FREQuency..................................................................................................................................................... 15-10
PHASe[:ERRor]:PEAK..............................................................................................................................................................15-11
PHASe[:ERRor]:RMS................................................................................................................................................................15-11
PHASe:MARKer:ERRor............................................................................................................................................................15-12
PHASe:MARKer:TIME..............................................................................................................................................................15-12
PHASe:MBURst.........................................................................................................................................................................15-12
PHASe:MBURst:COUNt ...........................................................................................................................................................15-13
PHASe:MBURst:DONE............................................................................................................................................................. 15-13
PHASe:MBURst:ERRors........................................................................................................................................................... 15-13
PHASe:TRACe...........................................................................................................................................................................15-13
SSTatus....................................................................................................................................................................................... 15-14
16 EMMI Subsystem (Agilent 8922M Only)
BRATe...........................................................................................................................................................................................16-3
DATA?...........................................................................................................................................................................................16-3
DATA <data entry>.......................................................................................................................................................................16-4
RESet ............................................................................................................................................................................................ 16-4
TIMEout:MS:XON.......................................................................................................................................................................16-4
TIMEout:MS:RESPonse............................................................................................................................................................... 16-5
17 Fast Bit Error Test
BITS..............................................................................................................................................................................................17-3
LOOPback:LDELay .....................................................................................................................................................................17-3
LOOPback:LDELay:MODE.........................................................................................................................................................17-3
FORMat ........................................................................................................................................................................................ 17-3
RFGenerator:ATSLot.................................................................................................................................................................... 17-4
Contents-6
18 Fast Bit Error Test (Measure Subsystem)
BTESted........................................................................................................................................................................................ 18-3
IBTested........................................................................................................................................................................................ 18-3
BERRor:COUNt........................................................................................................................................................................... 18-3
BERRor:ICOUnt........................................................................................................................................................................... 18-3
BERRor:IRATio............................................................................................................................................................................ 18-4
BERRor:RATio.............................................................................................................................................................................18-4
BESelect........................................................................................................................................................................................ 18-4
SSTatus......................................................................................................................................................................................... 18-4
19 Fast TX Carrier Power (Measure Subsystem)
FTCPower[:POWer]...................................................................................................................................................................... 19-2
20 Hop Control Subsystem
ADDRess ...................................................................................................................................................................................... 20-4
ADDRess:NEXT .......................................................................................................................................................................... 20-4
ADDRess:RESet...........................................................................................................................................................................20-4
ADDRess:SOURce.......................................................................................................................................................................20-4
CTENd..........................................................................................................................................................................................20-5
DELete..........................................................................................................................................................................................20-5
INSert............................................................................................................................................................................................ 20-5
RFANalyzer or RFGenerator:CTENd...........................................................................................................................................20-6
RFANalyzer or RFGenerator:DELete...........................................................................................................................................20-6
RFANalyzer or RFGenerator:FREQuency ...................................................................................................................................20-6
RFANalyzer or RFGenerator:INSert............................................................................................................................................ 20-7
RFANalyzer or RFGenerator:MODE...........................................................................................................................................20-7
RFANalyzer or RFGenerator:SETTling.......................................................................................................................................20-7
RFANalyzer or RFGenerator[:TRIGger]:ASTate......................................................................................................................... 20-8
Contents
21 IEEE 488.2 Common Commands
*CLS (Clear Status)......................................................................................................................................................................21-2
*ESE (Event Status Enable) ......................................................................................................................................................... 21-3
*ESR? (Event Status Register) ....................................................................................................................................................21-4
*IDN? (Identification Number) .................................................................................................................................................... 21-5
*OPC (Operation Complete) ....................................................................................................................................................... 21-6
*OPT? .......................................................................................................................................................................................... 21-7
*RCL (Recall) ..............................................................................................................................................................................21-8
*RST (Reset)................................................................................................................................................................................. 21-9
*SAV (Save) ............................................................................................................................................................................... 21-10
*SRE (Service Request Enable) ................................................................................................................................................ 21-11
*STB? (Status Byte) .................................................................................................................................................................. 21-12
*TST? (Test) .............................................................................................................................................................................. 21-13
*WAI (Wait) ...............................................................................................................................................................................21-14
Contents-7
Contents
22 LOGGing Subsystem
DATA:FLUSh ...............................................................................................................................................................................22-3
DATA:CLEar.................................................................................................................................................................................22-3
PFILter..........................................................................................................................................................................................22-3
STATe............................................................................................................................................................................................22-4
23 Measurement Sync Subsystem
BURSt:LENGth............................................................................................................................................................................23-3
BURSt:SPSPosition......................................................................................................................................................................23-3
BURSt:TQUalifier ........................................................................................................................................................................ 23-3
BURSt:TYPE................................................................................................................................................................................23-4
BURSt:UDSPattern.......................................................................................................................................................................23-4
SYNC:BSELect ............................................................................................................................................................................ 23-4
SYNC:MODE...............................................................................................................................................................................23-5
24 Mobile Station Commands (Measure Subsystem)
MS:TERRor..................................................................................................................................................................................24-3
MS:TADVance..............................................................................................................................................................................24-3
SACCh:ACEL1:ARFCn...............................................................................................................................................................24-3
SACCh:ACEL1:BCC....................................................................................................................................................................24-3
SACCh:ACEL1:NCC................................................................................................................................................................... 24-3
SACCh:ACEL1:RLEVel...............................................................................................................................................................24-4
SACCh:FULL:RLEVel .................................................................................................................................................................24-4
SACCh:FULL:RQUality .............................................................................................................................................................. 24-4
SACCh:PARTial:RLEVel..............................................................................................................................................................24-4
SACCh:PARTial:RQUality...........................................................................................................................................................24-4
SACCh:RESet............................................................................................................................................................................... 24-5
SACCh:TADVance........................................................................................................................................................................24-5
SACCh:TLEVel ............................................................................................................................................................................24-5
Contents-8
25 MS Information Subsystem
CIPHering:AMODe...................................................................................................................................................................... 25-3
CIPHering:KC .............................................................................................................................................................................. 25-3
CIPHering:KI................................................................................................................................................................................ 25-4
CIPHering:RAND......................................................................................................................................................................... 25-4
CIPHering:SRES .......................................................................................................................................................................... 25-4
CIPHering[:STATe].......................................................................................................................................................................25-4
MS:ATTach................................................................................................................................................................................... 25-5
MS:CMARk:PCLass?................................................................................................................................................................... 25-5
MS:CMARk:REVision?............................................................................................................................................................... 25-5
MS:CMARk:BAND?.................................................................................................................................................................... 25-5
MS:IMEI:REQuest .......................................................................................................................................................................25-6
MS:IMEI?..................................................................................................................................................................................... 25-6
MS:IMSI:SPAGing....................................................................................................................................................................... 25-6
MS:IMSI? .....................................................................................................................................................................................25-6
MS:LAI:LACode? ........................................................................................................................................................................ 25-6
MS:LAI:MCCode? .......................................................................................................................................................................25-7
MS:LAI:MNCode?....................................................................................................................................................................... 25-7
MS:ONUMber? ............................................................................................................................................................................ 25-7
MS:PAGPer................................................................................................................................................................................... 25-7
MS:SRES? .................................................................................................................................................................................... 25-7
[:PAGing]:IMSIdentity ................................................................................................................................................................. 25-8
[:PAGing]:TMSI:REALlocation...................................................................................................................................................25-8
[:PAGing]:TMSI:STATe................................................................................................................................................................ 25-8
Contents
26 OSCilloscope Subsystem
CONTrol....................................................................................................................................................................................... 26-3
MARKer:NPEak...........................................................................................................................................................................26-3
MARKer:PPEak............................................................................................................................................................................ 26-3
MARKer:POSition........................................................................................................................................................................ 26-3
SCALe:TIME................................................................................................................................................................................ 26-4
SCALe:VERTical:AM..................................................................................................................................................................26-4
SCALe:VERTical:FM................................................................................................................................................................... 26-4
SCALe:VERTical:OFFSet............................................................................................................................................................26-5
SCALe:VERTical:VOLTs............................................................................................................................................................. 26-5
TRIGger:LEVel............................................................................................................................................................................. 26-5
TRIGger:MODE........................................................................................................................................................................... 26-6
TRIGger:PRETrigger.................................................................................................................................................................... 26-6
TRIGger:RESet............................................................................................................................................................................. 26-6
TRIGger:SENSe ...........................................................................................................................................................................26-7
TRIGger:SOURce......................................................................................................................................................................... 26-7
TRIGger:TYPE.............................................................................................................................................................................26-7
Contents-9
Contents
27 Oscilloscope Commands (Measure Subsystem)
MARKer:LEVel:AM.....................................................................................................................................................................27-3
MARKer:LEVel:FM..................................................................................................................................................................... 27-3
MARKer:LEVel:VOLTs ............................................................................................................................................................... 27-3
MARKer:TIME.............................................................................................................................................................................27-4
TRACe..........................................................................................................................................................................................27-4
28 Output RF Spectrum Subsystem
FREQuency:OFFSet..................................................................................................................................................................... 28-3
MARKer:POSition........................................................................................................................................................................ 28-3
MODE........................................................................................................................................................................................... 28-4
SACalibrate................................................................................................................................................................................... 28-4
29 Output RF Spectrum Commands (Measure Subsystem)
FBIT..............................................................................................................................................................................................29-3
FMERrors .....................................................................................................................................................................................29-3
MARKer:LEVel............................................................................................................................................................................29-3
MARKer:TIME.............................................................................................................................................................................29-4
[:POWer]....................................................................................................................................................................................... 29-4
SSTatus......................................................................................................................................................................................... 29-5
TRACe..........................................................................................................................................................................................29-6
30 PULSe On/Off Ratio Subsystem
MARKer[:POSition]:FALL .......................................................................................................................................................... 30-3
MARKer[:POSition]:RISE........................................................................................................................................................... 30-3
MARKer:OPOSition:FALL..........................................................................................................................................................30-3
MARKer:OPOSition:RISE...........................................................................................................................................................30-4
SACalibrate................................................................................................................................................................................... 30-4
31 Pulse On/Off Ratio Commands (Measure Subsystem)
FBIT..............................................................................................................................................................................................31-3
FMERrors .....................................................................................................................................................................................31-3
MARKer:LEVel:FALL ................................................................................................................................................................. 31-3
MARKer:LEVel:RISE .................................................................................................................................................................. 31-4
MARKer:TIME:FALL.................................................................................................................................................................. 31-4
MARKer:TIME:RISE................................................................................................................................................................... 31-5
OORatio:FALL.............................................................................................................................................................................31-5
OORatio:RISE .............................................................................................................................................................................. 31-5
SSTatus......................................................................................................................................................................................... 31-6
TRACe:FALL ...............................................................................................................................................................................31-7
TRACe:RISE ................................................................................................................................................................................ 31-7
Contents-10
32 RF Analyzer Subsystem
AGC:CALibrate............................................................................................................................................................................ 32-4
AGC:DVALue...............................................................................................................................................................................32-4
AGC:MODE................................................................................................................................................................................. 32-4
AMPLitude1 .................................................................................................................................................................................32-4
AMPLitude2 .................................................................................................................................................................................32-5
[:AMPLitude]:ACCuracy..............................................................................................................................................................32-5
[:AMPLitude]:CONTrol............................................................................................................................................................... 32-5
FREQuency................................................................................................................................................................................... 32-6
FREQuency:GTIMe...................................................................................................................................................................... 32-6
FREQuency:HMEas .....................................................................................................................................................................32-6
FREQuency:OFFSet..................................................................................................................................................................... 32-7
GTIMe .......................................................................................................................................................................................... 32-7
INPut.............................................................................................................................................................................................32-7
ARFCn..........................................................................................................................................................................................32-7
33 RF Generator Subsystem
AMPLitude1 .................................................................................................................................................................................33-3
AMPLitude1:ATTenuation[:AUTO]............................................................................................................................................. 33-3
AMPLitude2 .................................................................................................................................................................................33-3
AMPLitude2:ATTenuation[:AUTO]............................................................................................................................................. 33-3
FREQuency................................................................................................................................................................................... 33-4
MODulation:DCAM.....................................................................................................................................................................33-4
MODulation:DCAM:DVALue......................................................................................................................................................33-5
MODulation:GMSK .....................................................................................................................................................................33-5
MODulation:PULSe .....................................................................................................................................................................33-5
MODulation:PULSe:MODE ........................................................................................................................................................ 33-6
OUTPut.........................................................................................................................................................................................33-6
Contents
34 SMS Cell Broadcast Subsystem
CONTrol....................................................................................................................................................................................... 34-3
MODE........................................................................................................................................................................................... 34-3
SEND............................................................................................................................................................................................34-3
STATus.......................................................................................................................................................................................... 34-4
MESS1 or MESS2:CODE ............................................................................................................................................................ 34-4
MESS1 or MESS2:UPDate .......................................................................................................................................................... 34-4
MESS1 or MESS2:IDENtifier......................................................................................................................................................34-5
MESS1 or MESS2:LANGuage .................................................................................................................................................... 34-5
Contents-11
Contents
35 Spectrum Analyzer Subsystem
ATTenuator................................................................................................................................................................................... 35-4
ATTenuator:MODE.......................................................................................................................................................................35-4
ATTenuator2................................................................................................................................................................................. 35-4
ATTenuator:MODE.......................................................................................................................................................................35-5
CFRequency.................................................................................................................................................................................. 35-5
MARKer:CFRequency..................................................................................................................................................................35-5
MARKer:NPEak...........................................................................................................................................................................35-5
MARKer:PEAK............................................................................................................................................................................35-5
MARKer:POSition........................................................................................................................................................................ 35-6
MARKer:RLEVel..........................................................................................................................................................................35-6
RLEVel1........................................................................................................................................................................................ 35-6
RLEVel2........................................................................................................................................................................................ 35-6
SPAN............................................................................................................................................................................................. 35-7
TRACe:MHOLd........................................................................................................................................................................... 35-7
VBWidth.......................................................................................................................................................................................35-7
36 Spectrum Analyzer Commands (Measure Subsystem)
MARKer:FREQuency...................................................................................................................................................................36-3
MARKer:LEVel............................................................................................................................................................................36-3
TRACe..........................................................................................................................................................................................36-3
37 Status Subsystem
Status Subsystem - Status Byte..................................................................................................................................................... 37-3
CONDition....................................................................................................................................................................................37-7
ENABle......................................................................................................................................................................................... 37-7
[EVENt]........................................................................................................................................................................................37-7
NTRanistion..................................................................................................................................................................................37-7
PTRanistion...................................................................................................................................................................................37-8
PRESet..........................................................................................................................................................................................37-8
38 System Subsystem
SYSTem[:ERRor].........................................................................................................................................................................38-2
Contents-12
39 Tests Subsystem
COMMent1.........................................................................................................................................................................................5
COMMent2.........................................................................................................................................................................................5
CONFigure?........................................................................................................................................................................................5
EXECution:DESTination....................................................................................................................................................................6
EXECution:FAILure...........................................................................................................................................................................6
EXECution:HEADing1 ......................................................................................................................................................................7
EXECution:HEADing2 ......................................................................................................................................................................7
EXECution:RESults............................................................................................................................................................................8
EXECution:RUN ................................................................................................................................................................................9
FREQuency?.......................................................................................................................................................................................9
LIBRary? ..........................................................................................................................................................................................10
PARMameter?...................................................................................................................................................................................10
PROCedure:AUTOstart.....................................................................................................................................................................10
PROCedure:LOCation......................................................................................................................................................................11
PROCedure:NAME...........................................................................................................................................................................11
PROCedure:PRINt:CONFigure........................................................................................................................................................11
PROCedure:PRINt:FREQuency.......................................................................................................................................................11
PROCedure:PRINt:PARameter.........................................................................................................................................................12
PROCedure:PRINt:SEQuence..........................................................................................................................................................12
PROCedure:PRINt:SPEC.................................................................................................................................................................12
PROCedure:RUN..............................................................................................................................................................................12
SEQNumber?....................................................................................................................................................................................13
SPEC?...............................................................................................................................................................................................13
Contents
40 Trigger Subsystem
ABORt .......................................................................................................................................................................................... 39-4
ASTate...........................................................................................................................................................................................39-4
BETest...........................................................................................................................................................................................39-4
BETest:MODE.............................................................................................................................................................................. 39-5
DDEMod:ADJMode.....................................................................................................................................................................39-5
DDEMod:ASTate..........................................................................................................................................................................39-5
DDEMod:SOURce .......................................................................................................................................................................39-6
DELay...........................................................................................................................................................................................39-6
HTCH............................................................................................................................................................................................ 39-6
HTCH:ARFCn[:SPECific]............................................................................................................................................................ 39-7
HTCH:ARFCn:AUTO.................................................................................................................................................................. 39-7
[:IMMediate]................................................................................................................................................................................. 39-7
MODE[:DSP]................................................................................................................................................................................ 39-8
MODE:RETRigger....................................................................................................................................................................... 39-8
SOURce ........................................................................................................................................................................................ 39-9
UMEMory:SOURce .....................................................................................................................................................................39-9
UMEMory:STATus.....................................................................................................................................................................39-10
Appendix A - [:INUM] - Integer Numeric Fields
Appendix B - [:FNUM] - Floating Point Numeric Fields
Commands ......................................................................................................................................................................................B-3
Contents-13
Contents
Appendix C - [:FNUM-MOD] - Floating Point Numeric (less MODE)
Commands ..................................................................................................................................................................................... C-3
Appendix D - [:MM] - Measurement Fields
Commands ..................................................................................................................................................................................... D-3
Appendix E - [:MM-MOD] - Measurement Fields (less UNITs, DUNits, AUNits)
Commands ......................................................................................................................................................................................E-3
Appendix F - [:AVG] - Measurement Fields Using Averaging
Commands ......................................................................................................................................................................................F-3
Appendix G - [:MET] - Measurement Fields Using Meters
Commands ..................................................................................................................................................................................... G-3
Appendix H - [:MULTI-B] - Measurement Fields Using Multi-Burst
Commands ..................................................................................................................................................................................... H-3
Contents-14
1
Command Guidelines
Rules and guidelines for using General Purpose Interface Bus (GPIB)
programming are contained in this chapter. Chapters 3 and onwards outline each
GPIB command subsystem used with the Agilent 8922M/S.
Each subsystem chapter starts with a syntax diagram followed by a simple
explanation of each command within that subsystem.
1-1
Command Guidelines
Command Names
Command Names
Generally all commands of greater than four characters havean alternate abbreviatedform
using only the upper case letters and number (if used).
Upper or lower case characters may be used for all commands.
For example, to set the amplitude of RF Generator 1, you could use any of the following
commands:
RFGENERATOR:AMPLITUDE1 -10DBM or
RFGenerator:AMPLitude1 -10DBM
rfgenerator:amplitude1 -10DBM or
rfg:ampl1 -10DBM or
RFG:AMPL1 -10DBM
Programming Format Conventions
Syntax commands and returned data descriptions use the following format conventions.
Upper case
letters
Square
brackets
Vertical bar |,indicatesthatone-and-only-oneitemseparatedbytheverticalbar can be used at any given
Question
mark
Quoted string Fields that accept quoted string parameters will return the active choice in quotes when
Decimal
numeric data
Floating
numeric data
Indicate the shortened acceptable form of a command.
[ ], indicate that enclosed command or command parameters are optional.
time. The verticalbar is read as “or.”For example,‘A’ | ‘B’ indicates that either A or B can
be chosen, but not both.
?, indicates a query command. Most commands accept this command when it is entered
immediately after the command name. The returned information (<value>) varies in format
according to the type of the field.
queried. For example if the RF generator Output was set to the RF IN/OUT parameter
(RFG:OUTP “RF IN/OUT”) and the queried (RFG:OUTP?), the return would be “RF IN/
OUT”.
Fields that accept decimal numeric data will return the current field value as an
exponentiated decimal number.
Fields that accept floating pointnumeric data will return thecurrent field value as a floating
point number in the current
Character
data
GPIB units.
Fields that accept character data (unquoted strings) will return the queried information
without quotes.
1-2
Command Guidelines
If you have Agilent Technologies 8922M/S Option 010
Quotation
marks
“ ”, enclose command and string entries. Be sure to follow the correct syntax for using
quotations that are specific to your basic language.
Colons :, are used to separate keywords and show hierarchical relationship.
”RFANalyzer:FREQuency 935 MHz”
A Semicolon
and a Colon
;:, are used to separate two or more root level command statements on the same line.
”RFAN:INP ’RF IN/OUT’;:RFAN:AMPL1 − 20 dBm”.
Semicolons ;, can also be used to condense command words on one line if the commands are equal, or
of decreasing hierarchy under the keyword. (The following example is equivalent to the
previous command statement, but the root level keyword :RFAN is removed by using
semicolons.)
”RFAN:INP ’RF IN/OUT’;AMPL1 − 20 dBm”
Commas Are used to separate multiple parameter entries.
Angle
< >, enclose variable items that represent user choices (parameters) to be entered.
brackets
If you have Agilent Technologies 8922M/S Option 010
If you have the Agilent 8922M/S Option 010 Multi-Band Test System, you will have
access to some additional GPIB commands.
Refer to the Agilent 8922 Multi-Band User’s Guide for a full description of these
commands. The additional commands are either part of a current subsystem or are part of
the new Dual Band Control subsystem.
The Agilent 8922 Multi-Band User’s Guide gives a programming example of the Dual
Band Control GPIB commands.
1-3
Command Guidelines
Units of Measure
Units of Measure
Units for measurements
Units for settings These are implemented such that if a unit is not sent along with the
These are implemented such that a measurement query result will be
returned in the current GPIB unit.
setting value, then a default GPIB unit is used.
• For example, RFGenerator:AMPLitude1 assumes dBm and
RFGenerator:FREQuency assumes Hz. If a unit is sent with the
setting, then this unit will be used. The GPIB unit may be
changed using the units commands described later.
• Each measurement or setting description defines the allowable
units for that field. When units are sent with a command, they
should not be quoted.
The complete allowable set of GPIB units that setting queries or
measurement queries may be returned in are:
• DB (dB), DBM (dBm), DBUV (dB micro-volt),
• DEG (degree), DIV (division),
• HZ (Hz), OHM (ohm), PCT (percent), PPM (parts-per-million),
• S (second), T (bit periods),
• V (volt), W (watts)
The complete allowable set of units that can be sent with setting
commands or units that can be displayed on the front panel are:
• DB (dB), DBM (dBm), DBMW (dB milli-watt), DBUV(dB microvolt),
• HZ (Hz), KHZ (kHz), MHZ (MHz), GHZ (GHz),
• T (bit periods), S (second), MS (milli-second), US (microsecond),
• V (volt), MV (millivolt), UV (microvolt),
• W (watts), MW (milliwatt),
• PCT (percent), PPM (parts-per-million),
• DEG (degree) DIV (division), OHM (ohm)
1-4
Measurement Subsystems
Measure Subsystem
Commands
Measure commands are used to control measurements and get back
the value of the displayed measurement. To get a valid measurement,
the instrument must first be set up to access the desired measurement.
In most cases, this means that you must be on the screen (or set of
screens) associated with the measurement. For example, to retrieve
Output RF Spectrum measurement results, you must be on the Output
RF Spectrum ’Main’ screen or ’Trace’ screen. (See the DISPlay
subsystem commands.) The Trigger commands are then used tocause
a measurement to occur. Once a measurement result is available it
may be queried.
Command Guidelines
Measurement Subsystems
Syntax Diagrams
Each GPIB Subsystem chapter starts with a syntax diagram. This diagram uses a graphical
format to represent the hierarchical structure of a subsystem. The diagram also indicates
possible options and references to other command sets.
The following describes two graphical conventions used in the syntax diagrams.
Sp
:
Means a space must be used as part of the command line. For
example;
AFAN:AIN<space>‘GND’
Represents a colon in the command line.
AFAN:AIN ‘GND’
1-5
Command Guidelines
Optional Commands
Optional Commands
The following lists the optional command groups that are used with many of the GPIB
Command Subsystems. The list describes the abbreviation used for each optional set and
its corresponding Appendix, that gives more details of the options available.
Optional
Command
Abbreviation
[:INUM] Appendix A Increment integer numeric fields
[:FNUM] Appendix B Floating point numeric field
[:FNUM-MOD] Appendix C Floating point numeric field without INCR:MODE
[:MM] Appendix D Measurement fields
[:MM-MOD] Appendix E Measurement fields without units commands
[:AVG] Appendix F Measurement fields that use averaging
[:MET] Appendix G Measurement fields that use meters
[:MULTI-B] Appendix H Measurement fields that use Multi Burst measure-
Examples;
RFGenerator:AMPLitude1 <real> | [:FNUM]
When this command appears in a program it can be written as follows;
Reference
Appendix
ments
RFG:AMPL1:UNITs? ................or
RFG:AMPL1:INCRement UP ..........or
RFG:AMPL1:INCR:MODE:LINear ......or
RFGENERATOR:AMPLITUDE1 -10DBM ...or
RFG:AMPL1:INCRement:DUNits -1DBM
Description
1-6
Command Guidelines
Command Descriptions
Command Descriptions
Each command in this guide is given a description, an example of its syntax and possible
options. These commands are shown as follows;
Command Name
Description This gives a brief description of what the command can be used for.
Some units that can be used with the command, are also listed.
Syntax This gives the syntax for the command. Each command is listed in
full, although the abbreviated version can also be used, as explained
in “Command Names”.
Options These are not strictly optional parts of the command. They also list
necessary parts of the command. Refer to “Programming Format
Conventions” for details on what is optional and what is necessary.
1-7
Command Guidelines
Output RF Spectrum Modulation Reference Measurement Averaging
Output RF Spectrum Modulation Reference Measurement
Averaging
The Agilent 8922M/S makes the modulation reference measurement of the Output RF
Spectrum (ORFS) due to modulation test based on a single burst measurement. If you
wish to comply with the GSM Recommendation 11.10, then the following information
will be of interest.
The spectrum due to modulation portion of the GSM ORFS recommendation specifies
maximum levels of power, measured at given frequency offsets from the nominal carrier
frequency, relative to a reference measurement at the carrier frequency. The
recommendation calls for the reference measurement and all other measurements to be
averaged over 200 bursts.
To get averaged ORFS due to modulation measurement results relative to an averaged
reference as in GSM Recommendation 11.10, refer to the following example GPIB script:
!Make a single Modulation Reference measurement.
OUTPUT Gpib;”MEASure:ORFSpectrum:POWer:AVERage:STATe OFF”
OUTPUT Gpib;”MEASure:ORFSpectrum:POWer:REFerence:STATe OFF”
OUTPUT Gpib;”TRIGger:MODE ‘SINGLE’”
OUTPUT Gpib;”DISPlay:SCReen ORFS”
OUTPUT Gpib;”DISPlay:ORFSpectum:VIEW ‘MAIN’”
OUTPUT Gpib;”ORFSpectrum:MODE ‘MOD REF’”
OUTPUT Gpib;”TRIGger:ASTate ‘ARM’”
!Make 200 modulation measurements at 0 kHz offset and average them.
!This result is the correction factor to the single Modulation
!Reference measurement done earlier.
OUTPUT Gpib;”ORFSpectrum:MODE ‘MODULATN’”
OUTPUT Gpib;”ORFSpectrum:FREQuency:OFFSet 0 KHZ”
OUTPUT Gpib;”DISPlay:ORFSpectrum:VIEW ‘TRACE’”
OUTPUT Gpib;”MEASure:ORFSpectrum:POWer:AVERage:VALue 200”
OUTPUT Gpib;”MEASure:ORFSpectrum:POWer:AVERage:STATe ON”
OUTPUT Gpib;”TRIGger:MODE ‘CONT’”
WAIT 150
!The Agilent 8922M/S makes about 2 measurements per second.
!The Agilent 8922S must be allowed about 1600 seconds.
!This wait allows at least the needed 200 measurements
!to occur for averaging per GSM Recommendations.
OUTPUT Gpib;”MEASure:ORFSpectrum:POWer?”
ENTER Gpib;Correction$
OUTPUT Gpib;”TRIGger:MODE ‘SINGLE’”
OUTPUT Gpib;”MEASure:ORFSpectrum:POWer:AVERage:STATe OFF”
!Enter the correction factor as the Reference value ( REF SET ) for the
!following measurements.
OUTPUT Gpib;”MEASure:ORFSpectrum:POWer:REFerence:VALue ”&Correction$
OUTPUT Gpib;”MEASure:ORFSpectrum:POWer:REFerence:STATe ON”
OUTPUT Gpib;”MEASure:RESet”
!The ORFS Modulation measurement is now ready for use.
!Do not forget to use averaging.
1-8
2
GPIB Tutorial and Examples
This Chapter introduces the user to automatic GSM mobile phone testing using the
Agilent 8922M and Agilent 8922S GSM Test Set. GPIB (IEEE 488.2) is used in
conjunction with BASIC programming exercises and example programs to illustrate the
most effective techniques for efficient and high speed phone tests.
2-1
GPIB Tutorial and Examples
GPIB Programming Exercises
GPIB Programming Exercises
Before Starting
Power-up the Agilent 8922M/S and carry out the following checks before beginning the
exercise:
❒ On the rearpanel, the OPT 001 REF OUT should be connected with ashort BNC cable
to the REF IN connector.
❒ Use the front panel knob to select the CONFIG screen. Check the Compatible field is
set to 8922M or 8922S.
❒ On the CONFIG screen, set the GPIB address to 14 and check the GPIB mode is set to
talk&lstn.
❒ Connect the GPIB cable from your computer to the Agilent 8922M/S.
❒ Load a Test SIM (Subscriber ID Module) in the mobile.
❒ Connect a GSM mobile to the Agilent 8922M/S front panel RF IN/OUT connector.
Carry out the following programming exercises, check your program works after each
exercise.
2-2
GPIB Tutorial and Examples
Exercise A - Establishing a Link
Exercise A - Establishing a Link
Originate a Call
Begin the program by setting the GPIB address variable Uut=714, then select commands
from section “GPIB Commands Used in Exercises” to carry out the following actions:
❒ Preset the Agilent 8922M/S and set up the paging IMSI and external cable loss, zero
the power meter.
❒ Page the mobile.
❒ Establish a program loop to wait for the mobile to answer the call.
❒ End the loop when the mobile answers or when too much time has elapsed.
Tips:
The BASIC REPEAT UNTIL loop is useful in this application. The loop can be used to
keep checking the Agilent 8922M/S call status until the returned variable becomes equal
to “CONNECTED” or a time-out counter is exceeded. Place a WAIT 1 statement inside
the loop so that the Agilent 8922M/S call status is checked once per second. For more
help, look at the ‘PAGE THE MOBILE AND ESTABLISH A CALL’ section of example
program 1 in section “Example Programs”.
End the Call
Add additional lines to your program to end the call. Select the GPIB commands from
“GPIB Commands Used in Exercises” and use the same structure as for call set up. This
time, wait for the status to become equal to “INACTIVE”.
Tips:
For help, look at the “END THE CALL” section of example program 1 in section
“Example Programs”.
2-3
GPIB Tutorial and Examples
Example B - Controlling the Mobile
Example B - Controlling the Mobile
Mobiles need to be tested on a variety of frequency channels (ARFCN) and transmitter
power levels (TX Level). The Agilent 8922M/S uses over-the-air signalling to command
the mobile to any ARFCN or TX Level. ARFCN changes can be made using channel
assignments, with the signalling taking place over the GSM Fast Associated Control
Channel (FACCH). TX Level changes are signalled using the GSM Slow Associated
Control Channel (SACCH). The choice of FACCH or SACCH has been made by the
GSM specifications.
Before extending your program to control the mobile, press the LOCAL key on the
Agilent 8922M/S and manually establish a call with the mobile. In the MOBILE PHONE
section of the Cell Control screen, use the knob to select TX Level. Using the arrow keys,
quickly change the TX Level from 15, to 14, to 13, to 12, to 10, to 9, to 8, to 7, to 6, to 5
and back down to 15. Notice the mobile’s uplink SACCH reports of TX Level in the
CELL STATUS area of the screen. Notice also the Peak Power measurement in the centre
of the screen. Observe the sequence of events, first you command a new TX Level, about
1 second later, the mobile changes its output power, and shortly after, confirms the new
TX Level on the uplink SACCH, to be displayed on the Agilent 8922M/S.
The sequence for ARFCN changes is similar. Because channel assignments use the
FACCH, the process happens more quickly. There is still a perceptible delay from the
channel change being commanded, by changing the Channel value under MOBILE
PHONE, to the TRAFFIC Channel value being confirmed under CELL STATUS.
TX Level Changing
Extend your program, selecting GPIB commands from section “GPIB Commands Used in
Exercises”, to cycle the mobile’s TX Level from 5 to 15 with the following steps:
❒ Establish call as in exercise A.
❒ Set up a loop to count through the TX Levels.
❒ Command the phone to the new TX Level.
❒ Check the reported TX Level, loop until the reported value matches the programmed
value, or too much time has elapsed.
❒ Repeat for the next TX Level.
❒ End call as in Exercise A.
2-4
GPIB Tutorial and Examples
Example B - Controlling the Mobile
Tips:
The BASIC FOR NEXT loop is ideal for controlling the TX Levels. For example, startthe
loop with FOR Txlevel = 5 TO 15 and end with NEXT Txlevel. Use a REPEAT UNTIL
structure to check the reported TX Level. This time, use a delay of WAIT 0.4. For more
help, look at the ‘PERFORM FAST POWER MEASUREMENTS’ section of example
program 1 in section “Example Programs”.
ARFCN Changing
Once your program is working, add another FOR NEXT loop outside the Txlevel loop to
change ARFCN from 1, to 63, to 124. The new program will cycle the mobile from TX
Level5 to 15 at ARFCN 1, then from 5 to 15 on ARFCN 63, then from 5 to 15 on ARFCN
124. Add a PRINT statement to display the ARFCN and TX Level.
The flow of the mobile control part of the program will be as follows:
❒ Establish call as in exercise A.
❒ Set up a loop to count through three ARFCN.
❒ Command the phone to the new ARFCN.
❒ Check the reported ARFCN, loop until the reported value matches the programmed
value, or too much time has elapsed.
❒ Set up a loop to count through the TX Levels.
❒ Command the phone to the new TX Level.
❒ Check the reported TX Level, loop until the reported value matches the programmed
value, or too much time has elapsed.
❒ Print the ARFCN and TX Level.
❒ Repeat for the next TX Level.
❒ Repeat for the next ARFCN.
❒ End call as in Exercise A.
Tips:
Use a REPEAT UNTIL loop as before to check for confirmation of the mobile’s channel
change, this time use a WAIT 0.1 inside the loop. It may be helpful to use an array to hold
the ARFCN. For example Arfcnar(1)=1, Arfcnar(2)=63, Arfcnar(3)=124, then FOR X=1
TO 3 and Arfcn=Arfcnar(X). For more help, look at the ‘PERFORM FAST POWER
MEASUREMENTS’ section of example program 1 in section “Example Programs”.
2-5
GPIB Tutorial and Examples
Example C - Making Measurements
Example C - Making Measurements
In this section we first add a TX Power measurement, then modulation accuracy and
receiver sensitivity tests.
TX Power Measurement
TX peak power is measured using the Fast TX Carrier Power measurement. This
measurement can take place in parallel with GSM signalling operations such as ARFCN
or TX Level changes. TX peak power is normally displayed on the Cell Control screen.
The Agilent 8922M/S RF Analyser automatically adjusts its input attenuation and gain to
match the power expected from the mobile. The Expected Input power is displayed at the
bottom of the Cell Control screen. This expected power provides a convenient
comparison with the measured power. For a perfect mobile, the expected and measured
values are the same. Select GPIB commands from section “GPIB Commands Used in
Exercises” to query the measured and expected power and insert them immediately before
the PRINT statement in your program. Modify the PRINT statement to display ARFCN,
TX Level, Expected Power and Measured Power. The program flow should be as follows:
❒ Establish call as in exercise A.
❒ Set up a loop to count through three ARFCN.
❒ Command the phone to the new ARFCN.
❒ Check the reported ARFCN, loop until the reported value matches the programmed
value, or too much time has elapsed.
❒ Set up a loop to count through the TX Levels.
❒ Command the phone to the new TX Level.
❒ Check the reported TX Level, loop until the reported value matches the programmed
value, or too much time has elapsed.
❒ Query the Fast TX Carrier Power (TX Peak Power).
❒ Query the RF Analyser Expected Input.
❒ Print the ARFCN, TX Level, Expected Power, Measured TX Peak Power.
❒ Repeat for the next TX Level.
❒ Repeat for the next ARFCN.
❒ End call as in Exercise A.
2-6