Copper mountain Planar TR5048 Owner's manual

PlanarTR1300/1,TR5048andTR7530
VectorNetworkAnalyzer
ProgrammingManualSCPI
Oct,2015

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
TABLEOFCONTENTS
1Introduction....................................................................................................................................8
1.1 ProgrammingManualScope.................................................................................................... 8
1.2 RelatedDocuments .................................................................................................................. 8
1.3 References ................................................................................................................................ 8
2AnalyzerInterfaces.........................................................................................................................9
2.1 EthernetInterface .................................................................................................................... 9
3ControlComputer ........................................................................................................................10
3.1 SoftwareRequirements.......................................................................................................... 10
4SCPIOverview..............................................................................................................................10
4.1 CommandTree....................................................................................................................... 10
4.2 Subsystems............................................................................................................................. 11
4.3 OptionalSubsystems ............................................................................................................. 12
4.4 LongandShortFormats......................................................................................................... 12
4.5 CaseSensitivity....................................................................................................................... 12
4.6 Parameters ............................................................................................................................. 12
4.6.1 NumericValues.................................................................................................................. 13
4.6.1.1 MultiplierPrefixes ......................................................................................................... 13
4.6.1.2 Notations....................................................................................................................... 14
4.6.2 Booleans ............................................................................................................................ 14
4.6.3 CharacterData................................................................................................................... 14
4.6.4 StringParameters.............................................................................................................. 15
4.6.5 NumericLists ..................................................................................................................... 15
4.7 QueryCommands................................................................................................................... 16
4.8 NumericSuffixes .................................................................................................................... 16
4.9 CompoundCommands........................................................................................................... 16
4.10 IEEE488.2CommonCommandsOverview....................................................................... 17
4.11 StringTerminator .............................................................................................................. 17
5RemoteControlCommands ........................................................................................................18
5.1 Conventions............................................................................................................................ 18
5.1.1 Syntax ................................................................................................................................18
5.1.2 Identifiers ........................................................................................................................... 19
5.2 IEEE488.2CommonCommands ............................................................................................ 20
*CLS ............................................................................................................................................ 20
*ESE ............................................................................................................................................ 20
*ESR?........................................................................................................................................... 21
*IDN?........................................................................................................................................... 21
*OPC ........................................................................................................................................... 21
*OPC?.......................................................................................................................................... 22
*RST ............................................................................................................................................ 22
*SRE ............................................................................................................................................ 23
*STB?........................................................................................................................................... 23
*TRG............................................................................................................................................ 24
*WAI............................................................................................................................................ 24
5.3 NetworkAnalyzerCommands ............................................................................................... 25
ABOR ........................................................................................................................................... 25
CALC:CONV ................................................................................................................................25
CALC:CONV:FUNC...................................................................................................................... 26
CALC:CORR:EDEL:TIME ............................................................................................................. 27
CALC:CORR:OFFS:PHAS ............................................................................................................ 27
CALC:DATA:FDAT?..................................................................................................................... 28
CALC:DATA:FMEM? ................................................................................................................... 29
CALC:DATA:SDAT?..................................................................................................................... 30
CALC:DATA:SMEM? ................................................................................................................... 31
CALC:FILT:TIME.......................................................................................................................... 32
CALC:FILT:TIME:CENT ............................................................................................................... 33

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
3
CALC:FILT:TIME:SHAP ............................................................................................................... 34
CALC:FILT:TIME:SPAN ............................................................................................................... 35
CALC:FILT:TIME:STAR................................................................................................................ 36
CALC:FILT:TIME:STAT................................................................................................................ 36
CALC:FILT:TIME:STOP ............................................................................................................... 37
CALC:FORM ................................................................................................................................38
CALC:FSIM:SEND:DEEM:PORT:STAT ....................................................................................... 39
CALC:FSIM:SEND:DEEM:PORT:USER:FIL................................................................................. 39
CALC:FSIM:SEND:PMC:PORT:STAT.......................................................................................... 40
CALC:FSIM:SEND:PMC:PORT:USER:FIL ................................................................................... 40
CALC:FSIM:SEND:ZCON:PORT:Z0 ............................................................................................ 41
CALC:FSIM:SEND:ZCON:STAT .................................................................................................. 41
CALC:FUNC:DATA? .................................................................................................................... 42
CALC:FUNC:DOM ....................................................................................................................... 43
CALC:FUNC:DOM:COUP............................................................................................................ 44
CALC:FUNC:DOM:STAR............................................................................................................. 45
CALC:FUNC:DOM:STOP............................................................................................................. 46
CALC:FUNC:EXEC....................................................................................................................... 47
CALC:FUNC:PEXC....................................................................................................................... 47
CALC:FUNC:POIN? ..................................................................................................................... 48
CALC:FUNC:PPOL....................................................................................................................... 48
CALC:FUNC:TARG ...................................................................................................................... 49
CALC:FUNC:TTR ......................................................................................................................... 50
CALC:FUNC:TYPE ....................................................................................................................... 51
CALC:LIM..................................................................................................................................... 52
CALC:LIM:DATA.......................................................................................................................... 53
CALC:LIM:DISP ........................................................................................................................... 54
CALC:LIM:FAIL? .......................................................................................................................... 54
CALC:LIM:OFFS:AMPL ............................................................................................................... 55
CALC:LIM:OFFS:STIM................................................................................................................. 56
CALC:LIM:REP:ALL? ................................................................................................................... 57
CALC:LIM:REP:POIN? ................................................................................................................. 58
CALC:LIM:REP?........................................................................................................................... 58
CALC:MARK ................................................................................................................................59
CALC:MARK:ACT ........................................................................................................................ 60
CALC:MARK:BWID...................................................................................................................... 60
CALC:MARK:BWID:DATA? ......................................................................................................... 61
CALC:MARK:BWID:REF .............................................................................................................. 62
CALC:MARK:BWID:THR.............................................................................................................. 63
CALC:MARK:BWID:TYPE............................................................................................................ 64
CALC:MARK:COUN..................................................................................................................... 65
CALC:MARK:COUP ..................................................................................................................... 65
CALC:MARK:FUNC:DOM............................................................................................................ 66
CALC:MARK:FUNC:DOM:STAR ................................................................................................. 67
CALC:MARK:FUNC:DOM:STOP ................................................................................................. 68
CALC:MARK:FUNC:EXEC ........................................................................................................... 69
CALC:MARK:FUNC:PEXC ........................................................................................................... 70
CALC:MARK:FUNC:PPOL........................................................................................................... 71
CALC:MARK:FUNC:TARG........................................................................................................... 72
CALC:MARK:FUNC:TRAC ........................................................................................................... 72
CALC:MARK:FUNC:TTR.............................................................................................................. 73
CALC:MARK:FUNC:TYPE ........................................................................................................... 74
CALC:MARK:REF......................................................................................................................... 75
CALC:MARK:SET......................................................................................................................... 76
CALC:MARK:X............................................................................................................................. 77
CALC:MARK:Y? ........................................................................................................................... 78
CALC:MATH:FUNC ..................................................................................................................... 79

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
4
CALC:MATH:MEM ...................................................................................................................... 80
CALC:MST ................................................................................................................................... 80
CALC:MST:DATA?....................................................................................................................... 81
CALC:MST:DOM ......................................................................................................................... 81
CALC:MST:DOM:STAR............................................................................................................... 82
CALC:MST:DOM:STOP............................................................................................................... 82
CALC:PAR:COUN........................................................................................................................ 83
CALC:PAR:DEF............................................................................................................................ 84
CALC:PAR:SEL ............................................................................................................................ 85
CALC:PAR:SPOR......................................................................................................................... 85
CALC:RLIM .................................................................................................................................. 86
CALC:RLIM:DATA ....................................................................................................................... 87
CALC:RLIM:DISP:LINE................................................................................................................ 88
CALC:RLIM:FAIL?........................................................................................................................ 89
CALC:RLIM:REP?......................................................................................................................... 90
CALC:SMO .................................................................................................................................. 91
CALC:SMO:APER ........................................................................................................................ 91
CALC:TRAC:DATA:FDAT? .......................................................................................................... 92
CALC:TRAC:DATA:FMEM? ......................................................................................................... 93
CALC:TRAC:DATA:SDAT? .......................................................................................................... 94
CALC:TRAC:DATA:SMEM?......................................................................................................... 95
CALC:TRAN:TIME ....................................................................................................................... 96
CALC:TRAN:TIME:CENT............................................................................................................. 97
CALC:TRAN:TIME:IMP:WIDT ..................................................................................................... 98
CALC:TRAN:TIME:KBES ............................................................................................................. 99
CALC:TRAN:TIME:LPFR.............................................................................................................. 99
CALC:TRAN:TIME:SPAN........................................................................................................... 100
CALC:TRAN:TIME:STAR........................................................................................................... 101
CALC:TRAN:TIME:STAT ........................................................................................................... 101
CALC:TRAN:TIME:STEP:RTIM.................................................................................................. 102
CALC:TRAN:TIME:STIM............................................................................................................ 103
CALC:TRAN:TIME:STOP........................................................................................................... 104
DISP:COL:BACK ........................................................................................................................ 105
DISP:COL:GRAT........................................................................................................................ 106
DISP:COL:RES........................................................................................................................... 106
DISP:COL:TRAC:DATA ............................................................................................................. 107
DISP:COL:TRAC:MEM .............................................................................................................. 108
DISP:FSIG .................................................................................................................................. 109
DISP:IMAG................................................................................................................................. 109
SYST:HIDE................................................................................................................................. 110
DISP:MAX.................................................................................................................................. 110
SYSTem:SHOW......................................................................................................................... 110
DISP:SPL ................................................................................................................................... 111
DISP:WIND:ACT ........................................................................................................................ 112
DISP:WIND:ANN:MARK:ALIG .................................................................................................. 113
DISP:WIND:ANN:MARK:SING.................................................................................................. 114
DISP:WIND:MAX....................................................................................................................... 114
DISP:WIND:SPL......................................................................................................................... 115
DISP:WIND:TITL........................................................................................................................ 116
DISP:WIND:TITL:DATA............................................................................................................. 116
DISP:WIND:TRAC:ANN:MARK:POS:X ..................................................................................... 117
DISP:WIND:TRAC:ANN:MARK:POS:Y ..................................................................................... 118
DISP:WIND:TRAC:Y:AUTO....................................................................................................... 119
DISP:WIND:TRAC:Y:PDIV......................................................................................................... 119
DISP:WIND:TRAC:Y:RLEV ........................................................................................................ 120
DISP:WIND:TRAC:Y:RPOS ....................................................................................................... 121
DISP:WIND:Y:DIV...................................................................................................................... 122

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
5
FORM:BORD ............................................................................................................................. 123
FORM:DATA.............................................................................................................................. 124
HCOP ......................................................................................................................................... 125
HCOP:ABOR.............................................................................................................................. 125
HCOP:DATE:STAM ................................................................................................................... 125
HCOP:IMAG............................................................................................................................... 126
HCOP:PAIN ............................................................................................................................... 126
INIT ............................................................................................................................................ 127
INIT:CONT................................................................................................................................. 128
MMEM:COPY ............................................................................................................................ 128
MMEM:DEL ............................................................................................................................... 129
MMEM:LOAD............................................................................................................................ 129
MMEM:LOAD:CHAN................................................................................................................. 130
MMEM:LOAD:CKIT ................................................................................................................... 130
MMEM:LOAD:LIM..................................................................................................................... 131
MMEM:LOAD:RLIM .................................................................................................................. 132
MMEM:LOAD:SEGM................................................................................................................. 132
MMEM:MDIR............................................................................................................................. 133
MMEM:STOR ............................................................................................................................ 133
MMEM:STOR:CHAN ................................................................................................................. 133
MMEM:STOR:CHAN:CLE.......................................................................................................... 134
MMEM:STOR:CKIT ................................................................................................................... 134
MMEM:STOR:FDAT .................................................................................................................. 134
MMEM:STOR:IMAG .................................................................................................................. 135
MMEM:STOR:LIM ..................................................................................................................... 135
MMEM:STOR:RLIM................................................................................................................... 136
MMEM:STOR:SEGM ................................................................................................................. 137
MMEM:STOR:SNP .................................................................................................................... 137
MMEM:STOR:SNP:FORM......................................................................................................... 138
MMEM:STOR:STYP .................................................................................................................. 139
MMEM:TRAN?........................................................................................................................... 140
OUTP ......................................................................................................................................... 140
SENS:AVER ............................................................................................................................... 141
SENS:AVER:CLE........................................................................................................................ 141
SENS:AVER:COUN.................................................................................................................... 142
SENS:BAND .............................................................................................................................. 143
SENS:BWID ............................................................................................................................... 143
SENS:CORR:CLE ....................................................................................................................... 143
SENS:CORR:COEF?................................................................................................................... 144
SENS:CORR:COEF:METH:ERES ............................................................................................... 145
SENS:CORR:COEF:METH:OPEN.............................................................................................. 145
SENS:CORR:COEF:METH:SHOR.............................................................................................. 146
SENS:CORR:COEF:METH:SOLT1............................................................................................. 146
SENS:CORR:COEF:METH:THRU .............................................................................................. 147
SENS:CORR:COEF:SAVE .......................................................................................................... 148
SENS:CORR:COLL:CKIT ........................................................................................................... 149
SENS:CORR:COLL:CKIT:LAB ................................................................................................... 149
SENS:CORR:COLL:CKIT:RES.................................................................................................... 150
SENS:CORR:COLL:CKIT:STAN:C0 ........................................................................................... 150
SENS:CORR:COLL:CKIT:STAN:C1............................................................................................ 151
SENS:CORR:COLL:CKIT:STAN:C2 ........................................................................................... 152
SENS:CORR:COLL:CKIT:STAN:C3............................................................................................ 153
SENS:CORR:COLL:CKIT:STAN:DEL......................................................................................... 154
SENS:CORR:COLL:CKIT:STAN:L0............................................................................................ 155
SENS:CORR:COLL:CKIT:STAN:L1............................................................................................ 156
SENS:CORR:COLL:CKIT:STAN:L2............................................................................................ 157
SENS:CORR:COLL:CKIT:STAN:L3............................................................................................ 158

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
6
SENS:CORR:COLL:CKIT:STAN:LAB......................................................................................... 158
SENS:CORR:COLL:CKIT:STAN:LOSS ...................................................................................... 159
SENS:CORR:COLL:CKIT:STAN:TYPE....................................................................................... 160
SENS:CORR:COLL:CKIT:STAN:Z0 ........................................................................................... 161
SENS:CORR:COLL:CLE............................................................................................................. 161
SENS:CORR:COLL:ECAL:ORI:STAT......................................................................................... 162
SENS:CORR:COLL:ECAL:PATH................................................................................................ 162
SENS:CORR:COLL:ECAL:SOLT1 .............................................................................................. 163
SENS:CORR:COLL:ECAL:UCH.................................................................................................. 164
SENS:CORR:COLL:LOAD ......................................................................................................... 165
SENS:CORR:COLL:METH:ERES ............................................................................................... 166
SENS:CORR:COLL:METH:OPEN.............................................................................................. 166
SENS:CORR:COLL:METH:SHOR ............................................................................................. 167
SENS:CORR:COLL:METH:SOLT1............................................................................................. 167
SENS:CORR:COLL:METH:THRU .............................................................................................. 168
SENS:CORR:COLL:METH:TYPE? ............................................................................................. 169
SENS:CORR:COLL:OPEN ......................................................................................................... 169
SENS:CORR:COLL:SAVE .......................................................................................................... 170
SENS:CORR:COLL:SHOR ......................................................................................................... 171
SENS:CORR:COLL:THRU.......................................................................................................... 172
SENS:CORR:EXT ....................................................................................................................... 173
SENS:CORR:EXT:PORT:FREQ.................................................................................................. 174
SENS:CORR:EXT:PORT:INCL ................................................................................................... 175
SENS:CORR:EXT:PORT:LDC .................................................................................................... 175
SENS:CORR:EXT:PORT:LOSS.................................................................................................. 176
SENS:CORR:EXT:PORT:TIME................................................................................................... 177
SENS:CORR:IMP ....................................................................................................................... 178
SENS:CORR:STAT..................................................................................................................... 179
SENS:CORR:TYPE? ................................................................................................................... 180
SENS:FREQ ............................................................................................................................... 181
SENS:FREQ:DATA?................................................................................................................... 182
SENS:FREQ:CENT..................................................................................................................... 183
SENS:FREQ:SPAN .................................................................................................................... 184
SENS:FREQ:STAR..................................................................................................................... 185
SENS:FREQ:STOP.................................................................................................................... 186
SENS:OFFS................................................................................................................................187
SENS:OFFS:ADJ........................................................................................................................ 187
SENS:OFFS:ADJ:CONT............................................................................................................. 188
SENS:OFFS:ADJ:CONT:PER..................................................................................................... 189
SENS:OFFS:ADJ:EXEC.............................................................................................................. 190
SENS:OFFS:ADJ:PORT ............................................................................................................. 191
SENS:OFFS:ADJ:VAL................................................................................................................ 192
SENS:OFFS:PORT:DATA? ........................................................................................................ 193
SENS:OFFS:PORT:DIV.............................................................................................................. 194
SENS:OFFS:PORT:MULT.......................................................................................................... 195
SENS:OFFS:PORT:OFFS........................................................................................................... 196
SENS:OFFS:PORT:STAR........................................................................................................... 197
SENS:OFFS:PORT:STOP .......................................................................................................... 197
SENS:ROSC:SOUR.................................................................................................................... 198
SENS:SEGM:DATA.................................................................................................................... 199
SENS:SWE:POIN....................................................................................................................... 200
SENS:SWE:POIN:TIME ............................................................................................................. 201
SENS:SWE:TYPE....................................................................................................................... 202
SERV:CHAN:ACT?..................................................................................................................... 202
SERV:CHAN:COUN? ................................................................................................................. 203
SERV:CHAN:TRAC:ACT? .......................................................................................................... 203
SERV:CHAN:TRAC:COUN?....................................................................................................... 203

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
7
SERV:PORT:COUN?.................................................................................................................. 204
SERV:SWE:FREQ:MAX?............................................................................................................ 204
SERV:SWE:FREQ:MIN?............................................................................................................. 204
SERV:SWE:POIN? ..................................................................................................................... 205
SOUR:POW ............................................................................................................................... 205
SOUR:POW:CENT..................................................................................................................... 206
SOUR:POW:SLOP..................................................................................................................... 207
SOUR:POW:SPAN..................................................................................................................... 208
SOUR:POW:STAR ..................................................................................................................... 209
SOUR:POW:STOP..................................................................................................................... 210
STAT:OPER?.............................................................................................................................. 211
STAT:OPER:COND?.................................................................................................................. 211
STAT:OPER:ENAB .................................................................................................................... 212
STAT:OPER:NTR....................................................................................................................... 212
STAT:OPER:PTR ....................................................................................................................... 213
STAT:PRES................................................................................................................................213
STAT:QUES:COND?.................................................................................................................. 214
STAT:QUES:ENAB .................................................................................................................... 214
STAT:QUES:LIM:CHAN:COND?............................................................................................... 215
STAT:QUES:LIM:CHAN:ENAB ................................................................................................. 215
STAT:QUES:LIM:CHAN:NTR .................................................................................................... 216
STAT:QUES:LIM:CHAN:PTR .................................................................................................... 216
STAT:QUES:LIM:CHAN?........................................................................................................... 217
STAT:QUES:LIM:COND? .......................................................................................................... 217
STAT:QUES:LIM:ENAB............................................................................................................. 218
STAT:QUES:LIM:NTR ............................................................................................................... 218
STAT:QUES:LIM:PTR................................................................................................................ 219
STAT:QUES:LIM?...................................................................................................................... 219
STAT:QUES:NTR....................................................................................................................... 220
STAT:QUES:PTR ....................................................................................................................... 220
STAT:QUES:RLIM:CHAN:COND?............................................................................................. 221
STAT:QUES:RLIM:CHAN:ENAB ............................................................................................... 221
STAT:QUES:RLIM:CHAN:NTR.................................................................................................. 222
STAT:QUES:RLIM:CHAN:PTR .................................................................................................. 222
STAT:QUES:RLIM:CHAN? ........................................................................................................ 223
STAT:QUES:RLIM:COND?........................................................................................................ 223
STAT:QUES:RLIM:ENAB .......................................................................................................... 224
STAT:QUES:RLIM:NTR............................................................................................................. 224
STAT:QUES:RLIM:PTR ............................................................................................................. 225
STAT:QUES:RLIM?.................................................................................................................... 225
STAT:QUES? ............................................................................................................................. 226
SYST:CORR ............................................................................................................................... 227
SYST:DATE................................................................................................................................227
SYST:ERR?................................................................................................................................. 228
SYST:LOC.................................................................................................................................. 228
SYST:PRES ................................................................................................................................229
SYST:REM ................................................................................................................................. 229
SYST:RWL ................................................................................................................................. 229
SYST:TIME................................................................................................................................. 230
TRIG........................................................................................................................................... 231
TRIG:SING ................................................................................................................................. 232
TRIG:SOUR................................................................................................................................233
Appendix1.IEE488.2StatusReportingSystem .............................................................................234
Appendix2.ErrorCodes.....................................................................................................................240
Appendix3.ProgrammingExamples ...............................................................................................241

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
8
1Introduction
ThisManualcontainsinformationonNetworkAnalyzerremotecontrolanditsdata
communicationbymeansofuserprogramswrittenwithSCPI(StandardCommands
forProgrammableInstruments).SCPIisusedforremotecontrolovertheAnalyzer
viaEthernetphysicalinterfaces.
1.1 ProgrammingManualScope
ThisManualdirectlyappliestothePlanar–TR1300/1,TR5048andTR7530models
NetworkAnalyzer.
1.2 RelatedDocuments
BeforereadingthisManual,familiarizeyourselfwithAnalyzerOperatingManual.
1.3 References
IEEEStandard488.2–1992,IEEEStandardCodes,Formats,ProtocolsandCommon
CommandsforUsewithANSI/IEEEStd488.1–1987.IEEE,NewYork,NY,1992.
SCPIStandard–1999,StandardCommandsforProgrammableInstrumentsVolume1:
SyntaxandStyle.SCPIConsortium,SanDiego,CA,1999.
VXI–11,TCP/IPInstrumentProtocolSpecification.VXIbusConsortium,Inc.

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
9
2AnalyzerInterfaces
2.1 EthernetInterface
Ethernetinterfaceispartoftheequipmentofapersonalcomputerthatconnectsto
thedevice"Planar‐TR1300/1»,«TR5048»or«TR7530».
DatatransferbetweenthePCuserandthecomputerthatisconnectedtothe
device,isperformedviaVXI‐11protocolorSocket(TCP,port5025).VXI‐11protocol
isintendedforcontrolovermeasurementinstrumentsandbasedonTCP/IP
protocol.
ConnectthedevicetoaPCinthelocalEthernetnetworkofyourcompany.
ActivatethefunctionofremotecontrolviaVXI–11protocolonyourAnalyzeras
describedbelow.
Toenable/disableremotecontrolviaVXI–11protocol
networkorSocket,usethefollowingsoftkeys:
System>MiscSetup>NetworkSetup>VXI–11ON/OFF
System>MiscSetup>NetworkSetup>SocketON/OFF

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
10
3ControlComputer
3.1 SoftwareRequirements
ToestablishcommunicationbetweentheAnalyzerandthecontrolcomputer,the
softwaresupportingVXI–11(Ethernet)input/outputprotocolsmustbeinstalledon
thePC.Thiscanbeimplementedbytheuserprogram,butusuallyathirdparty
softwareisusedforthispurpose.Belowarethetwomostcommonsolutions:
ProgramminglanguageswithGPIBsupport,suchasHTBasic.
VISAlibraryensurescontrolovermeasurementinstrumentsby
anyprogramminglanguage(C/C++,VisualBasic,MATLAB,
LabView,etc).VISAlibrarysupportsavarietyofinterfacesand
protocols,includingIEEE488.2(GPIB)andVXI–11(Ethernet)
protocolsbeingusedintheAnalyzer.Therearedifferent
implementationsofVISAlibrary.Youcanuseanyofthe
implementations,forexampleNationalInstrumentsNI–VISAor
AgilentIOLibrariesSuite.
4SCPIOverview
TheEthernetinterfaceimplementsamesetofcommandsbasedon1999SCPI
standard(StandardCommandsforProgrammableInstruments).Thiscommandset
allowstheexchangeofcharactermessages.
SCPIisdevelopedbySCPIConsortium(http:\\www.scpiconsortium.org).Themain
featuresofSCPIstandardaredescribedbelow.Foramoredetailedinformationon
SCPIstandard,seethewebsiteofSCPIConsortium.
4.1 CommandTree
TheSCPIcommandsareorganizedinatreestructure.Forexample:
Eachtreestructureformsafunctionalsystem.Thebaseofthetreeiscalledroot,
e.g.MEASureandSYSTem.Eachfunctionalsystemcanhavesubsystemsoflower

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
11
level.Thefinalnodesarecalledleaves.Theentiresequencefromroottotheleaf
makesupthecommand.Forexample,partofSOURCefunctionalsystemlooksas
follows:
:SOURce
:POWer
:CENTer
:STARt
:SPAN
:STOP
[:LEVel]
:SLOPe
[:DATA]
:STATe
ThisSOURcebranchhasseverallevels,whereCENTer,STARt,SPAN,STOP,DATA,
STATearetheleaves,whichrepresentthefollowingsixcommands:
:SOURce:POWer:CENTer
:SOURce:POWer:STARt
:SOURce:POWer:SPAN
:SOURce:POWer:STOP
:SOURce:POWer[:LEVel]:SLOPe[:DATA]
:SOURce:POWer[:LEVel]:SLOPe:STATe
Thetreecancontainsubsystemsandleaveswiththesamenamesiftheybelongto
differentbranches,e.g.CENTerleafisonthetipsofdifferentbranches:
:SOURce:SENSe
:POWer
:FREQuency
:CENTer:CENTer
4.2 Subsystems
Acolon(':')separatesthesubsystems.Thesubsystems,whichfollowthecolonare
ofalowerlevel.Forexample,incommand:
:SOURce:POWer:STARt
thestartpowerSTARtisapartofPOWersubsystem,whichisapartofSOURce
subsystem.Thestoppowerisalsoapartof:SOURce:POWersubsystem.Itis
specifiedby:
:SOURce:POWer:STOP
Thefirstcoloninthelinecanbeomitted,forexample:
SOURce:POWer:STOP

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
12
4.3 OptionalSubsystems
Somesubsystemscanbespecifiedasoptional,ifomissionofsuchasubsystemwill
notleadtoambiguity.Thismeansthatthesubsystemcanbeomittedincommand
line.Theoptionalsubsystemsarebracketed("[]").Forexample,iffullcommand
specificationiswrittenas:
SOURce:POWer[:LEVel]:SLOPe[:DATA]
subsystemsLEVelandDATAareoptional.Thereforethebothcommandsarevalid:
SOURce:POWer:LEVel:SLOPe:DATA
SOURce:POWer:SLOPe
4.4 LongandShortFormats
Eachkeywordinacommandspecificationhasalongformatandashortformat.
Theshortformatofacommandisindicatedbycapitalletters.Forexample,a
commandspecification:
SENSe:FREQuency:CENTer
canbewrittenas:
SENS:FREQ:CENT
SENS:FREQ:CENTer
Onlylongorshortformofeachkeywordisacceptable.Forexample,thefollowing
specificationisincorrect:
:SENS:FREQuen:CEN
4.5 CaseSensitivity
Thecommandsarenotcasesensitive.Uppercaseandlowercaselettersareonly
usedtoindicatethelongandshortformatsofacommandspecification.For
example,thefollowingcommandsareequivalent:
SENS:FREQ:STAR
sens:freq:star
4.6 Parameters
Thecommandscanhaveparameters.Theparametersareseparatedfromthe
commandbyaspace.Ifacommandhasseveralparameters,theyareseparatedby
commas(',').

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
13
4.6.1 NumericValues
Thenumericvaluesareintegerorrealnumbers.Theseparameterscanhave
measurementunits.Forexample:
SENS:FREQ1000000000
SENS:FREQ1000MHz
SENS:FREQ1GHz
SENS:FREQ1E9
4.6.1.1 MultiplierPrefixes
TheSCPIstandardallowsspecificationofthenumericvalueswithmultiplierprefix
tothemeasurementunits.
PrefixMultiplier
A 1e–18
F 1e–15
P 1e–12
N 1e–9
U 18–6
M 1e–3
K 1e3
MA 1e6
G 1e9
T 1e12
PE 1e15
EX 1e18
Therearetwoexceptionstotheabovedesignation:prefixMincombinationwith
HZorOHMmeans1e6(Mega),andnot1e–3(milli),i.e.MHZmeansMegahertz,
sameasMAHZ.

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
14
4.6.1.2 Notations
TheSCPIstandardallowsnumericvaluespecificationindifferentnotations.
Decimalnotationisusedbydefault.Touseothernotations,specifythenumeric
valuesinthefollowingway:
NotationPrefixExample
Binary#B#B11001010=20210
Octal#Q#Q107=7110
Hexadecimal#H#H10FF=435110
4.6.2 Booleans
Thebooleanscanassumetwovalues:logicalyesandlogicalno(ONandOFF),and
specifiedincommandas:
ONor1–logicalyes
OFFor0–logicalno
Forexample:
DISPlay:ENABleOFF
DISPlay:ENABle0
4.6.3 CharacterData
TheSCPIstandardallowsspecificationofparametersascharacterdata,asinthe
followingcommand:
TRIGger:SOURce{BUS|IMMediate|EXTernal}
thepossiblevaluesofthecharacterdata–"BUS","IMMediate","EXTernal".
Thecharacterdatahavelongandshortformat,andtheformatsarespecifiedin
accordancewiththesamerulesasdescribedinSection4.4.
Apartfromthat,thecharacterdatacanbecombinedwithnumericalparameters.
Forexample:
SENSe:FREQuency:STARt{MINimum|MAXimum|<value>}
Thefollowingspecificationsareacceptable:
SENSe:FREQuency:STARtMIN

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
15
SENSe:FREQuency:STARtmaximum
SENSe:FREQuency:STARt1000000
4.6.4 StringParameters
Insomecases,theinstrumentcanacceptparametersmadeofcharacterstrings.
Suchstringsareenclosedwithsinglequotes(')ordoublequotes(").Forexample,
thefilenameinthestatesavingcommand:
MMEMory:STORe"state01.sta"
4.6.5 NumericLists
Thenumericlists(<numericlist>)areusedtospecifyavariablenumberofnumerical
parameters,forexample:
CALC:LIMit:DATA2,1,1E9,3E9,0,0,2,1E9,3E9,–3,–3

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
16
4.7 QueryCommands
Thequerycommandsreadouttheparametervaluesfromtheinstrument.Aftera
querycommandhasbeensent,theresponseshouldreturnviaremotecontrol
interface.
Thequerycommandshasaquestionmark('?')intheendofthecommand.Manyof
thecommandshavetwoforms.Theformwithaquestionmarkwritesthe
parameter,theformwithoutaquestionmarkreadsouttheparameter.For
expample:
SENSe:FREQuency:STARt1MHz
SENSe:FREQuency:STARt?
4.8 NumericSuffixes
Theinstrumentcontainsseveralitemsofthesametype,suchas9channels,eachof
whichinturncontains8traces,etc.Anumericsuffixisusedtodenotetheitem
numberinacommand.Thesuffixisaddedtothekeywordoftheitem(channel,
trace,etc).Forexpample,inthefollowingspecificationthechannelnumber<Ch>
andtracenumber<Tr>indicatethechannelandtrace,towhichthiscommandis
addressed:
CALCulate<Ch>:PARameter<Tr>:DEFine
Accordingtothisspecification,thecommandreferredtothetrace2ofthechannel
1willbewrittenasfollows:
CALC1:PAR2:DEF
Thenumericsuffixcanbeomitted.Inthiscase,itis1bydefault.Forexample,the
followingcommandsareequivalent:
CALC:PAR:DEF
CALC1:PAR1:DEF
4.9 CompoundCommands
Itispossibletoentermorethanonecommandinthesamecommandline.The
commandsinthelineareseparatedbyasemicolon(';').Thespecificationofthefirst
commandisvalidforthefollowingcommand,exceptforthelastleafbeforethe
semicolon.Forexpample:
SENS:FREQ:STAR1MHZ;STOP2MHZ

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
17
Ifyouneedtostartthenextcommandfromthehighestlevelofthestructure,this
commandshouldstartfromacolon(':'):
SENS:FREQ:STAR1MHZ;:CALC:PAR:DEFS21
4.10 IEEE488.2CommonCommandsOverview
ASCPIcompatibleinstrumentmustsupportasetofcommoncommandsof
IEEE488.2standard.Thesecommandsstartwithanasterix('*').Thelistofsuch
commandsseebelow:
*CLS
*ESE
*ESE?
*ESR?
*IDN?
*OPC
*OPC?
*RST
*SRE
*SRE?
*STB?
*TRG
*WAI
Thesecommandsareusedforresetting,statequeries,etc.
4.11 StringTerminator
The<newline>character(ASCII10)inthelastdatabyteofthecommandstringis
usedasacommandterminator.Thestringofinstructionssenttotheinstrumentis
executedaftertheinstructionterminatorisreceived.

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
18
5RemoteControlCommands
5.1 Conventions
ThefollowingconventionsareusedthroughouttheManual.
5.1.1 Syntax
Thefollowingsymbolsareusedincommandsyntax:
<>identifiersenclosedinangularbracketsindicatedthataparticular
typeofdatamustbespecified
[]partenclosedinsquarebracketscanbeomitted
{}partenclosedincurlybracketsindicatesthatyoumustselectoneof
theitemsinthispart.Individualitemsareseparatedbyavertical
bar"|"
Spacespaceseparatescommandsfromparameters
,commaseparatesadjacentparameters
…ellipsesindicatesthatparametersinthatpartareomitted

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
19
5.1.2 Identifiers
IdentifierParameterDescription
<numeric>Number{<integer>|<real>}
<frequency>Frequency<numeric>{[HZ]|KHZ|MHZ|GHZ}
<power>Power<numeric>{[DBM]|DBMW|DBW|KW|W|MW|UW|NW}
<time>Time<numeric>{[S]|MS|US|NS|PS|FS}
<logmag>LogAmplitude<numeric>[DB]
<phase>Phase<numeric>{[DEG]|MADEG|KDEG|MDEG|UDEG}
<stimulus>Stimulus{<frequency>|<power>|<time>}
<response>Response{<logmag>|<phase>|<time>}
<numericlist>NumericList<numeric1>,<numeric2>,...<numericN>

PlanarTR1300/1,TR5048,TR7530ProgrammingManualSCPI
20
5.2 IEEE488.2CommonCommands
*CLS
*CLS
Description
Clearsthefollowing(noquery)
•ErrorQueue
•StatusByteRegister
•StandardEventStatusRegister
•OperationStatusEventRegister
•QuestionableStatusEventRegister
•QuestionableLimitStatusEventRegister
•QuestionableLimitChannelStatusEventRegister
TargetStatusReportingSystem
EquivalentSoftkeysNone
*ESE
*ESE<numeric>
*ESE?
DescriptionSetsorreadsoutthevalueoftheStandardEventStatusEnable
Register(command/query).
TargetStatusReportingSystem
Parameter<numeric>0to255
OutofRangeBitwiseANDwith255number
QueryResponse<numeric>
PresetValue0
EquivalentSoftkeysNone
This manual suits for next models
2
Table of contents
Popular Measuring Instrument manuals by other brands

Keysight
Keysight PNA-X Series Configuration guide

PCB Piezotronics
PCB Piezotronics HT356B20 Installation and operating manual

Toptica
Toptica FPI 100 manual

dosatron
dosatron Dilution ETATRON ePC quick start guide

Endress+Hauser
Endress+Hauser Proline Promass 83 operating instructions

Diamond Antenna
Diamond Antenna sx-1100 Operation instructions

GOK
GOK BC-1 Series Assembly and operating manual

Robuschi
Robuschi SENTINEL Operating and maintenance instructions

Setra Systems
Setra Systems 761 operating instructions

Anritsu
Anritsu MP1800A quick reference

pico Technology
pico Technology PP877 quick start guide

NIVELCO
NIVELCO THERMOCONT TFP Series user manual