Agilent Technologies 8960 Series 10 E 5515A,B Wireless Commun ications Test Set
Agilent Technologies E1960A GSM Mobile Test Application
GPIB Command Syntax
Test Application Revision A.04
© Copyright Agilent Technologies 1998, 1999
Printed in U.S.A. March 2000
Agilent Part Number: E1960-90003
Revision H
http://www.agilent.com/find/8960support/
s 1
Notice
Information contained in this document is subject to change without notice.
All Rights Reserved. Reproduction, adaptation, or translation without prior written permission is prohibited,
except as allowed under the copyright laws.
This material may be reproduced by or for the U.S. Government pursuant to the Copyright License under the
clause at DFARS 52.227-7013 (APR 1988).
Agilent Technologies, Inc.
Learning Products Department
24001 E. Mission
Liberty Lake, WA 99019-9599
U.S.A.
2
Contents
Diagram Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Diagram Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
Developing Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
ABORt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
AFGenerator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
CALibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
CALL:ACTivated . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
CALL:BA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
CALL:BAND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
CALL:BCCode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
CALL:BCHannel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
CALL:BURSt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
CALL:CONNected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
CALL:COUNt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
CALL:END . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
CALL:FUNCtion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
CALL:IMEI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
CALL:LACode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
CALL:MCCode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
CALL:MNCode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
CALL:MS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
CALL:NCCode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3
Contents
CALL:OPERating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
CALL:ORIGinate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
CALL:PAGing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
CALL:PMNCode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35
CALL:POWer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36
CALL:RFGenerator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37
CALL:SIGNaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
CALL:STATus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41
CALL:TCHannel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
DISPlay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46
FETCh:AAUDio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
FETCh:BERRor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
FETCh:DAUDio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
FETCh:DPOWer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
FETCh:FBERror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53
FETCh:IQTuning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54
FETCh:ORFSpectrum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
FETCh:PFERror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
FETCh:PVTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
FETCh:TXPower . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62
INITiate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
4
Contents
RFANalyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
SETup:AAUDio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
SETup:BERRor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
SETup:CONTinuous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
SETup:DAUDio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
SETup:DPOWer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 6
SETup:FBERror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
SETup:IQTuning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
SETup:ORFSpectrum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81
SETup:PFERror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
SETup:PVTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87
SETup:TXPower . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89
STATus:OPERation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91
STATus:PRESet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97
STATus:QUEStionable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .98
Status Byte Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
Standard Event Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .106
SYSTem:APPLication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
SYSTem:BEEPer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
SYSTem:COMMunicate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
SYSTem:CONFigure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110
SYSTem:CORRection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
5
Contents
SYSTem:CURRent:TA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112
SYSTem:ERRor? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113
SYSTem:FTRigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114
SYSTem:MEASurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115
SYSTem:PRESet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116
SYSTem:ROSCillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117
SYSTem:SYNChronized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118
IEEE 488.2 Common Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119
6
Diagram Conventions
AFGenerator
Root Element
Root
Element
Node
See Complex Command
Description below.
Blue indicates the
command is a hypertext
link to the command’s
description table.
:FREQuency
Underline of command
indicates the command is not in
your unit, therefore any
associated commands in the
proper direction are also not.
:VOLTage
[:SAMPlitude]
:AMPLitude
:STATe
<sp><num value>[HZ |KHZ|MHZ|GHZ]
Slash between
space
required
Brackets around command i ndi cates
the command is optional.
Bold
default
setting
?
<sp><num value>[V |MV]
?
<sp><num value>[V |MV]
?
<sp>1|ON|0|OFF
? (returns 1|0)
commands
signifies OR . Use
one command OR
another .
7
Diagram Description
Statement elements are connected by lines. Each line can be followed in only one direction, as indicated by the
arrow at the end of the line. Any combination of statement elements that can be generated by starting at the Root
Element and following the line the proper direction is syntactically correct. The drawings show the proper use
of spaces. Where spaces are required they are indicated by <sp>, otherwise no spaces are allowed between
statement elements.
Complex Command Description
A complex command sets the state of the parameter to ON, and is used to set a value for that parameter. These
parameters; amplitude, freque ncy, gain, number, time, and value can be used as a c omplex c ommand. Refer t o t he
specific command for the parameter that applies.
Developing Code
It is recommended that you set the Test Set’s operating environment to debug. To set the Test Set debug mode to
"ON" use the following syntax:
SYSTem:COMM un ica te:GPIB:DEBug ON
8
Units-of-Measure
If you do not specify units-of-measure in your code the following table indicates the default units-of-measure that
will be assumed.
Amplitude (linear) V
Frequency HZ
Power (logarit hmic) dBm
Time S
9
ABORt
ABORt
[:ALL]
:AAUDio
:BERRor
:DAUDio
:DPOWer
:FBERror
:IQTuning
:ORFSpectrum
:PFERror
:PVTime
:TXPower
10
AFGenerator
AFGenerator
:FREQuency
:PULSe <sp>1|ON|0|OFF
[:STATe]
<sp><num value>[HZ |KHZ|MHZ|GHZ]
?
? (returns 1|0)
:VOLTage
[:SAMPlitude]
Complex Command
:AMPLitude
:STATe
<sp><num value>[V |MV]
?
<sp><num value>[V |MV]
?
<sp>1|ON|0|OFF
? (returns 1|0)
11
CALibration
CALibration
:IQ
[:1]
:IQ2? (returns 0 for pass or -340 for fail)
? (returns 0 for pass or -340 for fail)
:DATE
<sp><YYYY,MM,DD>
?
12
CALL:ACTivated
CALL
[:CELL[1]]
:ACTivated
[:STATe]
<sp>1|ON |0|OFF
? (returns 1|0)
13
CALL:BA
CALL
[:CELL[1]]
:BA:TABLe
[:SELected]
:DCS
:EGSM
:PCS
:PGSM
<sp><num value>{,<num value>}
?
<sp><num value>{,<num value>}
?
<sp><num value>{,<num value>}
?
<sp><num value>{,<num value>}
?
<sp><num value>{,<num value>}
?
14
CALL
[:CELL[1]]
:BA:TABLe
:POINts
?
[:SELected]
:DCS?
:EGSM?
:PCS?
:PGSM?
15
CALL:BAND
CALL
[:CELL[1]]
:BAND <sp>DCS|EGSM|PCS|PGSM
? (returns DCS|EGSM|PCS|PGSM)
16
CALL:BCCode
CALL
[:CELL[1]]
:BCCode <sp><num value>
?
17
CALL:BCHannel
CALL
[:CELL[1]]
:BCHannel
[:ARFCn]
[:SELected]
:DCS
:EGSM
:PCS
:PGSM
<sp><num value>
?
:DONE?
:OPComplete?
:SEQuential<sp>
<num value>
:WAIT
18
CALL:BURSt
<sp>RACH|TSC0|TSC1|TSC2|TSC3|TSC4|TSC5 |TSC6|TSC7 :BURSt:TYPE CALL
?
19
CALL:CONNected
CALL
:CONNected
[:STATe]
:ARM
:TIMeout
? (returns 1|0)
:DONE?
[:IMMediate]
:STATe?
<sp><num value>[<S|MS|US|NS>]
?
:OPComplete?
:SEQuential
:WAIT
(returns 1|0)
20
CALL:COUNt
:COUNt CALL :CBURst?
:CDERror?
:CLEar :BAERror
:RAPage
:MBURst?
:PAGE?
:RACH?
:TDMA:FRAMes
<sp><num value>
?
21
CALL:END
:ENDCALL
:DONE? (returns 1 or 0)
:OPComplete? (returns 1)
:SEQuential
:WAIT
22
CALL:FUNCtion
:FUNCtion:DOWNlink CALL <sp>BCH|BCHTCH|CW
?
23
CALL:IMEI
CALL
:IMEI:AUTO <sp>1|ON |0|OFF
? (returns 1|0)
24
CALL:LACode
CALL
[:CELL[1]]
:LACode <sp><num value>
?
25
CALL:MCCode
CALL
[:CELL[1]]
:MCCode <sp><num value>
?
26
CALL:MNCode
CALL
[:CELL[1]]
:MNCode <sp><num value>
?
27
CALL:MS
CALL
:MS :DTX <sp>1|ON|0|OFF
? (returns 1|0) [:STATe]
:REPorted
:CLEar
:IMEI?
:IMSI?
:LACode?
:MCCode?
:MNCode?
:NEIGhbour
[1]
?
28
CALL
:MS
:REPorted
:ONUMber?
:PCLass?
:REVision?
:RXLevel
:RXQuality
:SBANd?
:TADVance
:TXLevel
?
[:LAST]
:NEW?;NEW?;NEW?
?
[:LAST]
:NEW?;NEW?;NEW?
?
[:LAST]
:NEW?;NEW?;NEW?
?
[:LAST]
:NEW?;NEW?;NEW?
29
:MS CALL
:TADVance
<sp><num value>
?
:DONE? (returns 1|0)
:OPComplete? (returns 1)
:SEQuential<sp><num value>
:WAIT
:TXLevel
[:SELected]
:DCS
:EGSM
:PCS
:PGSM
<sp><num value>
?
:DONE? (returns 1|0)
:OPComplete? (returns 1)
:SEQuential<sp><num value>
:WAIT
30