Copper Mountain Technologies Planar TR1300/1, TR Series, Planar TR5048, Planar TR7530 Programming Manual

TR Series
Planar TR1300/1,
TR5048, TR7530
Vector Network Analyzer
Programming Manual COM/DCOM
Software version: 18.3.0
December 2018
2
TABLE OF CONTENTS
Introduction ................................................................................................................. 11
1 Registering COM Server .......................................................................................... 11
2 COM Technology Overview ..................................................................................... 11
3 Automation Server ................................................................................................... 12
4 Automation Controllers ........................................................................................... 12
5 Local and Remote Server......................................................................................... 13
6 Structure of COM Objects ........................................................................................ 14
7 Accessing the Application Object ........................................................................... 15
8 Object Methods ........................................................................................................ 17
9 Object Properties ..................................................................................................... 17
10 Error Handling ........................................................................................................ 18
11 COM Automation Data Types ................................................................................ 20
12 Measurement Data Arrays ..................................................................................... 21
13 COM Server Commands ......................................................................................... 22
NAME................................................................................................................................................ 22
Ready ............................................................................................................................................... 22
SCPI.ABORt .................................................................................................................................... 23
SCPI.CALCulate(Ch).FSIMulator.SENDed.DEEMbed.PORT(Pt).USER.
FILename ........................................................................................................................................ 23
SCPI.CALCulate(Ch).FSIMulator.SENDed.DEEMbed.PORT(Pt).STATe ...................... 25
SCPI.CALCulate(Ch).FSIMulator.SENDed.PMCircuit.PORT(Pt).USER.
FILename ........................................................................................................................................ 26
SCPI.CALCulate(Ch).FSIMulator.SENDed.PMCircuit.PORT(Pt).STATe ...................... 27
SCPI.CALCulate(Ch).FSIMulator.SENDed.ZCONversion.PORT(Pt).Z0.R ................... 28
SCPI.CALCulate(Ch).FSIMulator.SENDed.ZCONversion.STATe .................................. 29
SCPI.CALCulate(Ch).PARameter.COUNt .............................................................................. 30
SCPI.CALCulate(Ch).PARameter(Tr).DEFine ....................................................................... 31
SCPI.CALCulate(Ch).PARameter(Tr).SELect ........................................................................ 32
SCPI.CALCulate(Ch).PARameter(Tr).SPORt ........................................................................ 33
SCPI.CALCulate(Ch).SELected.CONVersion.FUNCtion ................................................... 34
SCPI.CALCulate(Ch).SELected.CONVersion.STATe .......................................................... 35
SCPI.CALCulate(Ch).SELected.CORRection.EDELay.TIME ............................................ 36
SCPI.CALCulate(Ch).SELected.CORRection.OFFSet.PHASe ......................................... 37
SCPI.CALCulate(Ch).SELected.DATA.FDATa ...................................................................... 38
SCPI.CALCulate(Ch).SELected.DATA.FMEMory ................................................................. 39
SCPI.CALCulate(Ch).SELected.DATA.SDATa ...................................................................... 40
SCPI.CALCulate(Ch).SELected.DATA.SMEMory ................................................................. 40
SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.CENTer ........................................... 41
SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.SHAPe ............................................. 42
3
SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.SPAN ............................................... 43
SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.STARt .............................................. 44
SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.STATe .............................................. 45
SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.STOP ................................................ 46
SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.TYPE ................................................ 47
SCPI.CALCulate(Ch).SELected.FORMat ................................................................................ 48
SCPI.CALCulate(Ch).SELected.FUNCtion.DATA ................................................................ 49
SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.COUPle .......................................... 50
SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.STARt .............................................. 51
SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.STATe ............................................. 52
SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.STOP ............................................... 53
SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute .......................................................... 54
SCPI.CALCulate(Ch).SELected.FUNCtion.PEXCursion .................................................... 55
SCPI.CALCulate(Ch).SELected.FUNCtion.POINts ............................................................. 56
SCPI.CALCulate(Ch).SELected.FUNCtion.PPOLarity ....................................................... 57
SCPI.CALCulate(Ch).SELected.FUNCtion.TARGet ............................................................ 58
SCPI.CALCulate(Ch).SELected.FUNCtion.TTRansition ................................................... 59
SCPI.CALCulate(Ch).SELected.FUNCtion.TYPE ................................................................. 60
SCPI.CALCulate(Ch).SELected.LIMit.DATA ......................................................................... 61
SCPI.CALCulate(Ch).SELected.LIMit.DISPlay.STATe ....................................................... 62
SCPI.CALCulate(Ch).SELected.LIMit.FAIL ........................................................................... 62
SCPI.CALCulate(Ch).SELected.LIMit.OFFSet.AMPLitude ............................................... 63
SCPI.CALCulate(Ch).SELected.LIMit.OFFSet.STIMulus .................................................. 64
SCPI.CALCulate(Ch).SELected.LIMit.REPort.ALL .............................................................. 65
SCPI.CALCulate(Ch).SELected.LIMit.REPort.DATA .......................................................... 66
SCPI.CALCulate(Ch).SELected.LIMit.REPort.POINts ....................................................... 67
SCPI.CALCulate(Ch).SELected.LIMit.STATe ....................................................................... 68
SCPI.CALCulate(Ch).SELected.MARKer(Mk).ACTivate .................................................... 69
SCPI.CALCulate(Ch).SELected.MARKer(Mk).BWIDth.DATA .......................................... 70
SCPI.CALCulate(Ch).SELected.MARKer.BWIDth.REFerence ......................................... 71
SCPI.CALCulate(Ch).SELected.MARKer.BWIDth.STATe ................................................. 72
SCPI.CALCulate(Ch).SELected.MARKer.BWIDth.THReshold ........................................ 73
SCPI.CALCulate(Ch).SELected.MARKer.BWIDth.TYPE .................................................... 74
SCPI.CALCulate(Ch).SELected.MARKer.COUPle ............................................................... 75
SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.DOMain. STARt ................... 76
SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.DOMain. STATe .................. 77
SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.DOMain. STOP .................... 78
SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.EXECute ................................ 79
SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.PEXCursion .......................... 80
SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.PPOLarity.............................. 81
SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.TARGet .................................. 82
SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.TRACking .............................. 83
SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.TTRansition ......................... 84
SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.TYPE ....................................... 85
SCPI.CALCulate(Ch).SELected.MARKer.REFerence.STATe ........................................... 86
SCPI.CALCulate(Ch).SELected.MARKer(Mk).SET_ ............................................................. 87
4
SCPI.CALCulate(Ch).SELected.MARKer(Mk).STATe ......................................................... 88
SCPI.CALCulate(Ch).SELected.MARKer(Mk).X ................................................................... 89
SCPI.CALCulate(Ch).SELected.MARKer(Mk).Y .................................................................... 90
SCPI.CALCulate(Ch).SELected.MARKer.COUNt ................................................................. 91
SCPI.CALCulate(Ch).SELected.MATH.DELete .................................................................... 91
SCPI.CALCulate(Ch).SELected.MATH.FUNCtion ............................................................... 92
SCPI.CALCulate(Ch).SELected.MATH.MEMorize .............................................................. 93
SCPI.CALCulate(Ch).SELected.MAXhold.STATe ............................................................... 93
SCPI.CALCulate(Ch).SELected.MSTatistics.DATA ............................................................ 94
SCPI.CALCulate(Ch).SELected.MSTatistics.DOMain.MARKer.STARt ......................... 95
SCPI.CALCulate(Ch).SELected.MSTatistics.DOMain.MARKer.STOP .......................... 96
SCPI.CALCulate(Ch).SELected.MSTatistics.DOMain.STATe ......................................... 97
SCPI.CALCulate(Ch).SELected.MSTatistics.STATe ........................................................... 98
SCPI.CALCulate(Ch).SELected.RLIMit.DATA ...................................................................... 99
SCPI.CALCulate(Ch).SELected.RLIMit.DISPlay.LINE .................................................... 100
SCPI.CALCulate(Ch).SELected.RLIMit.FAIL...................................................................... 100
SCPI.CALCulate(Ch).SELected.RLIMit.REPort.DATA .................................................... 101
SCPI.CALCulate(Ch).SELected.RLIMit.STATe .................................................................. 102
SCPI.CALCulate(Ch).SELected.SMOothing.APERture .................................................. 103
SCPI.CALCulate(Ch).SELected.SMOothing.STATe ........................................................ 104
SCPI.CALCulate(Ch).SELected.TRANsform.TIME.CENTer .......................................... 105
SCPI.CALCulate(Ch).SELected.TRANsform.TIME.IMPulse.WIDTh ........................... 106
SCPI.CALCulate(Ch).SELected.TRANsform.TIME.KBESsel ......................................... 107
SCPI.CALCulate(Ch).SELected.TRANsform.TIME.LPFRequency .............................. 108
SCPI.CALCulate(Ch).SELected.TRANsform.TIME.REFLection.TYPE ....................... 109
SCPI.CALCulate(Ch).SELected.TRANsform.TIME.SPAN .............................................. 110
SCPI.CALCulate(Ch).SELected.TRANsform.TIME.STARt ............................................. 111
SCPI.CALCulate(Ch).SELected.TRANsform.TIME.STATe............................................. 112
SCPI.CALCulate(Ch).SELected.TRANsform.TIME.STEP.RTIMe ................................. 113
SCPI.CALCulate(Ch).SELected.TRANsform.TIME.STIMulus ....................................... 114
SCPI.CALCulate(Ch).SELected.TRANsform.TIME.STOP .............................................. 115
SCPI.CALCulate(Ch).SELected.TRANsform.TIME.TYPE ............................................... 116
SCPI.CALCulate(Ch).SELected.TRANsform.TIME.UNIT ............................................... 117
SCPI.CALCulate(Ch).TRACe(Tr).DATA.FDATa .................................................................. 118
SCPI.CALCulate(Ch).TRACe(Tr).DATA.FMEMory ............................................................ 119
SCPI.CALCulate(Ch). TRACe(Tr).DATA.SDATa ................................................................ 120
SCPI.CALCulate(Ch). TRACe(Tr).DATA.SMEMory ........................................................... 121
SCPI.DISPlay.ANNotation.FREQuency.STATe ................................................................ 122
SCPI.DISPlay.COLor.BACK ..................................................................................................... 123
SCPI.DISPlay.COLor.GRATicule ........................................................................................... 124
SCPI.DISPlay.COLor.RESet .................................................................................................... 125
SCPI.DISPlay.COLor.TRACe(Tr).DATA ................................................................................ 125
SCPI.DISPlay.COLor.TRACe(Tr).MEMory ........................................................................... 126
SCPI.DISPlay.FSIGn .................................................................................................................. 127
SCPI.DISPlay.IMAGe ................................................................................................................. 128
SCPI.DISPlay.MAXimize ......................................................................................................... 129
5
SCPI.DISPlay.SPLit ................................................................................................................... 130
SCPI.DISPlay.UPDate_.IMMediate ...................................................................................... 131
SCPI.DISPlay.WINDow(Ch).ACTivate ................................................................................. 131
SCPI.DISPlay.WINDow(Ch).ANNotation.MARKer.ALIGn.TYPE .................................. 132
SCPI.DISPlay.WINDow(Ch).ANNotation.MARKer.SINGle.STATe ............................. 133
SCPI.DISPlay.WINDow(Ch).MAXimize ............................................................................... 133
SCPI.DISPlay.WINDow(Ch).SPLit ......................................................................................... 134
SCPI.DISPlay.WINDow(Ch).TITLe.DATA ........................................................................... 135
SCPI.DISPlay.WINDow(Ch).TITLe.STATe .......................................................................... 136
SCPI.DISPlay.WINDow(Ch).TRACe(Tr).ANNotation.MARKer.MEMory .................... 136
SCPI.DISPlay.WINDow(Ch).TRACe(Tr).ANNotation.MARKer.POSition.X .............. 137
SCPI.DISPlay.WINDow(Ch).TRACe(Tr).ANNotation.MARKer.POSition.Y ............... 138
SCPI.DISPlay.WINDow(Ch).TRACe(Tr).MEMory. STATe .............................................. 139
SCPI.DISPlay.WINDow(Ch).TRACe(Tr).STATe ................................................................. 140
SCPI.DISPlay.WINDow(Ch).TRACe(Tr).Y.SCALe.AUTO ................................................. 141
SCPI.DISPlay.WINDow(Ch).TRACe(Tr).Y.SCALe.PDIVision ......................................... 142
SCPI.DISPlay.WINDow(Ch).TRACe(Tr).Y.SCALe.RLEVel .............................................. 143
SCPI.DISPlay.WINDow(Ch).TRACe(Tr).Y.SCALe.RPOSition ........................................ 144
SCPI.DISPlay.WINDow(Ch).Y.SCALe.DIVisions ............................................................... 145
SCPI.HCOPy.ABORt .................................................................................................................. 146
SCPI.HCOPy.DATE.STAMp ..................................................................................................... 146
SCPI.HCOPy.IMAGe .................................................................................................................. 147
SCPI.HCOPy.IMMediate .......................................................................................................... 147
SCPI.HCOPy.PAINt .................................................................................................................... 148
SCPI.IEEE4882.CLS .................................................................................................................. 149
SCPI.IEEE4882.IDN .................................................................................................................. 150
SCPI.IEEE4882.RST .................................................................................................................. 150
SCPI.IEEE4882.TRG .................................................................................................................. 151
SCPI.IEEE4882.WAI .................................................................................................................. 151
SCPI.INITiate.CONTinuous .................................................................................................... 152
SCPI.INITiate.IMMediate ........................................................................................................ 153
SCPI.MMEMory.COPY(Src, Dst) ............................................................................................. 153
SCPI.MMEMory.DELete(File) ................................................................................................. 154
SCPI.MMEMory.LOAD.CHANnel.STATe ............................................................................ 154
SCPI.MMEMory.LOAD.CKIT(Ck) ............................................................................................ 155
SCPI.MMEMory.LOAD.CALibration ..................................................................................... 156
SCPI.MMEMory.LOAD.LIMit .................................................................................................. 157
SCPI.MMEMory.LOAD.RLIMit ............................................................................................... 158
SCPI.MMEMory.LOAD.SEGMent .......................................................................................... 159
SCPI.MMEMory.LOAD.SNP.DATA ........................................................................................ 160
SCPI.MMEMory.LOAD.SNP.TRACe(Tr).MEMory ............................................................. 161
SCPI.MMEMory.LOAD.STATe ................................................................................................ 162
SCPI.MMEMory.MDIRectory .................................................................................................. 163
SCPI.MMEMory.STORe.CHANnel.CLEar............................................................................ 163
SCPI.MMEMory.STORe.CHANnel.STATe .......................................................................... 164
SCPI.MMEMory.STORe.CKIT(Ck).......................................................................................... 165
6
SCPI.MMEMory.STORe.CALibration ................................................................................... 166
SCPI.MMEMory.STORe.FDATa ............................................................................................. 167
SCPI.MMEMory.STORe.IMAGe ............................................................................................. 168
SCPI.MMEMory.STORe.LIMit ................................................................................................ 169
SCPI.MMEMory.STORe.RLIMit ............................................................................................. 170
SCPI.MMEMory.STORe.SEGMent ........................................................................................ 171
SCPI.MMEMory.STORe.SNP.DATA ...................................................................................... 172
SCPI.MMEMory.STORe.SNP.FORMat ................................................................................. 173
SCPI.MMEMory.STORe.SNP.TYPE.S1P .............................................................................. 174
SCPI.MMEMory.STORe.SNP.TYPE.S2P .............................................................................. 175
SCPI.MMEMory.STORe.STATe .............................................................................................. 176
SCPI.MMEMory.STORe.STYPe .............................................................................................. 177
SCPI.OUTPut.STATe ................................................................................................................. 178
SCPI.SENSe(Ch).AVERage.CLEar .......................................................................................... 178
SCPI.SENSe(Ch).AVERage.COUNt ....................................................................................... 179
SCPI.SENSe(Ch).AVERage.CURRent ................................................................................... 180
SCPI.SENSe(Ch).AVERage.STATe ........................................................................................ 180
SCPI.SENSe(Ch).BANDwidth.RESolution .......................................................................... 181
SCPI.SENSe(Ch).CORRection.CLEar.................................................................................... 182
SCPI.SENSe(Ch).CORRection.COEFficient.DATA(Str, Pt_r, Pt_s) ............................... 183
SCPI.SENSe(Ch).CORRection.COEFficient.METHod.ERESponse ............................. 184
SCPI.SENSe(Ch).CORRection.COEFficient.METHod.RESPonse.OPEN ................... 185
SCPI.SENSe(Ch).CORRection.COEFficient.METHod.RESPonse.SHORt ................. 185
SCPI.SENSe(Ch).CORRection.COEFficient.METHod.RESPonse.THRU ................... 186
SCPI.SENSe(Ch).CORRection.COEFficient.METHod.SOLT1 ...................................... 187
SCPI.SENSe(Ch).CORRection.COEFficient.SAVE ............................................................ 188
SCPI.SENSe(Ch).CORRection.COLLect.ACQuire.LOAD ................................................ 189
SCPI.SENSe(Ch).CORRection.COLLect.ACQuire.OPEN ................................................ 190
SCPI.SENSe(Ch).CORRection.COLLect.ACQuire.SHORt .............................................. 191
SCPI.SENSe(Ch).CORRection.COLLect.ACQuire.THRU ................................................ 192
SCPI.SENSe(Ch).CORRection.COLLect.CKIT.LABel ....................................................... 193
SCPI.SENSe(Ch).CORRection.COLLect.CKIT.RESet ...................................................... 194
SCPI.SENSe(Ch).CORRection.COLLect.CKIT.SELect ..................................................... 195
SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).C0 ........................................ 196
SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).C1 ........................................ 197
SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).C2 ........................................ 198
SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).C3 ........................................ 199
SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).DELay ................................. 200
SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).L0 ........................................ 201
SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).L1 ........................................ 202
SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).L2 ........................................ 203
SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).L3 ........................................ 204
SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).LABel ................................. 205
SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).LOSS .................................. 206
SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).TYPE ................................... 207
SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).Z0 ........................................ 208
7
SCPI.SENSe(Ch).CORRection.COLLect.CLEar ................................................................. 208
SCPI.SENSe(Ch).CORRection.COLLect.DATA.LOAD(Pt) .............................................. 209
SCPI.SENSe(Ch).CORRection.COLLect.DATA.OPEN(Pt) .............................................. 210
SCPI.SENSe(Ch).CORRection.COLLect.DATA.SHORt(Pt) ............................................. 211
SCPI.SENSe(Ch).CORRection.COLLect.DATA.THRU.MATCh (Pt_r, Pt_s) ................ 212
SCPI.SENSe(Ch).CORRection.COLLect.DATA.THRU. TRANsmission (Pt_r, Pt_s) 213
SCPI.SENSe(Ch).CORRection.COLLect.ECAL.INFormation ........................................ 214
SCPI.SENSe(Ch).CORRection.COLLect.ECAL.CHECK.Execute .................................. 215
SCPI.SENSe(Ch).CORRection.COLLect.ECAL.ORIenation.Execute ......................... 215
SCPI.SENSe(Ch).CORRection.COLLect.ECAL.ORIenation.STATe ............................. 216
SCPI.SENSe(Ch).CORRection.COLLect.ECAL.PATH(Pt) ................................................ 217
SCPI.SENSe(Ch).CORRection.COLLect.ECAL.SOLT1 .................................................... 218
SCPI.SENSe(Ch).CORRection.COLLect.ECAL.SOLT2 .................................................... 219
SCPI.SENSe(Ch).CORRection.COLLect.ECAL.UCHar ..................................................... 220
SCPI.SENSe(Ch).CORRection.COLLect.METHod.ERESponse .................................... 221
SCPI.SENSe(Ch).CORRection.COLLect.METHod.RESPonse.OPEN .......................... 222
SCPI.SENSe(Ch).CORRection.COLLect.METHod.RESPonse.SHORt ........................ 223
SCPI.SENSe(Ch).CORRection.COLLect.METHod.RESPonse.THRU .......................... 224
SCPI.SENSe(Ch).CORRection.COLLect.METHod.SOLT1 ............................................. 225
SCPI.SENSe(Ch).CORRection.COLLect.METHod.TYPE ................................................ 226
SCPI.SENSe(Ch).CORRection.COLLect.SAVE................................................................... 227
SCPI.SENSe(Ch).CORRection.EXTension.PORT(Pt).FREQuency(Ls)........................ 228
SCPI.SENSe(Ch).CORRection.EXTension.PORT(Pt).INCLude(Ls).STATe ............... 229
SCPI.SENSe(Ch).CORRection.EXTension.PORT(Pt).LDC ............................................. 230
SCPI.SENSe(Ch).CORRection.EXTension.PORT(Pt).LOSS(Ls) .................................... 231
SCPI.SENSe(Ch).CORRection.EXTension.PORT(Pt).TIME ........................................... 232
SCPI.SENSe(Ch).CORRection.EXTension.STATe ............................................................ 233
SCPI.SENSe(Ch).CORRection.IMPedance.INPut.MAGNitude .................................... 234
SCPI.SENSe(Ch).CORRection.STATe .................................................................................. 235
SCPI.SENSe(Ch).CORRection.TRANsform.TIME.FREQuency ..................................... 236
SCPI.SENSe(Ch).CORRection.TRANsform.TIME.LOSS ................................................. 237
SCPI.SENSe(Ch).CORRection.TRANsform.TIME.RVELocity ....................................... 238
SCPI.SENSe(Ch).CORRection.TRANsform.TIME.STATe ............................................... 239
SCPI.SENSe(Ch).CORRection.TYPE(Tr) .............................................................................. 240
SCPI.SENSe(Ch).FREQuency.CENTer ................................................................................. 241
SCPI.SENSe(Ch).FREQuency.CW .......................................................................................... 242
SCPI.SENSe(Ch).FREQuency.DATA ..................................................................................... 243
SCPI.SENSe(Ch).FREQuency.SPAN ..................................................................................... 244
SCPI.SENSe(Ch).FREQuency.STARt .................................................................................... 245
SCPI.SENSe(Ch).FREQuency.STOP ..................................................................................... 246
SCPI.SENSe(Ch).OFFSet.ADJust.CONTinuous.PERiod ................................................. 247
SCPI.SENSe(Ch).OFFSet.ADJust.CONTinuous.STATe ................................................... 248
SCPI.SENSe(Ch).OFFSet.ADJust.EXECute ......................................................................... 248
SCPI.SENSe(Ch).OFFSet.ADJust.PORT ............................................................................... 249
SCPI.SENSe(Ch).OFFSet.ADJust.STATe ............................................................................. 250
SCPI.SENSe(Ch).OFFSet.ADJust.Value ............................................................................... 251
8
SCPI.SENSe(Ch).OFFSet.PORT(Pt).FREQuency.DATA .................................................. 252
SCPI.SENSe(Ch).OFFSet.PORT(Pt).FREQuency.DIVisor .............................................. 253
SCPI.SENSe(Ch).OFFSet.PORT(Pt).FREQuency.MULTiplier ....................................... 254
SCPI.SENSe(Ch).OFFSet.PORT(Pt).FREQuency.OFFSet .............................................. 255
SCPI.SENSe(Ch).OFFSet.PORT(Pt).FREQuency.STARt ................................................. 256
SCPI.SENSe(Ch).OFFSet.PORT(Pt).FREQuency.STOP .................................................. 257
SCPI.SENSe(Ch).OFFSet.STATe............................................................................................ 258
SCPI.SENSe(Ch).ROSCillator.SOURce ................................................................................ 259
SCPI.SENSe(Ch).SEGMent.DATA .......................................................................................... 260
SCPI.SENSe(Ch).SWEep.POINt.TIME .................................................................................. 261
SCPI.SENSe(Ch).SWEep.POINts ........................................................................................... 262
SCPI.SENSe(Ch).SWEep.REVerse.STATe ........................................................................... 263
SCPI.SENSe(Ch).SWEep.TYPE ............................................................................................... 264
SCPI.SENSe(Ch).VVM.DATA ................................................................................................... 265
SCPI.SENSe(Ch).VVM.FORMat .............................................................................................. 266
SCPI.SENSe(Ch).VVM.FREQuency.CW ................................................................................ 267
SCPI.SENSe(Ch).VVM.REFerence.CLEar ............................................................................ 267
SCPI.SENSe(Ch).VVM.REFerence.MEMorize .................................................................... 268
SCPI.SENSe(Ch).VVM.REFerence.DATA? .......................................................................... 268
SCPI.SENSe(Ch).VVM.TABLe.CLEar..................................................................................... 269
SCPI.SENSe(Ch).VVM.TABLe.DATA ..................................................................................... 269
SCPI.SENSe(Ch).VVM.TABLe.INSert(Index) ..................................................................... 270
SCPI.SENSe(Ch).VVM.TABLe.MEMorize ............................................................................ 270
SCPI.SENSe(Ch).VVM.TABLe.REMove(Index) .................................................................. 271
SCPI.SENSe(Ch).VVM.TABLe.SAVE(Name) ....................................................................... 271
SCPI.SENSe(Ch).VVM.DISPlay.RESolution ....................................................................... 272
SCPI.SENSe(Ch).VVM.DISPlay.FONT.SIZE ........................................................................ 272
SCPI.SENSe(Ch).VVM.TYPE .................................................................................................... 273
SCPI.SERVice.CHANnel.ACTive ............................................................................................ 274
SCPI.SERVice.CHANnel.COUNt ............................................................................................ 274
SCPI.SERVice.CHANnel(Ch).TRACe.ACTive ..................................................................... 275
SCPI.SERVice.CHANnel.TRACe.COUNt ............................................................................. 275
SCPI.SERVice.PORT.COUNt ................................................................................................... 276
SCPI.SERVice.SWEep.FREQency.MAXimum ................................................................... 276
SCPI.SERVice.SWEep.FREQency.MINimum ..................................................................... 277
SCPI.SERVice.SWEep.POINts ................................................................................................ 277
SCPI.SOURce(Ch).POWer.CENTer ....................................................................................... 278
SCPI.SOURce(Ch).POWer.LEVel.IMMediate.AMPLitude ............................................. 279
SCPI.SOURce(Ch).POWer.LEVel.SLOPe.DATA ................................................................ 280
SCPI.SOURce(Ch).POWer.PORT(Pt).CORRection.DATA ............................................... 281
SCPI.SOURce(Ch).POWer.PORT(Pt).CORRection.STATe ............................................. 282
SCPI.SOURce(Ch).POWer.SPAN ........................................................................................... 283
SCPI.SOURce(Ch).POWer.STARt .......................................................................................... 284
SCPI.SOURce(Ch).POWer.STOP ........................................................................................... 285
SCPI.STATus.OPERation.CONDition .................................................................................. 286
SCPI.STATus.OPERation.ENABle ........................................................................................ 286
9
SCPI.STATus.OPERation.EVENt ........................................................................................... 287
SCPI.STATus.OPERation.NTRansition ............................................................................... 287
SCPI.STATus.OPERation.PTRansition ............................................................................... 288
SCPI.STATus.PRESet ................................................................................................................ 288
SCPI.STATus.QUEStionable.CONDition ........................................................................... 289
SCPI.STATus.QUEStionable.ENABle .................................................................................. 289
SCPI.STATus.QUEStionable.EVENt .................................................................................... 290
SCPI.STATus.QUEStionable.LIMit.CHANnel(Ch).CONDition ..................................... 290
SCPI.STATus.QUEStionable.LIMit.CHANnel(Ch).ENABle ........................................... 291
SCPI.STATus.QUEStionable.LIMit.CHANnel(Ch).EVENt .............................................. 291
SCPI.STATus.QUEStionable.LIMit.CHANnel(Ch).NTRansition ................................. 292
SCPI.STATus.QUEStionable.LIMit.CHANnel(Ch).PTRansition .................................. 293
SCPI.STATus.QUEStionable.LIMit.CONDition ................................................................ 294
SCPI.STATus.QUEStionable.LIMit.ENABle ...................................................................... 294
SCPI.STATus.QUEStionable.LIMit.EVENt ......................................................................... 295
SCPI.STATus.QUEStionable.LIMit.NTRansition ............................................................. 295
SCPI.STATus.QUEStionable.LIMit.PTRansition ............................................................. 296
SCPI.STATus.QUEStionable.NTRansition ........................................................................ 297
SCPI.STATus.QUEStionable.PTRansition ......................................................................... 298
SCPI.STATus.QUEStionable.RLIMit.CHANnel(Ch).CONDition .................................. 299
SCPI.STATus.QUEStionable.RLIMit.CHANnel(Ch).ENABle ........................................ 300
SCPI.STATus.QUEStionable.RLIMit.CHANnel(Ch).EVENt ........................................... 301
SCPI.STATus.QUEStionable.RLIMit.CHANnel(Ch).NTRansition .............................. 302
SCPI.STATus.QUEStionable.RLIMit.CHANnel(Ch).PTRansition ............................... 303
SCPI.STATus.QUEStionable.RLIMit.CONDition ............................................................. 304
SCPI.STATus.QUEStionable.RLIMit.ENABle .................................................................... 304
SCPI.STATus.QUEStionable.RLIMit.EVENt ...................................................................... 305
SCPI.STATus.QUEStionable.RLIMit.NTRansition .......................................................... 305
SCPI.STATus.QUEStionable.RLIMit.PTRansition .......................................................... 306
SCPI.SYSTem.COMMunicate.ECAL.TEMPerature.SENSor.......................................... 307
SCPI.SYSTem.CORRection.STATe ....................................................................................... 308
SCPI.SYSTem.DATE .................................................................................................................. 309
SCPI.SYSTem.HIDe ................................................................................................................... 309
SCPI.SYSTem.LOCal ................................................................................................................. 310
SCPI.SYSTem.PRESet .............................................................................................................. 310
SCPI.SYSTem.REMote ............................................................................................................. 311
SCPI.SYSTem.RWLock ............................................................................................................. 311
SCPI.SYSTem.SHOw ................................................................................................................ 312
SCPI.SYSTem.TEMPerature.SENSor(Idx) .......................................................................... 312
SCPI.SYSTem.TERMinate ....................................................................................................... 313
SCPI.SYSTem.TIME................................................................................................................... 313
SCPI.TRIGger.SEQuence.EXTernal.Delay ......................................................................... 314
SCPI.TRIGger.SEQuence.EXTernal.POSition .................................................................. 315
SCPI.TRIGger.SEQuence.EXTernal.SLOPe ....................................................................... 316
SCPI.TRIGger.SEQuence.IMMediate .................................................................................. 317
SCPI.TRIGger.SEQuence.POINt............................................................................................ 318
10
SCPI.TRIGger.SEQuence.SINGle .......................................................................................... 319
SCPI.TRIGger.SEQuence.SOURce ....................................................................................... 320
SCPI.TRIGger.SEQuence.STATe ........................................................................................... 321
Appendix 1. Error Codes .......................................................................................... 322
Appendix 2. Programming Examples ..................................................................... 323
11

Introduction

TRVNA.exe /regserver
This Programming Manual contains information on remote control over Planar TR1300/1, TR5048 or TR7530 Vector Network Analyzer (Analyzer) and its data communication by means of user programs written with COM/DCOM technology.
COM technology is used when a user program runs together with an external measurement instrument program on one PC. DCOM technology is used when a user program runs on a PC connected with the measurement instrument by LAN.
Methods and techniques for writing of user programs are the same for both technologies. The only difference between the technologies is that the DCOM technology requires additional LAN setting performed by the LAN administrator.
Before reading this Manual, familiarize yourself with Analyzer Operating Manual.

1 Registering COM Server

To register COM server of the analyzer run the executable module from command prompt with the /regserver keyword. To unregister COM server of the analyzer run the executable module from command prompt with the /unregserver keyword. Administrative rights are required to register/unregister COM server. Also user has ability to register COM server during the software installation procedure.
Example of the COM server registration command:

2 COM Technology Overview

COM stands for Component Object Model. This programming technology was developed by Microsoft for two purposes:
the model provides the specification for interaction of binary modules created
in different programming languages;
the model defines the interfacing between a client application and a server
application running either on the same PC or on two different PCs. In the latter case, the technology has DCOM abbreviation – Distributed COM.
12

3 Automation Server

The network analyzer executable module contains a built-in COM server that enables other programs to access its functionality. The COM server was developed in conformity with the COM automation specification. COM automation is a technology allowing control over the COM server by the programs written in both traditional compiling programming languages and interpreting programming languages, such as VBScript. This enables the server applications to make their functionality accessible to many more clients.

4 Automation Controllers

Automation controllers are client programs, which use internal functionality of COM servers. Automation controller programs are developed by users for writing their own additions for the system.
User programs can be written in different languages:
programming languages with built-in COM support, such as Visual Basic®,
Delphi, Java;
universal programming languages, such as C, C++; Microsoft Excel and Word office applications as they include built-in
programming language Visual Basic for Applications®;
program generators, such as National Instruments LabView®, or HP–VEE.
Examples represented in this Manual are written in Visual Basic (VB). Appendix 2 contains examples written in VB, and C++ languages.
Examples\COM\VBA folder contains source codes for examples written in Visual Basic for Applications® (Microsoft Excel files).
Examples\COM\CPP folder contains source codes for the C++ language examples.
13

5 Local and Remote Server

The network analyzer executable module can function either as a local server or as a remote server of COM automation.
Local server runs on the same PC with the automation controller and each of the programs is executed as an individual application in a separate window. COM technology is used in this case (Figure 1).
Remote server and the automation controller run on different PCs connected by LAN. DCOM (Distributed COM) technology is used in this case (Figure 2). When using DCOM it is necessary to configure the local network by means of DCOM Windows tools.
The same automation controller is used for the both COM and DCOM technology. Some changes to the user program may be required in operators, which establish connection with the server. Moreover, DCOM technology requires additional settings of the LAN performed by the LAN administrator.
Figure 1. COM technology
Figure 2. DCOM technology
14

6 Structure of COM Objects

Note
The hierarchy of COM objects is organized in accordance with the standard and syntax of the SCPI programming language. Operators in SCPI have hierarchical chain structure, for example:
CALCulate:PARameter:DEFine S11
The same COM command written in VB programming language is as follows:
app.SCPI.CALCulate.PARameter.DEFine = "S11"
Application
CALCulate
DISPlay
INITiate
IEEE4882
SENSe
SYSTem
SOURce
MMEMory
SCPI
TRIGer
OUTPut
HCOPy
SERVice
COM server contains several objects, which provide different functionality of the server. The COM objects of the network analyzer executable module are organized in a hierarchical structure. Figure 3 shows the main COM objects, which comprise the first three levels of the hierarchical structure of the COM server. COM objects provide various methods and properties, which allow access to the server functions; besides, they allow access to the objects of the lower levels, which are not shown in Figure 3.
Figure 3. The structure of COM objects
The Object Application is in the top of the hierarchy COM server. Access to the lower level objects is implemented via higher level objects.
Dim app
Dim app as Object
Dim app as TR1300.Application
Dim app as TRVNA.Application
ObjectName
Automation object name is always equal to
TR1300.Application, TRVNA.Application
HostName
Network name of the PC hosting the COM server. This parameter is not specified in case of a local server.
Set app = CreateObject("TRVNA.Application")
Set app = CreateObject("TRVNA.Application", "Network_Name")
Set app = CreateObject("TRVNA.Application", "192.168.10.10")
Note
The first form of the operator is used to create the reference to the local COM server, the second one is used to create the reference to the remote DCOM server.

7 Accessing the Application Object

To establish connection with the COM server application, create an object reference in the client program. In COM programming the object reference needs to be acquired preliminarily, to be used later to access the object functionality. To define an object in Visual Basic perform the following:
1) Declare a variable as an object;
2) Assign the object to this variable.
To declare a variable, use Dim operator or other declaration statement (Public,
Private or Static). The variables used for references should be of the types Variant, Object, or a type of a specific object. For example, the following three operators
declare app variable:
Use Set operator and CreateObject (ObjectName, HostName) function to assign a specific object to a variable.
For example, the following operators create Application object and assign it to app variable:
Accessing the Application Object
16
Dim SystObj
Set SystObj = app.SCPI.SYSTem
Set SensObj1 = app.SCPI.SENSe(1)
Set SensObj2 = app.SCPI.SENSe(2)
Set SensObj = app.SCPI.SENSe(1)
Set SensObj = app.SCPI.SENSe
To allow access to the objects of a lower level of the hierarchy, these objects are specified after the reference to the higher level object and separated from it by a dot. For example:
COM objects can have indices. For example, CALCulate, INITiate, SENSe, SOURce objects represent various aspects of the 4 measurement channels of the Analyzer. Therefore, it is necessary to write the channel index from 1 to 4 to acquire the data of these objects. For example:
Visual Basic allows omitting of such indices; in this case the indices are considered as equal to 1. For example, the following VB operators are equivalent:
app.SCPI.SYSTem.PRESet
app.SCPI.SENSe.SWEp.POINts = 201
Note
Some object properties cannot be written, and some object properties cannot be read. In such cases, the properties are indicated as “read only” or “write only”.

8 Object Methods

Objects have methods. Methods are actions that can be applied to objects. The object methods are specified after the object name and separated from it by a dot.
The following example shows the PRESet method of SYSTem object. This method performs setting of the Analyzer to the preset condition:

9 Object Properties

Along with methods, objects have properties. Properties are object characteristics that can be set or read out. The object properties are specified after the object name and separated from it by a dot.
To modify an object characteristic, write the value of the corresponding property. To define an object characteristic, read out the value of its property. The following example show the setting of the POINts property of SWEep object, i.e. the number of sweep points:
app.SCPI.PARameter.DEFine = "S13"
Dim app
Public Sub HandleError1()
Set app = CreateObject("TRVNA.Application")
On Error Resume Next
app.SCPI.PARameter.DEFine = "S13"
If Err.Number <> 0 Then
Msg = "Error # " & Str(Err.Number) & " was generated by " &_
Err.Source & Chr(13) & Err.Description
MsgBox Msg,,"Error"
End If
...
End Sub

10 Error Handling

You can use different approaches to error handling in VB program:
check the value of Err.Number variable after execution of VB operator, which
contains the call to COM server object;
use On Error GoTo VB operator.
These approaches are represented in the examples below. The following operator causes an error in VB program as "S13" value of the DEFine property is incorrect.
In the first example, the value of the Err.Number variable is checked after execution of the VB operator, which contains the call to COM server object. On Error Resume Next directive instructs VB not to interrupt the program execution when the error is detected but to pass control to the next operator in natural order.
Error Handling
19
Dim app
Public Sub HandleError2()
Set app = CreateObject("TRVNA.Application")
On Error GoTo ErrHandler
app.SCPI.PARameter.DEFine = "S13"
...
Exit Sub
ErrHandler:
Msg = "Error # " & Str(Err.Number) & " was generated by " &_
Err.Source & Chr(13) & Err.Description
MsgBox Msg,,"Error"
End Sub
In the second example, On Error GoTo ErrHandler directive instructs VB to interrupt the program execution when the error is detected and to pass control to ErrHandler label.
Long
32-bit signed integer, value range from –2147483648 to 2147483647
Double
64-bit double-precision floating point, value range from –1.79769313486232E308 to –4.94065645841247E–324 for negative values, and from 4.94065645841247E–324 to
1.79769313486232E308 for positive values
Boolean
16-bit integer, two values 0 – False, 1 – True
String
Variable-length string
Variant
Can be either a value of arbitrary type or an array of values of
arbitrary type. In this case, the term “arbitrary type” means any
allowed type of COM automation. A variable contains information about its type and array size (if it is an array). It is used for communication of data arrays between a client and a server.

11 COM Automation Data Types

In COM automation, there are the following data types, which can be used for client-to-server communication:
Measurement
1
Measurement
2
Measurement
N
Real
Imag
Real
Imag
Real
Imag
Measurement
1
Measurement
2
Measurement
N
Value
0
Value 0 …
Value
0

12 Measurement Data Arrays

Measurement data can be either complex values or real values. This depends on the format selected by the user. For example, the data is real in logarithmic magnitude format and the data is complex in polar format.
The measurement data is transferred in a Variant type variable, which represents an array of Double type. To transfer one complex measurement, two adjacent array cells are used. To transfer one real measurement two adjacent array cells are used as well but the second cell is always equal to 0. Thus, measurement data array size is a double number of the measurement points.
Figure 4. Array of complex measurements
Figure 5. Array of real measurements
Object Type
Property (read only)
Data Type
String
Description
Instrument information string. String format: manufacturer, model, serial number, number of firmware version and number of software version.
Range
up to 40 characters
Syntax
Dim ID As String ID = app.NAME
Equivalent Softkeys
None
Object Type
Property (read only)
Data Type
Boolean
Description
Ready state of the instrument. Reads out the True value after successful completion of the boot process (about 10 sec). The vector analyzer must be connected to PC by a USB cable.
Syntax
Dim State as Boolean State = app.Ready
Equivalent Softkeys
None

13 COM Server Commands

NAME

Ready

COM Server Commands
23
Object Type
Method
Description
Aborts the sweep. Switches trigger mode from Single to Hold, or from Continuous to waiting for a trigger. If the trigger source is set to Internal,
starts a new sweep.
Syntax
app.SCPI.ABORt
Equivalent Softkeys
None
Object Type
Property (read/write)
Data Type
String
Target
Port Pt of channel Ch,
Ch
channel number 1–9 (see Table 1)
Pt
port number 1–2 (see Table 2)
Description
De-embedding function file name (*.s2p). The file contains the circuit S– parameters in Touchstone format.
Range
up to 256 characters
Preset Value
""
Syntax
Dim File As String File = app.SCPI.CALCulate(Ch).FSIMulator.SENDed.DEEMbed. PORT(Pt).USER.FILename
app.SCPI.CALCulate(Ch).FSIMulator.SENDed.DEEMbed. PORT(Pt).USER.FILename = "network.s2p"
Notes
If the full path to the file is not specified, the \FixtureSim subdirectory of the main directory will be searched for the file.
Equivalent Softkeys
Analysis > Fixture Simulator > De–Embedding > S–parameters File

SCPI.ABORt

SCPI.CALCulate(Ch).FSIMulator.SENDed.DEEMbed.PORT(Pt).USER. FILename

24
Table 1. Ch: Channel Number
Data Type
Long
Description
Channel number.
Range
from 1 to 4
Out of Range
An error occurs. Error code: 201.
Data Type
Long
Description
Port number.
Range
from 1 to 2
Out of Range
An error occurs. Error code: 114.
Table 2. Pt: Port Number
COM Server Commands
COM Server Commands
25
Object Type
Property (read/write)
Data Type
Boolean
Target
Port Pt of channel Ch,
Ch
channel number 1–9 (see Table 1)
Pt
port number 1–2 (see Table 2)
Description
The ON/OFF state of the e-embedding function.
Allowable Values
True
De-embedding function ON
False
De-embedding function OFF
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).FSIMulator.SENDed.DEEMbed.PO RT(Pt).STATe app.SCPI.CALCulate(Ch).FSIMulator.SENDed.DEEMbed.PO RT(Pt).STATe = True
Equivalent Softkeys
Analysis > Fixture Simulator > De–Embedding > Port n

SCPI.CALCulate(Ch).FSIMulator.SENDed.DEEMbed.PORT(Pt).STATe

COM Server Commands
26
Object Type
Property (read/write)
Data Type
String
Target
Port Pt of channel Ch,
Ch
channel number 1–9 (see Table 1)
Pt
port number 1–2 (see Table 2)
Description
Embedding function file name (*.s2p). The file contains the circuit S– parameters in Touchstone format.
Range
up to 256 characters
Preset Value
""
Syntax
Dim File As String File = app.SCPI.CALCulate(Ch).FSIMulator.SENDed.PMCircuit. PORT(Pt).USER.FILename
app.SCPI.CALCulate(Ch).FSIMulator.SENDed.PMCircuit. PORT(Pt).USER.FILename = "network.s2p"
Notes
If the full path to the file is not specified, the \FixtureSim subdirectory of the main directory will be searched for the file.
Equivalent Softkeys
Analysis > Fixture Simulator > Embedding > User File

SCPI.CALCulate(Ch).FSIMulator.SENDed.PMCircuit.PORT(Pt).USER. FILename

COM Server Commands
27
Object Type
Property (read/write)
Data Type
Boolean
Target
Port Pt of channel Ch,
Ch
channel number 1–9 (see Table 1)
Pt
port number 1–2 (see Table 2)
Description
The ON/OFF state of the embedding function.
Allowable Values
True
Embedding function ON
False
Embedding function OFF
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).FSIMulator.SENDed.DEEMbed. PORT(Pt).STATe app.SCPI.CALCulate(Ch).FSIMulator.SENDed.DEEMbed. PORT(Pt).STATe = True
Equivalent Softkeys
Analysis > Fixture Simulator > Embedding > Port n

SCPI.CALCulate(Ch).FSIMulator.SENDed.PMCircuit.PORT(Pt).STATe

COM Server Commands
28
Object Type
Property (read/write)
Data Type
Double
Target
Port Pt of channel Ch,
Ch
channel number 1–9 (see Table 1)
Pt
port number 1–2 (see Table 2)
Description
The value of the impedance for port impedance conversion function.
Range
from 1e–6 to 1e6
Out of Range
Sets the value of the limit, which is closer to the specified value.
Preset Value
50
Unit
Ω (Ohm)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).FSIMulator.SENDed. ZCONversion.PORT(Pt).Z0.R app.SCPI.CALCulate(Ch).FSIMulator.SENDed. ZCONversion.PORT(Pt).Z0.R = 75
Equivalent Softkeys
Analysis > Fixture Simulator > Port Z Conversion > Port n Z0

SCPI.CALCulate(Ch).FSIMulator.SENDed.ZCONversion.PORT(Pt).Z0.R

COM Server Commands
29
Object Type
Property (read/write)
Data Type
Boolean
Target
Channel Ch, Ch channel number 1–9 (see Table 1)
Description
The ON/OFF state of the port impedance conversion function.
Allowable Values
True
Port Z conversion function ON
False
Port Z conversion function OFF
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).FSIMulator.SENDed. ZCONversion.STATe app.SCPI.CALCulate(Ch).FSIMulator.SENDed. ZCONversion.STATe = True
Equivalent Softkeys
Analysis > Fixture Simulator > Port Z Conversion > Port Z Conversion

SCPI.CALCulate(Ch).FSIMulator.SENDed.ZCONversion.STATe

30

SCPI.CALCulate(Ch).PARameter.COUNt

Object Type
Property (read/write)
Data Type
Long
Target
Channel Ch, Ch channel number 1–9 (see Table 1)
Description
The number of traces in the channel.
Range
from 1 to 8
Out of Range
Sets the value of the limit, which is closer to the specified value.
Preset Value
1
Syntax
Dim TraceNum As Long TraceNum = app.SCPI.CALCulate(Ch).PARameter.COUNt app.SCPI.CALCulate(Ch).PARameter.COUNt = 2
Equivalent Softkeys
None
COM Server Commands
31

SCPI.CALCulate(Ch).PARameter(Tr).DEFine

Object Type
Property (read/write)
Data Type
String
Target
Trace Tr of channel Ch,
Ch
channel number 1–9 (see Table 1)
Tr
trace number 1–8 (see Table 3)
Description
The measurement parameter of the trace.
Allowable Values
"S11"
S11 parameter
"S21"
S21 parameter
"A"
Abs A parameter
"B"
Abs B parameter
"R"
Abs R parameter
Out of Range
An error occurs.
Preset Value
Depends on the trace number.
Tr 1, Tr 3, Tr 5, Tr 7
"S11"
Tr 2, Tr 4, Tr 6, Tr 8
"S21"
Syntax
Dim Meas As String Meas = app.SCPI.CALCulate(Ch).PARameter(Tr).DEFine app.SCPI.CALCulate(Ch).PARameter(Tr).DEFine = "S11"
Equivalent Softkeys
Response > Measurement > S11 | S21
COM Server Commands
32
Table 3. Tr: Trace Number
Data Type
Long
Description
Trace number
Range
from 1 to 8
Out of Range
An error occurs. Error code: 202.
Notes
If the trace number is not specified, it is taken as equal to 1.
Object Type
Method
Target
Trace Tr of channel Ch,
Ch
channel number 1–9 (see Table 1)
Tr
trace number 1–8 (see Table 3)
Description
Sets the active channel and trace.
Syntax
app.SCPI.CALCulate(Ch).PARameter(Tr).SELect
Notes
If the channel number is greater than the number of the channels displayed, an error occurs and the command is ignored. If the trace number is greater than the number of the traces displayed in the channel, an error occurs and the command is ignored.
Equivalent Softkeys
Channel > Active Channel Trace > Active Trace

SCPI.CALCulate(Ch).PARameter(Tr).SELect

COM Server Commands
33

SCPI.CALCulate(Ch).PARameter(Tr).SPORt

Object Type
Property (read/write)
Data Type
Long
Target
Trace Tr of channel Ch,
Ch
channel number 1–9 (see Table 1)
Tr
trace number 1–8 (see Table 3)
Description
The number of the source port for absolute measurements.
Range
From 1 to 2
Out of range
An error occurs..
Preset Value
1
Syntax
Dim StimPort As Long StimPort = app.SCPI.CALCulate(Ch).PARameter(Tr).SPORt app.SCPI.CALCulate(Ch).PARameter(Tr).SPORt = 1
Equivalent Softkeys
Response > Measurement > Abs A | Abs B | Abs R
COM Server Commands
COM Server Commands
34
Object Type
Property (read/write)
Data Type
String
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The S–parameter conversion function type.
Range
"IMPedance"
Reflection or Transmission equivalent impedance according to the trace measurement parameter (S11 or S21)
"ADMittance"
Reflection or Transmission equivalent admittance according to the trace measurement parameter (S11 or S21)
"INVersion"
Inverse S–parameter
"CONJugation"
S–parameter conjugate
Notes
The short format of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters.
Out of Range
An error occurs.
Preset Value
"IMP"
Syntax
Dim Param As String Param = app.SCPI.CALCulate(Ch).SELected.CONVersion.FUNCtion app.SCPI.CALCulate(Ch).SELected.CONVersion.FUNCtion = "INV"
Equivalent Softkeys
Analysis > Conversion > Function > Impedance Z | AdmittanceY | Inverse 1/S | Conjugation

SCPI.CALCulate(Ch).SELected.CONVersion.FUNCtion

35

SCPI.CALCulate(Ch).SELected.CONVersion.STATe

Object Type
Property (read/write)
Data Type
Boolean
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The ON/OFF state of the S-parameter conversion function.
Allowable Values
True
S–parameter conversion function ON
False
S–parameter conversion function OFF
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.CONVersion.STATe app.SCPI.CALCulate(Ch).SELected.CONVersion.STATe = True
Equivalent Softkeys
Analysis > Conversion > Conversion
COM Server Commands
COM Server Commands
36
Object Type
Property (read/write)
Data Type
Double
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The value of the electrical delay.
Range
from –10 to 10
Out of Range
Sets the value of the limit, which is closer to the specified value.
Preset Value
0
Unit
s (second)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.CORRection.EDELay. TIME app.SCPI.CALCulate(Ch).SELected.CORRection.EDELay. TIME = 1e–9
Equivalent Softkeys
Scale > Electrical Delay

SCPI.CALCulate(Ch).SELected.CORRection.EDELay.TIME

COM Server Commands
37
Object Type
Property (read/write)
Data Type
Double
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The value of the phase offset.
Range
from –360 to 360
Out of Range
Sets the value of the limit, which is closer to the specified value.
Preset Value
0
Unit
° (degree)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.CORRection.OFFSet. PHASe app.SCPI.CALCulate(Ch).SELected.CORRection.OFFSet. PHASe = 360
Equivalent Softkeys
Scale > Phase Offset

SCPI.CALCulate(Ch).SELected.CORRection.OFFSet.PHASe

38

SCPI.CALCulate(Ch).SELected.DATA.FDATa

Object Type
Property (read only)
Data Type
Variant (Double array)
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The formatted data array. The array elements contain measurements in the current format, for example, in logarithmic magnitude format (Log Mag). Also, see section 12. The array size is 2N, where N is the number of measurement points. For the n–th point, where n from 1 to N:
Data(2n–2)
real number in rectangular format, real part in polar and Smith chart formats;
Data(2n–1)
0 in rectangular format, imaginary part in polar and Smith chart formats.
Syntax
Dim Data As Variant Data = app.SCPI.CALCulate(Ch).SELected.DATA.FDATa
Equivalent Softkeys
None
COM Server Commands
39

SCPI.CALCulate(Ch).SELected.DATA.FMEMory

Object Type
Property (read only)
Data Type
Variant (Double array)
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The formatted memory array. The array elements contain saved measurements in the current format, for example, in logarithmic magnitude format (Log Mag). Also, see section 12. The array size is 2N, where N is the number of measurement points. For the n–th point, where n from 1 to N:
Data(2n–2)
real number in rectangular format, real part in polar and Smith chart formats;
Data(2n–1)
0 in rectangular format, imaginary part in polar and Smith chart formats.
Syntax
Dim Data As Variant Data = app.SCPI.CALCulate(Ch).SELected.DATA.FMEMory
Equivalent Softkeys
None
COM Server Commands
40

SCPI.CALCulate(Ch).SELected.DATA.SDATa

Object Type
Property (read only)
Data Type
Variant (Double array)
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The corrected data array. The corrected measurements are complex numbers. Also, see section 12. The array size is 2N, where N is the number of measurement points. For the n–th point, where n from 1 to N:
Data(2n–2)
the real part of corrected measurement;
Data(2n–1)
the imaginary part of corrected measurement.
Syntax
Dim Data As Variant Data = app.SCPI.CALCulate(Ch).SELected.DATA.SDATa
Equivalent Softkeys
None
Object Type
Property (read only)
Data Type
Variant (Double array)
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The corrected memory array. The corrected measurements are complex numbers. Also, see section 12. The array size is 2N, where N is the number of measurement points. For the n–th point, where n from 1 to N:
Data(2n–2)
the real part of corrected measurement memory;
Data(2n–1)
the imaginary part of corrected measurement memory.
Syntax
Dim Data As Variant Data = app.SCPI.CALCulate(Ch).SELected.DATA.SMEMory
Equivalent Softkeys
None
COM Server Commands

SCPI.CALCulate(Ch).SELected.DATA.SMEMory

COM Server Commands
41
Object Type
Property (read/write)
Data Type
Double
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The gate center value of the gating function.
Range
Varies depending on the frequency span and the number of points.
Out of Range
Sets the value of the limit, which is closer to the specified value.
Preset Value
0
Unit
s (seconds), m (meters) or ft (feet)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME. CENTer app.SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME. CENTer = 1e–8
Equivalent Softkeys
Analysis > Gating > Center

SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.CENTer

COM Server Commands
42
Object Type
Property (read/write)
Data Type
String
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The gate shape of the gating function.
Range
"MAXimum"
Maximum shape
"WIDE"
Wide shape
"NORMal"
Normal shape
"MINimum"
Minimum shape
Notes
The short format of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters.
Out of Range
An error occurs.
Preset Value
"NORM"
Syntax
Dim Param As String Param = app.SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME. SHAPe app.SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME. SHAPe = "MAX"
Equivalent Softkeys
Analysis > Gating > Shape > Maximum | Wide | Normal | Minimum

SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.SHAPe

COM Server Commands
43
Object Type
Property (read/write)
Data Type
Double
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The gate span value of the gating function.
Range
Varies depending on the frequency span and the number of points.
Out of Range
Sets the value of the limit, which is closer to the specified value.
Preset Value
2e–8
Unit
s (seconds), m (meters) or ft (feet)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME. SPAN app.SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME. SPAN = 1e–8
Equivalent Softkeys
Analysis > Gating > Span

SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.SPAN

COM Server Commands
44
Object Type
Property (read/write)
Data Type
Double
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The gate start value of the gating function.
Range
Varies depending on the frequency span and the number of points.
Out of Range
Sets the value of the limit, which is closer to the specified value.
Preset Value
1e8
Unit
s (seconds), m (meters) or ft (feet)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME. STARt app.SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME. STARt = 1e–7
Equivalent Softkeys
Analysis > Gating > Start

SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.STARt

COM Server Commands
45
Object Type
Property (read/write)
Data Type
Boolean
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The ON/OFF state of the gating function.
Allowable Values
True
Gating function ON
False
Gating function OFF
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME. STATe app.SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME. STATe = Status
Equivalent Softkeys
Analysis > Gating > Gating

SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.STATe

COM Server Commands
46
Object Type
Property (read/write)
Data Type
Double
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The gate stop value of the gating function.
Range
Varies depending on the frequency span and the number of points.
Out of Range
Sets the value of the limit, which is closer to the specified value.
Preset Value
1e–8
Unit
s (seconds), m (meters) or ft (feet)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME. STOP app.SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME. STOP = 1e–7
Equivalent Softkeys
Analysis > Gating > Stop

SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.STOP

COM Server Commands
47
Object Type
Property (read/write)
Data Type
String
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The gate type of the gating function.
Range
"BPASs"
Bandpass type
"NOTCh"
Notch type
Notes
The short format of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters.
Out of Range
An error occurs.
Preset Value
"BPAS"
Syntax
Dim Param As String Param = app.SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME. TYPE app.SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME. TYPE = "NOTC"
Equivalent Softkeys
Analysis > Gating > Type

SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.TYPE

48

SCPI.CALCulate(Ch).SELected.FORMat

Object Type
Property (read/write)
Data Type
String
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
Data format.
Range
"MLOGarithmic"
Logarithmic magnitude
"PHASe"
Phase
"GDELay"
Group delay time
"SLINear"
Smith chart format (Lin)
"SLOGarithmic"
Smith chart format (Log)
"SCOMplex"
Smith chart format (Real/Imag)
"SMITh"
Smith chart format (R + jX)
"SADMittance"
Smith chart format (G + jB)
"PLINear"
Polar format (Lin)
"PLOGarithmic"
Polar format (Log)
"POLar"
Polar format (Real/Imag)
"MLINear"
Linear magnitude
"SWR"
Voltage standing wave ratio
"REAL"
Real part
"IMAGinary"
Imaginary part
"UPHase"
Expanded phase
Notes
The short format of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters.
Out of Range
An error occurs.
Preset Value
"MLOG"
Syntax
Dim Param As String Param = app.SCPI.CALCulate(Ch).SELected.FORMat app.SCPI.CALCulate(Ch).SELected.FORMat = "PHAS"
Equivalent Softkeys
Response > Format > Log Mag | SWR | Phase | Expand Phase | Group Delay | Lin Mag | Real | Imag
Response > Format > Smith > Log / Phase | Lin / Phase | Real / Imag | R+jX | G+jB
Response > Format > Polar > Log / Phase | Ling / Phase | Real / Imag
COM Server Commands
49

SCPI.CALCulate(Ch).SELected.FUNCtion.DATA

Object Type
Property (read only)
Data Type
Variant (Double array)
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The data array of analysis executed by the SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute method. The array size is 2N, where N is the number of points defined by the SCPI.CALCulate(Ch).SELected.FUNCtion.POINts property. For the n–th point, where n from 1 to N:
Data(2n–2)
the response value in the n–th measurement point;
Data(2n–1)
the stimulus value in the n–th measurement point. Always set to 0 for the analysis of mean value, standard deviation, and peak–to–peak value.
Syntax
Dim Data As Variant Data = app.SCPI.CALCulate(Ch).SELected.FUNCtion.DATA
Equivalent Softkeys
None
COM Server Commands
COM Server Commands
50
Object Type
Property (read/write)
Data Type
Boolean
Target
All traces of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The ON/OFF coupling state of the analysis range for the SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute method.
Allowable Values
True
Coupling state ON
False
Coupling state OFF
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain. COUPle app.SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain. COUPle = Status
Equivalent Softkeys
None

SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.COUPle

COM Server Commands
51
Object Type
Property (read/write)
Data Type
Double
Target
All traces of channel Ch (if the coupling is set to OFF by the SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.COUPle
property), the active trace of channel Ch (if otherwise),
Ch channel number 1–9 (see Table 1)
Description
The start value of the analysis range set by the SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute method.
Range
From the stimulus current start value to the stimulus current stop value.
Out of Range
No limitation
Preset Value
0
Unit
Hz (Hertz) | s (second) | dBm (decibels above 1 milliwatt)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain. STARt app.SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain. STARt = 1e9
Equivalent Softkeys
None

SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.STARt

COM Server Commands
52
Object Type
Property (read/write)
Data Type
Boolean
Target
All traces of channel Ch (if the coupling is set to OFF by the SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.COUPle
property), the active trace of channel Ch (if otherwise),
Ch channel number 1–9 (see Table 1)
Description
The ON/OFF state of the arbitrary range when executing the analysis by the SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute method.
Allowable Values
True
Arbitrary range ON
False
Arbitrary range OFF (entire sweep range)
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain. STATe app.SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain. STATe = True
Equivalent Softkeys
None

SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.STATe

COM Server Commands
53
Object Type
Property (read/write)
Data Type
Double
Target
All traces of channel Ch (if the coupling is set to OFF by the SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.COUPle
property), the active trace of channel Ch (if otherwise),
Ch channel number 1–9 (see Table 1)
Description
The stop value of the analysis range set by the SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute method.
Range
From the stimulus current start value to the stimulus current stop value.
Out of Range
No limitation
Preset Value
0
Unit
Hz (Hertz) | s (second) | dBm (decibels above 1 milliwatt)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain. STOP app.SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain. STOP = 2e9
Equivalent Softkeys
None

SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.STOP

54

SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute

Object Type
Method
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
Executes the analysis specified with the SCPI.CALCulate(Ch).SELected.FUNCtion.TYPE property. The analysis result can then be read out with the SCPI.CALCulate(Ch).SELected.FUNCtion.DATA property.
Syntax
app.SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute
Equivalent Softkeys
None
COM Server Commands
COM Server Commands
55
Object Type
Property (read/write)
Data Type
Double
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The lower limit for the peak excursion value when executing the peak search by the SCPI.CALCulate(Ch).SELected.FUNCtion. EXECute method.
Range
Varies depending on the trace format.
Out of Range
No limitation
Preset Value
3
Unit
dB (decibel) | ° (degree) | s (second)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.FUNCtion.PEXCursion app.SCPI.CALCulate(Ch).SELected.FUNCtion.PEXCursion = 1.5
Equivalent Softkeys
None

SCPI.CALCulate(Ch).SELected.FUNCtion.PEXCursion

56

SCPI.CALCulate(Ch).SELected.FUNCtion.POINts

Object Type
Property (read only)
Data Type
Long
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The number of points (data pairs) of the analysis result by the SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute method. Always equal to 1, when the search is executed for the maximum, minimum, mean, standard deviation, peak, and peak–to–peak values. The actual number of points is read out, when the search is executed for all peaks or all targets.
Syntax
Dim Value As Long Value = app.SCPI.CALCulate(Ch).SELected.FUNCtion.POINts
Equivalent Softkeys
None
COM Server Commands
57

SCPI.CALCulate(Ch).SELected.FUNCtion.PPOLarity

Object Type
Property (read/write)
Data Type
String
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The polarity selection when performing the peak search by the SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute method.
Range
"POSitive"
Positive peaks
"NEGative"
Negative peaks
"BOTH"
Both positive peaks and negative peaks
Notes
The short format of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters.
Out of Range
The value is ignored.
Preset Value
"POS"
Syntax
Dim Param As String Param = app.SCPI.CALCulate(Ch).SELected.FUNCtion.PPOLarity app.SCPI.CALCulate(Ch).SELected.FUNCtion.PPOLarity = "NEG"
Equivalent Softkeys
None
COM Server Commands
58

SCPI.CALCulate(Ch).SELected.FUNCtion.TARGet

Object Type
Property (read/write)
Data Type
Double
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The target level when performing the search for the trace and the target level crosspoints by the SCPI.CALCulate(Ch).SELected. FUNCtion.EXECute method.
Range
Varies depending on the trace format.
Out of Range
No limitation
Preset Value
0
Unit
dB (decibel) | ° (degree) | s (second)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.FUNCtion.TARGet app.SCPI.CALCulate(Ch).SELected.FUNCtion.TARGet = – 10
Equivalent Softkeys
None
COM Server Commands
COM Server Commands
59
Object Type
Property (read/write)
Data Type
String
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The transition type selection when performing the search for the trace and the target level crosspoints by the SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute method.
Range
"POSitive"
Positive peaks
"NEGative"
Negative peaks
"BOTH"
Both positive peaks and negative peaks
Notes
The short format of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters.
Out of Range
The value is ignored.
Preset Value
"POS"
Syntax
Dim Param As String Param = app.SCPI.CALCulate(Ch).SELected.FUNCtion. TTRansition app.SCPI.CALCulate(Ch).SELected.FUNCtion. TTRansition = "BOTH"
Equivalent Softkeys
None

SCPI.CALCulate(Ch).SELected.FUNCtion.TTRansition

60

SCPI.CALCulate(Ch).SELected.FUNCtion.TYPE

Object Type
Property (read/write)
Data Type
String
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The selection of the type of analysis executed by the SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute method.
Range
"PTPeak"
Peak–to–peak (difference between the maximum value and the minimum value)
"STDEV"
Standard deviation
"MEAN"
Mean value
"MAXimum"
Maximum value
"MINimum"
Minimum value
"PEAK"
Search for the peak
"APEak"
Search for all the peaks
"ATARget"
Search for all targets
Notes
The short format of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters.
Out of Range
The value is ignored.
Preset Value
"PTP"
Syntax
Dim Param As String Param = app.SCPI.CALCulate(Ch).SELected.FUNCtion.TYPE app.SCPI.CALCulate(Ch).SELected.FUNCtion.TYPE = "STDEV"
Equivalent Softkeys
None
COM Server Commands
61

SCPI.CALCulate(Ch).SELected.LIMit.DATA

Object Type
Property (read/write)
Data Type
Variant (Double array)
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The data array, which is the limit line in the limit test function. The array size is 1 + 5N, where N is the number of measuring points. For the n–th point, where n from 1 to N:
Data(0)
The number of limit line segments N is from 0 to 100. Setting 0 clears the limit line;
Data(5n–4)
type of the n–th limit line segment;
0: OFF 1: Upper limit 2: Lower limit
Data(5n–3)
the stimulus value in the start point of the n–th segment;
Data(5n–2)
the stimulus value in the end point of the n–th segment;
Data(5n–1)
the response value in the start point of the n–th segment;
Data(5n–0)
the response value in the end point of the n–th segment.
Notes
If the array size is not 1 + 5N, where N is Data(0), an error occurs. If Data(5n – 4) is less than 0 or more than 2, an error occurs. When Data(5n–3), Data(5n–2), Data(5n–1) and Data(5n–0) elements are out of allowable range, the value is set to the limit, which is closer to the specified value.
Syntax
Dim Data As Variant Data = app.SCPI.CALCulate(Ch).SELected.LIMit.DATA app.SCPI.CALCulate(Ch).SELected.LIMit.DATA = Array(1,2,800,900,–10,–10)
Equivalent Softkeys
Analysis > Limit Test > Edit Limit Line
COM Server Commands
62

SCPI.CALCulate(Ch).SELected.LIMit.DISPlay.STATe

Object Type
Property (read/write)
Data Type
Boolean
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The ON/OFF state of the limit line display of the limit test function.
Allowable Values
True
Limit line display ON
False
Limit line display OFF
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.LIMit.DISPlay.STATe app.SCPI.CALCulate(Ch).SELected.LIMit.DISPlay.STATe = True
Equivalent Softkeys
Analysis > Limit Test > Limit Line
Object Type
Property (read only)
Data Type
Boolean
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The limit test result.
Allowable Values
True
Fail
False
Pass
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.LIMit.FAIL
Equivalent Softkeys
None
COM Server Commands

SCPI.CALCulate(Ch).SELected.LIMit.FAIL

COM Server Commands
63
Object Type
Property (read/write)
Data Type
Double
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The value of the limit line offset along Y–axis.
Range
Varies depending on the trace format.
Out of Range
No limitation
Preset Value
0
Unit
dB (decibel) | ° (degree) | s (second)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.LIMit.OFFSet. AMPLitude app.SCPI.CALCulate(Ch).SELected.LIMit.OFFSet. AMPLitude = –10
Equivalent Softkeys
Analysis > Limit Test > Limit Line Offsets > Response Offset

SCPI.CALCulate(Ch).SELected.LIMit.OFFSet.AMPLitude

COM Server Commands
64
Object Type
Property (read/write)
Data Type
Double
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The value of the limit line offset along X–axis.
Range
From the stimulus current start value to the stimulus current stop value.
Out of Range
No limitation
Preset Value
0
Unit
Hz (Hertz) | s (second) | dBm (decibels above 1 milliwatt)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.LIMit.OFFSet. STIMulus app.SCPI.CALCulate(Ch).SELected.LIMit.OFFSet. STIMulus = 1e6
Equivalent Softkeys
Analysis > Limit Test > Limit Lines Offsets > Stimulus Offset

SCPI.CALCulate(Ch).SELected.LIMit.OFFSet.STIMulus

65

SCPI.CALCulate(Ch).SELected.LIMit.REPort.ALL

Object Type
Property (read only)
Data Type
Variant (Double array)
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The data array, which is the limit test results. The array size is 4N, where N is the number of measurement points. For the n–th point, where n from 1 to N:
Data(4n–3)
the stimulus value in the n–th point
Data(4n–2)
the limit test result in the n–th point
 –1: No limit 0: Fail 1: Pass
Data(4n–1)
the upper limit value in the n–th point (0 – if there is no limit)
Data(4n–0)
the lower limit value in the n–th point (0 – if there is no limit)
Syntax
Dim Data As Variant Data = app.SCPI.CALCulate(Ch).SELected.LIMit.REPort.ALL
Equivalent Softkeys
None
COM Server Commands
66

SCPI.CALCulate(Ch).SELected.LIMit.REPort.DATA

Object Type
Property (read only)
Data Type
Variant (Double array)
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The data array, which is the stimulus values at all the measurement points that failed the limit test. The array size is defined by the
SCPI.CALCulate(Ch).SELected.LIMit.REPort.POINts property.
Syntax
Dim Data As Variant Data = app.SCPI.CALCulate(Ch).SELected.LIMit.REPort.DATA
Equivalent Softkeys
None
COM Server Commands
67

SCPI.CALCulate(Ch).SELected.LIMit.REPort.POINts

Object Type
Property (read only)
Data Type
Long
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The number of the measurement points that failed the limit test. The array of stimulus values of the points can be read out by the
SCPI.CALCulate(Ch).SELected.LIMit.REPort.DATA property.
Syntax
Dim Cnt As Long Cnt = app.SCPI.CALCulate(Ch).SELected.LIMit.REPort.POINts
Equivalent Softkeys
None
COM Server Commands
68

SCPI.CALCulate(Ch).SELected.LIMit.STATe

Object Type
Property (read/write)
Data Type
Boolean
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The ON/OFF state of the limit test function.
Allowable Values
True
Limit test function ON
False
Limit test function OFF
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.LIMit.STATe app.SCPI.CALCulate(Ch).SELected.LIMit.STATe = True
Equivalent Softkeys
Analysis > Limit Test > Limit Test
COM Server Commands
COM Server Commands
69
Object Type
Method
Target
Marker Mk of the active trace of channel Ch,
Ch
channel number 1–9 (see Table 1)
Mk
marker number 1–15, or reference marker number 16 (see
Table 4)
Description
Sets the active marker. If a marker is OFF this function will turn it ON. Turning ON a marker with the number from 1 to 15 will turn ON all the markers of smaller numbers. Turning ON the reference marker with number 16 does not turn ON the markers with the numbers from 1 to 15, but switches these markers to the relative measurement mode.
Syntax
app.SCPI.CALCulate(Ch).SELected.MARKer(Mk).ACTivate
Equivalent Softkeys
Markers > Active Marker > Marker n Markers > Reference Marker
Data Type
Long
Description
Marker number. Numbers from 1 to 15 are for regular markers, number 16 is for the reference marker.
Range
from 1 to 16
Out of Range
An error occurs..
Notes
If the marker number is not specified, it is taken as equal to 1.

SCPI.CALCulate(Ch).SELected.MARKer(Mk).ACTivate

Table 4. Mk: Marker Number
COM Server Commands
70
Object Type
Property (read only)
Data Type
Variant (Double array)
Target
Marker Mk of the active trace of channel Ch,
Ch
channel number 1–9 (see Table 1)
Mk
marker number 1–15, or reference marker number 16 (see
Table 4)
Description
The bandwidth search result. The bandwidth search can be performed relatively to the marker Mk, or relatively to the absolute maximum value of the trace (in this case the marker number is ignored), what is set by the SCPI.CALCulate(Ch).SELected.MARKer.BWIDth. REFerence property. The array contains 4 elements:
Data(0)
Bandwidth;
Data(1)
Center frequency;
Data(2)
Q value;
Data(3)
Loss.
Notes
If the bandwidth search is impossible, all the read out values are 0. If the search is performed relatively to a maker, which is OFF, an error occurs.
Syntax
Dim Data As Variant Data = app.SCPI.CALCulate(Ch).SELected.MARKer(Mk).BWIDth. DATA
Equivalent Softkeys
None

SCPI.CALCulate(Ch).SELected.MARKer(Mk).BWIDth.DATA

COM Server Commands
71
Object Type
Property (read/write)
Data Type
String
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The selection of the reference point for the bandwidth search function: reference marker or absolute maximum value of the trace.
Range
"MARKer"
Bandwidth search relative to the reference marker
"MAXimum"
Bandwidth search relative to the absolute maximum of the trace
"MINimum"
Bandwidth search relative to the absolute minimum of the trace
Notes
The short format of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters.
Out of Range
The value is ignored.
Preset Value
"MAX"
Syntax
Dim Param As String Param = app.SCPI.CALCulate(Ch).SELected.MARKer.BWIDth. REFerence app.SCPI.CALCulate(Ch).SELected.MARKer.BWIDth. REFerence = "MARK"
Equivalent Softkeys
Markers > Marker Math > Bandwidth Search > Search Ref To

SCPI.CALCulate(Ch).SELected.MARKer.BWIDth.REFerence

COM Server Commands
72
Object Type
Property (read/write)
Data Type
Boolean
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The ON/OFF state of the bandwidth search function.
Allowable Values
True
Bandwidth search function ON
False
Bandwidth search function OFF
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.MARKer.BWIDth.STATe app.SCPI.CALCulate(Ch).SELected.MARKer.BWIDth.STATe = True
Equivalent Softkeys
Markers > Marker Math > Bandwidth Search > Bandwidth Search

SCPI.CALCulate(Ch).SELected.MARKer.BWIDth.STATe

COM Server Commands
73
Object Type
Property (read/write)
Data Type
Double
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The bandwidth definition value.
Range
Varies depending on the trace format.
Out of Range
No limitation
Preset Value
3
Unit
dB (decibel) | ° (degree) | s (second)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.MARKer.BWIDth. THReshold app.SCPI.CALCulate(Ch).SELected.MARKer.BWIDth. THReshold = –6.0
Equivalent Softkeys
Markers > Marker Math > Bandwidth Search > Bandwidth Value

SCPI.CALCulate(Ch).SELected.MARKer.BWIDth.THReshold

COM Server Commands
74
Object Type
Property (read/write)
Data Type
String
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The type of the bandwidth search function.
Range
"BPASs"
Bandpass
"NOTCh"
Notch
Notes
The short format of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters.
Out of Range
The value is ignored.
Preset Value
"BPAS"
Syntax
Dim Param As String Param = app.SCPI.CALCulate(Ch).SELected.MARKer.BWIDth.TYPE app.SCPI.CALCulate(Ch).SELected.MARKer.BWIDth.TYPE = "NOTC"
Equivalent Softkeys
Markers > Marker Math > Bandwidth Search > Type

SCPI.CALCulate(Ch).SELected.MARKer.BWIDth.TYPE

75

SCPI.CALCulate(Ch).SELected.MARKer.COUPle

Object Type
Property (read/write)
Data Type
Boolean
Target
All traces of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The ON/OFF state of the marker coupling function.
Allowable Values
True
Marker coupling ON
False
Marker coupling OFF
Preset Value
True
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.MARKer.COUPle app.SCPI.CALCulate(Ch).SELected.MARKer.COUPle = false
Equivalent Softkeys
Markers > Properties > Marker Couple
COM Server Commands
COM Server Commands
76
Object Type
Property (read/write)
Data Type
Double
Target
All traces of channel Ch (if the marker search range coupling is set to OFF by the SCPI.CALCulate(Ch).SELected.FUNCtion. DOMain.COUPle property), the active trace of channel Ch (if otherwise),
Ch channel number 1–9 (see Table 1)
Description
The start value of the marker search range.
Range
From the stimulus current start value to the stimulus current stop value.
Out of Range
No limitation
Preset Value
3e5
Unit
Hz (Hertz) | s (second) | dBm (decibels above 1 milliwatt)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.MARKer(1).FUNCtion. DOMain.STARt app.SCPI.CALCulate(Ch).SELected.MARKer(1).FUNCtion. DOMain.STARt = 1e6
Equivalent Softkeys
Markers > Marker Search > Search Start

SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.DOMain. STARt

COM Server Commands
77
Object Type
Property (read/write)
Data Type
Boolean
Target
All traces of channel Ch (if the marker search range coupling is set to OFF by the SCPI.CALCulate(Ch).SELected.MARKer. FUNCtion.DOMain.COUPle property), the active trace of channel Ch (if otherwise),
Ch channel number 1–9 (see Table 1)
Description
The ON/OFF state of the arbitrary range when executing the marker search.
Allowable Values
True
Marker search range ON
False
Marker search range OFF (entire sweep range)
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.MARKer(1).FUNCtion. DOMain.STATe app.SCPI.CALCulate(Ch).SELected.MARKer(1).FUNCtion. DOMain.STATe = True
Equivalent Softkeys
Markers > Marker Search > Search Range

SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.DOMain. STATe

COM Server Commands
78
Object Type
Property (read/write)
Data Type
Double
Target
All traces of channel Ch (if the marker search range coupling is set to OFF by the SCPI.CALCulate(Ch).SELected.MARKer. FUNCtion.DOMain.COUPle property), the active trace of channel Ch (if otherwise),
Ch channel number 1–9 (see Table 1)
Description
The stop value of the marker search range.
Range
From the stimulus current start value to the stimulus current stop value.
Out of Range
No limitation
Preset Value
1.5e9
Unit
Hz (Hertz) | s (second) | dBm (decibels above 1 milliwatt)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.MARKer(1).FUNCtion. DOMain.STOP app.SCPI.CALCulate(Ch).SELected.MARKer(1).FUNCtion. DOMain.STOP = 1e6
Equivalent Softkeys
Markers > Marker Search > Search Stop

SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.DOMain. STOP

COM Server Commands
79
Object Type
Method
Target
Marker Mk of the active trace of channel Ch,
Ch
channel number 1–9 (see Table 1)
Mk
marker number 1–15, or reference marker number 16 (see
Table 4)
Description
Executes the marker search according to the specified criterion. The type of the marker search is set by the SCPI.CALCulate(Ch). SELected.MARKer(Mk).FUNCtion.TYPE property.
Syntax
app.SCPI.CALCulate(Ch).SELected.MARKer(Mk). FUNCtion.EXECute
Equivalent Softkeys
Markers > Marker Search > Maximum | Minimum
Markers > Marker Search > Peak > Search Peak | Search Max Peak | Search Peak Left | Search Peak Right
Markers > Marker Search > Target > Search Target | Search Target Left | Search Target Right

SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.EXECute

COM Server Commands
80
Object Type
Property (read/write)
Data Type
Double
Target
Marker Mk of the active trace of channel Ch,
Ch
channel number 1–9 (see Table 1)
Mk
marker number 1–15, or reference marker number 16 (see
Table 4)
Description
The peak excursion value, when the marker search for peak is performed by the SCPI.CALCulate(Ch).SELected. MARKer(Mk).FUNCtion.EXECute method.
Range
Varies depending on the trace format.
Out of Range
No limitation
Preset Value
1
Unit
dB (decibel) | ° (degree) | s (second)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.MARKer(Mk). FUNCtion.PEXCursion app.SCPI.CALCulate(Ch).SELected.MARKer(Mk). FUNCtion.PEXCursion = 3.0
Equivalent Softkeys
Markers > Marker Search > Peak > Peak Excursion

SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.PEXCursion

COM Server Commands
81
Object Type
Property (read/write)
Data Type
String
Target
Marker Mk of the active trace of channel Ch,
Ch
channel number 1–9 (see Table 1)
Mk
marker number 1–15, or reference marker number 16 (see
Table 4)
Description
The peak polarity selection, when the marker search for peak is performed by the SCPI.CALCulate(Ch).SELected. MARKer(Mk).FUNCtion.EXECute method.
Range
"POSitive"
Positive polarity
"NEGative"
Negative polarity
"BOTH"
Both positive polarity and negative polarity
Notes
The short format of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters.
Out of Range
The value is ignored.
Preset Value
"POS"
Syntax
Dim Param As String Param = app.SCPI.CALCulate(Ch).SELected.MARKer(Mk). FUNCtion.PPOLarity app.SCPI.CALCulate(Ch).SELected.MARKer(Mk). FUNCtion.PPOLarity = "neg"
Equivalent Softkeys
Markers > Marker Search > Peak > Peak Polarity > Positive | Negative | Both

SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.PPOLarity

COM Server Commands
82
Object Type
Property (read/write)
Data Type
Double
Target
Marker Mk of the active trace of channel Ch,
Ch
channel number 1–9 (see Table 1)
Mk
marker number 1–15, or reference marker number 16 (see
Table 4)
Description
The target value, when the marker search for target is performed by the
SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion. EXECute method.
Range
Varies depending on the trace format.
Out of Range
No limitation
Preset Value
0
Unit
dB (decibel) | ° (degree) | s (second)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.MARKer(Mk). FUNCtion.TARGet app.SCPI.CALCulate(Ch).SELected.MARKer(Mk). FUNCtion.TARGet = –10
Equivalent Softkeys
Markers > Marker Search > Target > Target Value

SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.TARGet

COM Server Commands
83
Object Type
Property (read/write)
Data Type
Boolean
Target
Marker Mk of the active trace of channel Ch,
Ch
channel number 1–9 (see Table 1)
Mk
marker number 1–15, or reference marker number 16 (see
Table 4)
Description
The ON/OFF state of the marker search tracking function.
Allowable Values
True
Marker search tracking ON
False
Marker search tracking OFF
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.MARKer(Mk). FUNCtion.TRACking app.SCPI.CALCulate(Ch).SELected.MARKer(Mk). FUNCtion.TRACking = True
Equivalent Softkeys
Markers > Marker Search > Tracking

SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.TRACking

COM Server Commands
84
Object Type
Property (read/write)
Data Type
String
Target
Marker Mk of the active trace of channel Ch,
Ch
channel number 1–9 (see Table 1)
Mk
marker number 1–15, or reference marker number 16 (see
Table 4)
Description
The selection of the type of the target transition, when the marker search for transition is performed by the SCPI.CALCulate(Ch). SELected.MARKer(Mk).FUNCtion.EXECute method.
Range
"POSitive"
Positive target transition
"NEGative"
Negative target transition
"BOTH"
Both positive target transition and negative target transition
Notes
The short format of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters.
Out of Range
The value is ignored.
Preset Value
"POS"
Syntax
Dim Param As String Param = app.SCPI.CALCulate(Ch).SELected.MARKer(Mk). FUNCtion.TTRansition app.SCPI.CALCulate(Ch).SELected.MARKer(Mk). FUNCtion.TTRansition = "NEG"
Equivalent Softkeys
Marker > Marker Search > Target > Target Transition

SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.TTRansition

COM Server Commands
85
Object Type
Property (read/write)
Data Type
String
Target
Marker Mk of the active trace of channel Ch,
Ch
channel number 1–9 (see Table 1)
Mk
marker number 1–15, or reference marker number 16 (see
Table 4)
Description
The selection of the type of the marker search, which is performed by the SCPI.CALCulate(Ch).SELected.MARKer(Mk). FUNCtion.EXECute method.
Range
"MAXimum"
Maximum value search
"MINimum"
Minimum value search
"PEAK"
Peak search
"LPEak"
Peak search to the left from the marker
"RPEak"
Peak search to the right from the marker
"TARGet"
Target search
"LTARget"
Target search to the left from the marker
"RTARget"
Target search to the right from the marker
Notes
The short format of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters.
Out of Range
The value is ignored.
Preset Value
"MAX"
Syntax
Dim Param As String Param = app.SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion .TYPE app.SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion .TYPE = "MIN"
Equivalent Softkeys
Markers > Marker Search > Maximum | Minimum
Markers > Marker Search > Peak > Search Peak | Search Max Peak | Search Peak Left | Search Peak Right
Markers > Marker Search > Target > Search Target | Search Target Left | Search Target Right

SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.TYPE

COM Server Commands
86
Object Type
Property (read/write)
Data Type
Boolean
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The ON/OFF state of the reference marker. When the reference marker is turned ON, all the values of the other markers turn to relative values.
Allowable Values
True
Reference marker ON
False
Reference marker OFF
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.MARKer.REFerence. STATe app.SCPI.CALCulate(Ch).SELected.MARKer.REFerence. STATe = True
Equivalent Softkeys
Markers > Reference Marker

SCPI.CALCulate(Ch).SELected.MARKer.REFerence.STATe

87

SCPI.CALCulate(Ch).SELected.MARKer(Mk).SET_

Object Type
Property (write only)
Data Type
String
Target
Marker Mk of the active trace of channel Ch,
Ch
channel number 1–9 (see Table 1)
Mk
marker number 1–15, or reference marker number 16 (see
Table 4)
Description
The setting of the value of the specified item to the value of the position of the marker.
Range
"STARt"
Sweep start value set to the stimulus value of the marker position.
"STOP"
Sweep stop value set to the stimulus value of the marker position.
"CENTer"
Sweep center value set to the stimulus value of the marker position.
"RLEVel"
Reference value set to the response value of the marker position.
Notes
The short format of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters.
Out of Range
The value is ignored.
Syntax
app.SCPI.CALCulate(Ch).SELected.MARKer(Mk).SET_ = "STOP"
Equivalent Softkeys
Markers > Marker Functions > Marker–>Start | Marker–>Stop | Marker –>Center | Marker–>Ref Value
COM Server Commands
88

SCPI.CALCulate(Ch).SELected.MARKer(Mk).STATe

Object Type
Property (read/write)
Data Type
Boolean
Target
Marker Mk of the active trace of channel Ch,
Ch
channel number 1–9 (see Table 1)
Mk
marker number 1–15, or reference marker number 16 (see
Table 4)
Description
The ON/OFF state of a marker. Turning ON a marker with the number from 1 to 15 will turn ON all the markers of smaller numbers. Turning OFF a marker with the number from 1 to 15 will turn OFF all the markers of greater numbers (except for the reference marker). Turning ON/OFF the reference marker with number 16 does not turn ON/OFF the markers with the numbers from 1 to 15, but switches these markers to the relative measurement mode.
Allowable Values
True
Marker ON
False
Marker OFF
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.MARKer(Mk).STATe app.SCPI.CALCulate(Ch).SELected.MARKer(Mk).STATe = True
Equivalent Softkeys
Markers > Add Marker | Remove Marker Markers > Reference Marker
COM Server Commands
89

SCPI.CALCulate(Ch).SELected.MARKer(Mk).X

Object Type
Property (read/write)
Data Type
Double
Target
Marker Mk of the active trace of channel Ch,
Ch
channel number 1–9 (see Table 1)
Mk
marker number 1–15, or reference marker number 16 (see
Table 4)
Description
The stimulus value of the marker.
Range
From the stimulus current start value to the stimulus current stop value.
Out of Value
Sets the value of the limit, which is closer to the specified value.
Preset Value
Stimulus center value
Unit
Hz (Hertz) | s (second) | dBm (decibels above 1 milliwatt)
Syntax
Dim Value As Double Value = app.SCPI.CALCulate(Ch).SELected.MARKer(Mk).X app.SCPI.CALCulate(Ch).SELected.MARKer(Mk).X = 1e9
Equivalent Softkeys
Markers > Edit Stimulus
COM Server Commands
90

SCPI.CALCulate(Ch).SELected.MARKer(Mk).Y

Object Type
Property (read only)
Data Type
Variant (Double array)
Target
Marker Mk of the active trace of channel Ch,
Ch
channel number 1–9 (see Table 1)
Mk
marker number 1–15, or reference marker number 16 (see
Table 4)
Description
The response value of the marker. If the reference marker is turned ON, the values of the markers from 1 to 15 are read out as relative values to the reference marker. The array includes 2 elements:
Data(0)
real number in rectangular format, real part in polar and Smith chart formats;
Data(1)
0 in rectangular format, imaginary part in polar and Smith chart formats.
Syntax
Dim Data As Variant Data = app.SCPI.CALCulate(Ch).SELected.MARKer(Mk).Y
Equivalent Softkeys
None
COM Server Commands
91

SCPI.CALCulate(Ch).SELected.MARKer.COUNt

Object Type
Property (read/write)
Data Type
Long
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The number of the turned ON markers excluding the reference marker.
Range
from 0 to 15
Out of Range
Sets the value of the limit, which is closer to the specified value.
Preset Value
0
Syntax
Dim MarkerCnt As Long MarkerCnt = app.SCPI.CALCulate(Ch).SELected.MARKer.COUNt app.SCPI.CALCulate(Ch).SELected.MARKer.COUNt = 5
Equivalent Softkeys
None
Object Type
Method
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
Removes the data (All memory traces) from the memory trace.
Syntax
app.SCPI.CALCulate(Ch).SELected.MATH.DELete
Equivalent Softkeys
Trace > Delete All Memory
COM Server Commands

SCPI.CALCulate(Ch).SELected.MATH.DELete

92

SCPI.CALCulate(Ch).SELected.MATH.FUNCtion

Object Type
Property (read/write)
Data Type
String
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The selection of the math operation between the measurement data and the memory trace data. The math result replaces the data trace. If the data trace is not saved, the command is ignored.
Range
"DIVide"
Division Data / Mem.
"MULTiply"
Multiplication Data x Mem.
"ADD"
Addition Data + Mem.
"SUBTract"
Subtraction Data – Mem.
"NORMal"
No math
Notes
The short format of the parameter is indicated by upper case letters. There is no distinction between upper and lower case letters when the property is written. When the property is read out, the short format is indicated by upper case letters.
Out of Range
An error occurs.
Preset Value
"NORM"
Syntax
Dim Param As String Param = app.SCPI.CALCulate(Ch).SELected.MATH.FUNCtion app.SCPI.CALCulate(Ch).SELected.MATH.FUNCtion= "DIV"
Equivalent Softkeys
Trace > Data Math > Data/Mem | Data*Mem | Data+Mem | Data–Mem | OFF
COM Server Commands
93

SCPI.CALCulate(Ch).SELected.MATH.MEMorize

Object Type
Method
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
Saves the measurement data to the memory trace. Automatically turns on the display of the memory trace.
Syntax
app.SCPI.CALCulate(Ch).SELected.MATH.MEMorize
Equivalent Softkeys
Trace > Memorize Data Trace
Object Type
Property (read/write)
Data Type
Boolean
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The ON/OFF state of the Maximum Hold function.
Allowable Values
True
Maximum Hold ON
False
Maximum Hold OFF
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.MAXhold.STATe app.SCPI.CALCulate(Ch).SELected.MAXhold.STATe = True
Equivalent Softkeys
Trace > Max Hold
COM Server Commands

SCPI.CALCulate(Ch).SELected.MAXhold.STATe

94

SCPI.CALCulate(Ch).SELected.MSTatistics.DATA

Object Type
Property (read only)
Data Type
Variant (Double array)
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The math statistics data array. The statistics function is applied either over the whole range (for all the trace), or within the range specified by the SCPI.CALCulate(Ch).SELected.MSTatistics.DOMain. STATe property (the range limits are determined by two markers). The array includes 3 elements:
Data(0)
Mean value;
Data(1)
Standard deviation;
Data(2)
Peak–to–peak (difference between the maximum value and the minimum value).
Syntax
Dim Data As Variant Data = app.SCPI.CALCulate(Ch).SELected.MSTatistics.DATA
Equivalent Softkeys
None
COM Server Commands
COM Server Commands
95
Object Type
Property (read/write)
Data Type
Long
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The number of the marker, which specifies the start frequency of the math statistics range.
Range
from 1 to 16
Out of Range
Sets the value of the limit, which is closer to the specified value.
Preset Value
1
Syntax
Dim MkrNum As Long MkrNum = app.SCPI.CALCulate(Ch).SELected.MSTatistics.DOMain. MARKer.STARt app.SCPI.CALCulate(Ch).SELected. MSTatistics.DOMain.MARKer.STARt = 3
Equivalent Softkeys
Markers > Marker Math > Statistics > Statistics Start

SCPI.CALCulate(Ch).SELected.MSTatistics.DOMain.MARKer.STARt

COM Server Commands
96
Object Type
Property (read/write)
Data Type
Long
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The number of the marker, which specifies the stop frequency of the math statistics range.
Range
from 1 to 16
Out of Range
Sets the value of the limit, which is closer to the specified value.
Preset Value
2
Syntax
Dim Mkr As Long Mkr = app.SCPI.CALCulate(Ch).SELected.MSTatistics.DOMain. MARKer.STOP app.SCPI.CALCulate(Ch).SELected.MSTatistics.DOMain. MARKer.STOP = 4
Equivalent Softkeys
Markers > Marker Math > Statistics > Statistics Stop

SCPI.CALCulate(Ch).SELected.MSTatistics.DOMain.MARKer.STOP

COM Server Commands
97
Object Type
Property (read/write)
Data Type
Boolean
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The ON/OFF state of the math statistics range.
Allowable Values
True
Statistics range ON
False
Statistics range OFF
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.MSTatistics.DOMain. STATe app.SCPI.CALCulate(Ch).SELected.MSTatistics.DOMain. STATe = True
Equivalent Softkeys
Markers > Marker Math > Statistics > Statistics Range

SCPI.CALCulate(Ch).SELected.MSTatistics.DOMain.STATe

98

SCPI.CALCulate(Ch).SELected.MSTatistics.STATe

Object Type
Property (read/write)
Data Type
Boolean
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The ON/OFF state of the math statistics display.
Allowable Values
True
Statistics display ON
False
Statistics display OFF
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.MSTatistics.STATe app.SCPI.CALCulate(Ch).SELected.MSTatistics.STATe = True
Equivalent Softkeys
Markers > Marker Math > Statistics > Statistics
COM Server Commands
99

SCPI.CALCulate(Ch).SELected.RLIMit.DATA

Object Type
Property (read/write)
Data Type
Variant (Double array)
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The data array, which is the limit line for the ripple limit function. The array size is 1 + 4N, where N is the number of limit line segments. For the n–th point, where n from 1 to N:
Data(0)
the number of limit line segments N is the integer from 0 to 12. Setting 0 clears the limit line;
Data(4n–3)
type of the n–th limit line segment;
0: Off 1: On
Data(4n–2)
the stimulus value in the beginning point of the n–th segment;
Data(4n–2)
the stimulus value in the end point of the n–th segment;
Data(4n–0)
the ripple limit value of the n–th segment.
Notes
If the array size is not 1 + 4N, where N is Data(0), an error occurs. If Data(4n – 3) is less than 0 or more than 1, an error occurs. When Data(4n–2), Data(4n–1), and Data(4n–0) elements are out of allowable range, the value is set to the limit, which is closer to the specified value.
Syntax
Dim Data As Variant Data = app.SCPI.CALCulate(Ch).SELected.RLIMit.DATA app.SCPI.CALCulate(Ch).SELected.RLIMit.DATA = Array(1,1,800,900,10)
Equivalent Softkeys
Analysis > Ripple Limit > Edit Ripple Limit
COM Server Commands
100

SCPI.CALCulate(Ch).SELected.RLIMit.DISPlay.LINE

Object Type
Property (read/write)
Data Type
Boolean
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
The ON/OFF state of the ripple limit line display.
Allowable Values
True
Ripple limit line ON
False
Ripple limit line OFF
Preset Value
False
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.RLIMit.DISPlay.LINE app.SCPI.CALCulate(Ch).SELected.RLIMit.DISPlay.LINE = True
Equivalent Softkeys
Analysis > Ripple Limit > Limit Line
Object Type
Property (read only)
Data Type
Boolean
Target
The active trace of channel Ch, Ch channel number 1–9 (see Table 1)
Description
Ripple limit test result.
Allowable Values
True
Fail
False
Pass
Syntax
Dim Status As Boolean Status = app.SCPI.CALCulate(Ch).SELected.RLIMit.FAIL
Equivalent Softkeys
None
COM Server Commands

SCPI.CALCulate(Ch).SELected.RLIMit.FAIL

Loading...