Planar R54 Programming Manual

Vector reflectometer; programming com/dcom
Table of Contents

Advertisement

Quick Links

PLANAR R54 Vector Reflectometer
Using the pair of devices
Programming Manual COM/DCOM
First Edition
2013

Advertisement

Table of Contents
loading

Summary of Contents for Planar R54

  • Page 1 PLANAR R54 Vector Reflectometer Using the pair of devices Programming Manual COM/DCOM First Edition 2013...
  • Page 2: Table Of Contents

    PLANAR R54x2 COM/DCOM Programming manual TABLE OF CONTENTS Introduction ..............................6 COM Technology Overview......................7 Automation Server ..........................7 Automation Controllers ........................7 Local and Remote Server........................8 Structure of COM Objects .......................10 Accessing the Application Object....................11 Object Methods..........................13 Object Properties..........................13 Error Handling ..........................14 COM Automation Data Types ......................16 Measurement Data Arrays .......................17...
  • Page 3 PLANAR R54x2 COM/DCOM Programming manual 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.FUNCtion.DOMain.STARt ..........76 SCPI.CALCulate(Ch).SELected.MARKer.FUNCtion.DOMain.STATe ..........77 SCPI.CALCulate(Ch).SELected.MARKer.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...
  • Page 4 PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.WINDow(Ch).ANNotation.MARKer.SINGle.STATe..........124 SCPI.DISPlay.WINDow(Ch).TITLe.DATA..................125 SCPI.DISPlay.WINDow(Ch).TITLe.STATe ..................126 SCPI.DISPlay.WINDow(Ch).TRACe(Tr).ANNotation.MARKer. POSition.X ........127 SCPI.DISPlay.WINDow(Ch).TRACe(Tr).ANNotation.MARKer. POSition.Y ........128 SCPI.DISPlay.WINDow(Ch).TRACe(Tr).Y.SCALe.AUTO...............129 SCPI.DISPlay.WINDow(Ch).TRACe(Tr).Y.SCALe.PDIVision............130 SCPI.DISPlay.WINDow(Ch).TRACe(Tr).Y.SCALe.RLEVel ............131 SCPI.DISPlay.WINDow(Ch).TRACe(Tr).Y.SCALe.RPOSition ............132 SCPI.DISPlay.WINDow(Ch).Y.SCALe.DIVisions ................133 SCPI.HCOPy.DATE.STAMp ......................134 SCPI.HCOPy.IMAGe...........................135 SCPI.HCOPy.IMMediate ........................136 SCPI.HCOPy.PAINt..........................137 SCPI.IEEE4882.IDN..........................138 SCPI.IEEE4882.RST..........................139 SCPI.IEEE4882.TRG ...........................139 SCPI.IEEE4882.WAI ...........................140 SCPI.INITiate(Ch).CONTinuous ......................141 SCPI.INITiate(Ch).IMMediate......................142 SCPI.MMEMory.COPY(Src, Dst) .......................143 SCPI.MMEMory.DELete(File)......................143...
  • Page 5 PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).LABel ...........182 SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).LOSS ............183 SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).TYPE ............184 SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).Z0 ............185 SCPI.SENSe(Ch).CORRection.COLLect.CLEar.................186 SCPI.SENSe(Ch).CORRection.COLLect.METHod.RESPonse.OPEN..........187 SCPI.SENSe(Ch).CORRection.COLLect.METHod.RESPonse.SHORt..........188 SCPI.SENSe(Ch).CORRection.COLLect.METHod.SOLT1 ...............189 SCPI.SENSe(Ch).CORRection.COLLect.METHod.RESPonse.THRU ..........190 SCPI.SENSe(Ch).CORRection.COLLect.METHod.DUAL ..............191 SCPI.SENSe(Ch).CORRection.COLLect.METHod.TYPE ..............192 SCPI.SENSe(Ch).CORRection.COLLect.SAVE .................193 SCPI.SENSe.CORRection.IMPedance.INPut.MAGNitude..............194 SCPI.SENSe(Ch).CORRection.STATe....................195 SCPI.SENSe(Ch).CORRection.TYPE(Tr)...................196 SCPI.SENSe(Ch).FREQuency.CENTer....................197 SCPI.SENSe(Ch).FREQuency.DATA ....................198 SCPI.SENSe(Ch).FREQuency.SPAN ....................199 SCPI.SENSe(Ch).FREQuency.STARt....................200 SCPI.SENSe(Ch).FREQuency.STOP ....................201 SCPI.SENSe(Ch).SEGMent.DATA.....................202 SCPI.SENSe(Ch).SWEep.POINt.TIME....................203 SCPI.SENSe(Ch).SWEep.POINts......................204 SCPI.SENSe(Ch).SWEep.TYPE......................205...
  • Page 6: Introduction

    Introduction This Programming Manual contains information on remote control over pair of PLANAR R54 Vector Reflectometer 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.
  • Page 7: Com Technology Overview

    PLANAR R54x2 COM/DCOM Programming manual 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.
  • Page 8: Local And Remote Server

    DCOM it is necessary to configure the local network by means of DCOM Windows tools. COM technology is normally used to control pair of PLANAR R54. 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.
  • Page 9 PLANAR R54x2 COM/DCOM Programming manual User Program PlanarR54X2.exe Planar R54 Planar R54 Figure 1. COM technology DCOM User Program PlanarR54X2.exe Planar R54 Planar R54 Figure 2. DCOM technology...
  • Page 10: Structure Of Com Objects

    PLANAR R54x2 COM/DCOM Programming manual Structure of COM Objects COM server contains several objects, which provide different functionality of the server. The COM objects of the PlanarR54x2.exe application 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 PlanarR54x2.exe application COM...
  • Page 11: Accessing The Application Object

    PLANAR R54x2 COM/DCOM Programming manual 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: SCPI:CALCulate:SELected:FORMat SWR The same COM command written in VB programming language is as follows: app.SCPI.CALCulate.SELected.FORMat = "SWR"...
  • Page 12 PLANAR R54x2 COM/DCOM Programming manual For example, the following operators create Application object and assign it to app variable: Set app = CreateObject("R54x2.Applcation") Set app = CreateObject("R54x2.Applcation", "Network_Name") 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.
  • Page 13: Object Methods

    PLANAR R54x2 COM/DCOM Programming manual 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: app.SCPI.SYSTem.PRESet...
  • Page 14: Error Handling

    PLANAR R54x2 COM/DCOM Programming manual 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 R54x2 object; use On Error goto VB operator.
  • Page 15 PLANAR R54x2 COM/DCOM Programming manual 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. Dim app Public Sub HandleError2() Set app = CreateObject("R54x2.Applcation") On Error GoTo ErrHandler app.SCPI.PARameter.DEFine = "S13"...
  • Page 16: Com Automation Data Types

    PLANAR R54x2 COM/DCOM Programming manual COM Automation Data Types In COM automation, there are the following data types, which can be used for client-to- server communication: Long 32-bit signed integer, value range from –2147483648 to 2147483647 64-bit double-precision floating point,...
  • Page 17: Measurement Data Arrays

    PLANAR R54x2 COM/DCOM Programming manual 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.
  • Page 18: Com Server Commands

    PLANAR R54x2 COM/DCOM Programming manual COM Server Commands NAME Property (read only) Object Type String Data Type Instrument information string. String format: manufacturer, model, serial Description number, number of firmware version and number of software version. up to 40 characters...
  • Page 19: Ready(Pt)

    Port Pt: port number 1-2 (see Table 2 on page 22) Target Ready state of the instruments. Reads out the True value after successful completion of the boot process (about 10 sec). The pair of PLANAR R54 Description must be connected to PC by a USB cable.
  • Page 20: Scpi.abort

    PLANAR R54x2 COM/DCOM Programming manual SCPI.ABORt Method Object Type 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, Description starts a new sweep.
  • Page 21: Scpi.calculate(Ch).Fsimulator.sended.deembed.port(Pt). User.filename

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).FSIMulator.SENDed.DEEMbed.PORT(Pt). USER.FILename Property (read/write) Object Type String Data Type Port Pt of channel Ch, channel number 1–4 (see Table 1 on page 22) Target port number 1-2 (see Table 2 on page 22) De-embedding function file name (*.s2p). The file contains the circuit S–...
  • Page 22 PLANAR R54x2 COM/DCOM Programming manual Table 1. Ch: Channel Number Data Type Long Channel number. Description from 1 to 4 Range An error occurs. Error code: 201. Out of Range If the channel number is not specified, it is taken as equal to 1.
  • Page 23: Scpi.calculate(Ch).Fsimulator.sended.deembed.port(Pt).State

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).FSIMulator.SENDed.DEEMbed.PORT(Pt).STATe Property (read/write) Object Type Data Type Boolean Port Pt of channel Ch, channel number 1–4 (see Table 1 on page 22) port number 1-2 (see Table 2 on page 22) The ON/OFF state of the e-embedding function.
  • Page 24: Scpi.calculate(Ch).Fsimulator.sended.pmcircuit.port(Pt). User.filename

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).FSIMulator.SENDed.PMCircuit.PORT(Pt). USER.FILename Property (read/write) Object Type Data Type String Port Pt of channel Ch, channel number 1–4 (see Table 1 on page 22) Target port number 1-2 (see Table 2 on page 22) Embedding function file name (*.s2p). The file contains the circuit S–...
  • Page 25: Scpi.calculate(Ch).Fsimulator.sended.pmcircuit.port(Pt).State

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).FSIMulator.SENDed.PMCircuit.PORT(Pt).STATe Property (read/write) Object Type Data Type Boolean Port Pt of channel Ch, channel number 1–4 (see Table 1 on page 22) Target port number 1-2 (see Table 2 on page 22) The ON/OFF state of the embedding function.
  • Page 26: Scpi.calculate(Ch).Fsimulator.sended. Zconversion.port(Pt).Z0.R

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).FSIMulator.SENDed. ZCONversion.PORT(Pt).Z0.R Property (read/write) Object Type Data Type Double Port Pt of channel Ch, channel number 1–4 (see Table 1 on page 22) Target port number 1-2 (see Table 2 on page 22) The value of the impedance for port impedance conversion function.
  • Page 27: Scpi.calculate(Ch).Fsimulator.sended.zconversion.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).FSIMulator.SENDed.ZCONversion.STATe Property (read/write) Object Type Data Type Boolean Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the port impedance conversion function. Description True: Port Z conversion function ON...
  • Page 28: Scpi.calculate(Ch).Parameter.count

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).PARameter.COUNt Property (read/write) Object Type Data Type Long Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The number of traces in the channel. Description from 1 to 4 Range Sets the value of the limit, which is closer to the specified value.
  • Page 29 PLANAR R54x2 COM/DCOM Programming manual Table 3. Tr: Trace Number Data Type Long Trace number Description from 1 to 4 Range An error occurs. Error code: 202. Out of Range If the trace number is not specified, it is taken as equal to 1.
  • Page 30: Scpi.calculate(Ch).Parameter(Tr).Define

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).PARameter(Tr).DEFine Property (read/write) Object Type Data Type String Trace Tr of channel Ch, channel number 1–4 (see Table 1 on page 22) Target trace number 1–4 (see Table 3 on page 29) The measurement parameter of the trace.
  • Page 31: Scpi.calculate(Ch).Parameter(Tr).Select

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).PARameter(Tr).SELect Method Object Type Trace Tr of channel Ch, channel number 1–4 (see Table 1 on page 22) Target trace number 1–4 (see Table 3 on page 29) Sets the active channel and trace. Description app.SCPI.CALCulate(Ch).PARameter(Tr).SELect...
  • Page 32: Scpi.calculate(Ch).Selected.conversion.function

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.CONVersion.FUNCtion Object Type Property (read/write) Data Type String The active trace of channel Ch, Target Ch: channel number 1–4 (see Table 1 on page 22) The S–parameter conversion function type. Description "IMPedance" : Reflection or Transmission equivalent impedance according to the trace measurement S-parameter "ADMittance"...
  • Page 33: Scpi.calculate(Ch).Selected.conversion.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.CONVersion.STATe Object Type Property (read/write) Data Type Boolean The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the S-parameter conversion function. Description True: S–parameter conversion function ON Allowable Values False: S–parameter conversion function OFF...
  • Page 34: Scpi.calculate(Ch).Selected.correction.edelay.time

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.CORRection.EDELay.TIME Object Type Property (read/write) Data Type Double The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The value of the electrical delay. Description from –10 to 10 Range Sets the value of the limit, which is closer to the specified value.
  • Page 35: Scpi.calculate(Ch).Selected.correction.offset.phase

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.CORRection.OFFSet.PHASe Object Type Property (read/write) Data Type Double The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The value of the phase offset. Description from –360 to 360 Range Sets the value of the limit, which is closer to the specified value.
  • Page 36: Scpi.calculate(Ch).Selected.data.fdata

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.DATA.FDATa Object Type Property (read only) Data Type Variant (Double array) The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The formatted data array. The array elements contain measurements in the current format, for example, in logarithmic magnitude format (Log Mag).
  • Page 37: Scpi.calculate(Ch).Selected.data.fmemory

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.DATA.FMEMory Object Type Property (read only) Data Type Variant (Double array) The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The formatted memory array. The array elements contain saved measurements in the current format, for example, in logarithmic magnitude format (Log Mag).
  • Page 38: Scpi.calculate(Ch).Selected.data.sdata

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.DATA.SDATa Object Type Property (read only) Data Type Variant (Double array) The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The corrected data array. The corrected measurements are complex numbers.
  • Page 39: Scpi.calculate(Ch).Selected.data.smemory

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.DATA.SMEMory Object Type Property (read only) Data Type Variant (Double array) The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The corrected memory array. The corrected measurements are complex numbers.
  • Page 40: Scpi.calculate(Ch).Selected.filter.gate.time.center

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.CENTer Object Type Property (read/write) Data Type Double The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The gate center value of the gating function. Description Varies depending on the frequency span and the number of points.
  • Page 41: Scpi.calculate(Ch).Selected.filter.gate.time.shape

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.SHAPe Object Type Property (read/write) Data Type String The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The gate shape of the gating function. Description "MAXimum" : Maximum shape "WIDE"...
  • Page 42: Scpi.calculate(Ch).Selected.filter.gate.time.span

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.SPAN Object Type Property (read/write) Data Type Double The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The gate span value of the gating function. Description Varies depending on the frequency span and the number of points.
  • Page 43: Scpi.calculate(Ch).Selected.filter.gate.time.start

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.STARt Object Type Property (read/write) Data Type Double The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The gate start value of the gating function. Description Varies depending on the frequency span and the number of points.
  • Page 44: Scpi.calculate(Ch).Selected.filter.gate.time.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.STATe Object Type Property (read/write) Data Type Boolean The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the gating function. Description True: Gating function ON...
  • Page 45: Scpi.calculate(Ch).Selected.filter.gate.time.stop

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.STOP Object Type Property (read/write) Data Type Double The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The gate stop value of the gating function. Description Varies depending on the frequency span and the number of points.
  • Page 46: Scpi.calculate(Ch).Selected.filter.gate.time.type

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FILTer.GATE.TIME.TYPE Object Type Property (read/write) Data Type String The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The gate type of the gating function. Description "BPASs" : Bandpass type Range "NOTCh"...
  • Page 47: Scpi.calculate(Ch).Selected.format

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FORMat Object Type Property (read/write) Data Type String The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) Data format. Description "RLOSs" : Logarithmic magnitude – Return Loss "SWR"...
  • Page 48: Scpi.calculate(Ch).Selected.function.data

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FUNCtion.DATA Object Type Property (read only) Data Type Variant (Double array) The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The data array of analysis executed by the method.
  • Page 49: Scpi.calculate(Ch).Selected.function.domain.couple

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.COUPle Property (read/write) Object Type Boolean Data Type All traces of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF coupling state of the analysis range for the Description method SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute...
  • Page 50: Scpi.calculate(Ch).Selected.function.domain.start

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.STARt Object Type Property (read/write) Data Type Double All traces of channel Ch (if the coupling is set to OFF by the property), the active SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.COUPle Target trace of channel Ch (if otherwise), channel number 1–4 (see Table 1 on page 22)
  • Page 51: Scpi.calculate(Ch).Selected.function.domain.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.STATe Object Type Property (read/write) Data Type Boolean All traces of channel Ch (if the coupling is set to OFF by the property), the active SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.COUPle Target trace of channel Ch (if otherwise), channel number 1–4 (see Table 1 on page 22)
  • Page 52: Scpi.calculate(Ch).Selected.function.domain.stop

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.STOP Property (read/write) Object Type Double Data Type All traces of channel Ch (if the coupling is set to OFF by the property), the active SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.COUPle Target trace of channel Ch (if otherwise), channel number 1–4 (see Table 1 on page 22)
  • Page 53: Scpi.calculate(Ch).Selected.function.execute

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute Object Type Method The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) Executes the analysis specified with the property SCPI.CALCulate(Ch).SELected.FUNCtion.TYPE Description The analysis result can then be read out with the property SCPI.CALCulate(Ch).SELected.FUNCtion.DATA...
  • Page 54: Scpi.calculate(Ch).Selected.function.pexcursion

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FUNCtion.PEXCursion Object Type Property (read/write) Data Type Double The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The lower limit for the peak excursion value when executing the peak...
  • Page 55: Scpi.calculate(Ch).Selected.function.points

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FUNCtion.POINts Property (read only) Object Type Long Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The number of points (data pairs) of the analysis result by the method.
  • Page 56: Scpi.calculate(Ch).Selected.function.ppolarity

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FUNCtion.PPOLarity Property (read/write) Object Type String Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The polarity selection when performing the peak search by the Description method.
  • Page 57: Scpi.calculate(Ch).Selected.function.target

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FUNCtion.TARGet Property (read/write) Object Type Double Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The target level when performing the search for the trace and the target level...
  • Page 58: Scpi.calculate(Ch).Selected.function.ttransition

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FUNCtion.TTRansition Property (read/write) Object Type String Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The transition type selection when performing the search for the trace and...
  • Page 59: Scpi.calculate(Ch).Selected.function.type

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.FUNCtion.TYPE Property (read/write) Object Type String Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) selection type analysis executed Description method. SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute "PTPeak" : Peak–to–peak (difference between the maximum value and the minimum value) "STDEV"...
  • Page 60: Scpi.calculate(Ch).Selected.limit.data

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.LIMit.DATA Object Type Property (read/write) Data Type Variant (Double array) The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) 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.
  • Page 61: Scpi.calculate(Ch).Selected.limit.display.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.LIMit.DISPlay.STATe Property (read/write) Object Type Boolean Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the limit line display of the limit test function.
  • Page 62: Scpi.calculate(Ch).Selected.limit.fail

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.LIMit.FAIL Object Type Property (read only) Data Type Boolean The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The limit test result. Description True: Fail Allowable Values False: Pass...
  • Page 63: Scpi.calculate(Ch).Selected.limit.offset.amplitude

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.LIMit.OFFSet.AMPLitude Object Type Property (read/write) Data Type Double The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The value of the limit line offset along Y–axis. Description Varies depending on the trace format.
  • Page 64: Scpi.calculate(Ch).Selected.limit.offset.stimulus

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.LIMit.OFFSet.STIMulus Object Type Property (read/write) Data Type Double The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The value of the limit line offset along X–axis. Description From the stimulus current start value to the stimulus current stop value.
  • Page 65: Scpi.calculate(Ch).Selected.limit.report.all

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.LIMit.REPort.ALL Property (read only) Object Type Variant (Double array) Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The data array, which is the limit test results. The array size is 4N, where N is the number of measurement points.
  • Page 66: Scpi.calculate(Ch).Selected.limit.report.data

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.LIMit.REPort.DATA Property (read only) Object Type Variant (Double array) Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The data array, which is the stimulus values at all the measurement points that failed the limit test.
  • Page 67: Scpi.calculate(Ch).Selected.limit.report.points

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.LIMit.REPort.POINts Object Type Property (read only) Data Type Long The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The number of the measurement points that failed the limit test.
  • Page 68: Scpi.calculate(Ch).Selected.limit.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.LIMit.STATe Property (read/write) Object Type Boolean Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the limit test function. Description True: Limit test function ON...
  • Page 69: Scpi.calculate(Ch).Selected.marker(Mk).Activate

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer(Mk).ACTivate Object Type Method Marker Mk of the active trace of channel Ch, channel number 1–4 (see Table 1 on page 22) Target marker number 1–15, or reference marker number 16 (see Table 4 on page 61) Sets the active marker.
  • Page 70: Scpi.calculate(Ch).Selected.marker(Mk).Bwidth.data

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer(Mk).BWIDth.DATA Object Type Property (read only) Data Type Variant (Double array) Marker Mk of the active trace of channel Ch, channel number 1–4 (see Table 1 on page 22) Target marker number 1–15, or reference marker number 16 (see Table 4 on page 61) The bandwidth search result.
  • Page 71: Scpi.calculate(Ch).Selected.marker.bwidth.reference

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer.BWIDth.REFerence Object Type Property (read/write) Data Type String The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The selection of the reference point for the bandwidth search function: Description reference marker or absolute maximum value of the trace.
  • Page 72: Scpi.calculate(Ch).Selected.marker.bwidth.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer.BWIDth.STATe Object Type Property (read/write) Data Type Boolean The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the bandwidth search function. Description True: Bandwidth search function ON...
  • Page 73: Scpi.calculate(Ch).Selected.marker.bwidth.threshold

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer.BWIDth.THReshold Property (read/write) Object Type Double Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The bandwidth definition value Description Varies depending on the trace format.
  • Page 74: Scpi.calculate(Ch).Selected.marker.bwidth.type

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer.BWIDth.TYPE Object Type Property (read/write) Data Type String The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The type of the bandwidth search function. Description "BPASs" : Bandpass Range "NOTCh"...
  • Page 75: Scpi.calculate(Ch).Selected.marker.couple

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer.COUPle Object Type Property (read/write) Data Type Boolean All traces of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the marker coupling function. Description True: Marker coupling ON...
  • Page 76: Scpi.calculate(Ch).Selected.marker.function.domain.start

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer.FUNCtion.DOMain.STARt Object Type Property (read/write) Data Type Double All traces of channel Ch (if the marker search range coupling is set to OFF by the property), the SCPI.CALCulate(Ch).SELected.FUNCtion.DOMain.COUPle Target active trace of channel Ch (if otherwise), channel number 1–4 (see Table 1 on page 22)
  • Page 77: Scpi.calculate(Ch).Selected.marker.function.domain.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer.FUNCtion.DOMain.STATe Object Type Property (read/write) Data Type Boolean All traces of channel Ch (if the marker search range coupling is set to OFF SCPI.CALCulate(Ch).SELected.MARKer.FUNCtion.DOMain.COUPle Target property), the active trace of channel Ch (if otherwise), channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the arbitrary range when executing the marker search.
  • Page 78: Scpi.calculate(Ch).Selected.marker.function.domain.stop

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer.FUNCtion.DOMain.STOP Object Type Property (read/write) Data Type Double All traces of channel Ch (if the marker search range coupling is set to OFF SCPI.CALCulate(Ch).SELected.MARKer.FUNCtion.DOMain.COUPle Target property), the active trace of channel Ch (if otherwise), channel number 1–4 (see Table 1 on page 22) The stop value of the marker search range.
  • Page 79: Scpi.calculate(Ch).Selected.marker(Mk).Function.execute

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.EXECute Object Type Method Marker Mk of the active trace of channel Ch, channel number 1–4 (see Table 1 on page 22) Target marker number 1–15, or reference marker number 16 (see Table 4 on page 61) Executes the marker search according to the specified criterion.
  • Page 80: Scpi.calculate(Ch).Selected.marker(Mk).Function.pexcursion

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.PEXCursion Property (read/write) Object Type Double Data Type Marker Mk of the active trace of channel Ch, channel number 1–4 (see Table 1 on page 22) Target marker number 1–15, or reference marker number 16 (see...
  • Page 81: Scpi.calculate(Ch).Selected.marker(Mk).Function.ppolarity

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.PPOLarity Property (read/write) Object Type String Data Type Marker Mk of the active trace of channel Ch, channel number 1–4 (see Table 1 on page 22) Target marker number 1–15, or reference marker number 16 (see...
  • Page 82: Scpi.calculate(Ch).Selected.marker(Mk).Function.target

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.TARGet Property (read/write) Object Type Double Data Type Marker Mk of the active trace of channel Ch, channel number 1–4 (see Table 1 on page 22) Target marker number 1–15, or reference marker number 16 (see...
  • Page 83: Scpi.calculate(Ch).Selected.marker(Mk).Function.tracking

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.TRACking Property (read/write) Object Type Boolean Data Type Marker Mk of the active trace of channel Ch, channel number 1–4 (see Table 1 on page 22) Target marker number 1–15, or reference marker number 16 (see Table 4 on page 61) The ON/OFF state of the marker search tracking function.
  • Page 84: Scpi.calculate(Ch).Selected.marker(Mk).Function.ttransition

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.TTRansition Property (read/write) Object Type String Data Type Marker Mk of the active trace of channel Ch, channel number 1–4 (see Table 1 on page 22) Target marker number 1–15, or reference marker number 16 (see...
  • Page 85: Scpi.calculate(Ch).Selected.marker(Mk).Function.type

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer(Mk).FUNCtion.TYPE Property (read/write) Object Type String Data Type Marker Mk of the active trace of channel Ch, channel number 1–4 (see Table 1 on page 22) Target marker number 1–15, or reference marker number 16 (see...
  • Page 86: Scpi.calculate(Ch).Selected.marker.reference.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer.REFerence.STATe Property (read/write) Object Type Boolean Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the reference marker. When the reference marker is Description turned ON, all the values of the other markers turn to relative values.
  • Page 87: Scpi.calculate(Ch).Selected.marker(Mk).State

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer(Mk).STATe Property (read/write) Object Type Boolean Data Type Marker Mk of the active trace of channel Ch, channel number 1–4 (see Table 1 on page 22) Target marker number 1–15, or reference marker number 16 (see Table 4 on page 61) The ON/OFF state of a marker.
  • Page 88: Scpi.calculate(Ch).Selected.marker(Mk).X

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer(Mk).X Property (read/write) Object Type Double Data Type Marker Mk of the active trace of channel Ch, channel number 1–4 (see Table 1 on page 22) Target marker number 1–15, or reference marker number 16 (see Table 4 on page 61) The stimulus value of the marker.
  • Page 89: Scpi.calculate(Ch).Selected.marker(Mk).Y

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer(Mk).Y Property (read only) Object Type Variant (Double array) Data Type Marker Mk of the active trace of channel Ch, channel number 1–4 (see Table 1 on page 22) Target marker number 1–15, or reference marker number 16 (see Table 4 on page 61) The response value of the marker.
  • Page 90: Scpi.calculate(Ch).Selected.marker.count

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MARKer.COUNt Property (read/write) Object Type Long Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The number of the turned ON markers. Description from 0 to 16 Range Sets the value of the limit, which is closer to the specified value.
  • Page 91: Scpi.calculate(Ch).Selected.math.function

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MATH.FUNCtion Property (read/write) Object Type String Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The selection of the math operation between the measurement data and the memory trace data.
  • Page 92: Scpi.calculate(Ch).Selected.math.memorize

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MATH.MEMorize Method Object Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) Saves the measurement data to the memory trace. Automatically turns on Description the display of the memory trace.
  • Page 93: Scpi.calculate(Ch).Selected.mstatistics.data

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MSTatistics.DATA Property (read only) Object Type Variant (Double array) Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The math statistics data array. The statistics function is applied either over...
  • Page 94: Scpi.calculate(Ch).Selected.mstatistics.domain.marker.start

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MSTatistics.DOMain.MARKer.STARt Property (read/write) Object Type Long Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The number of the marker, which specifies the start frequency of the math Description statistics range.
  • Page 95: Scpi.calculate(Ch).Selected.mstatistics.domain.marker.stop

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MSTatistics.DOMain.MARKer.STOP Property (read/write) Object Type Long Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The number of the marker, which specifies the stop frequency of the math Description statistics range.
  • Page 96: Scpi.calculate(Ch).Selected.mstatistics.domain.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MSTatistics.DOMain.STATe Property (read/write) Object Type Boolean Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the math statistics range. Description True: Statistics range ON...
  • Page 97: Scpi.calculate(Ch).Selected.mstatistics.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.MSTatistics.STATe Property (read/write) Object Type Boolean Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the math statistics display. Description True: Statistics display ON...
  • Page 98: Scpi.calculate(Ch).Selected. Rlimit.data

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected. RLIMit.DATA Property (read/write) Object Type Variant (Double array) Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) 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.
  • Page 99: Scpi.calculate(Ch).Selected.rlimit.display.line

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.RLIMit.DISPlay.LINE Property (read/write) Object Type Boolean Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the ripple limit line display. Description True: Ripple limit line ON...
  • Page 100: Scpi.calculate(Ch).Selected.rlimit.fail

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.RLIMit.FAIL Property (read only) Object Type Boolean Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) Ripple limit test result. Description True: Fail Allowable Values False: Pass...
  • Page 101: Scpi.calculate(Ch).Selected.rlimit.report.data

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.RLIMit.REPort.DATA Property (read only) Object Type Variant (Double array) Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The data array, which is the ripple limit test results. The array size is 1+3N, where N is the number of ripple limit bands.
  • Page 102: Scpi.calculate(Ch).Selected.rlimit.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.RLIMit.STATe Property (read/write) Object Type Boolean Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the ripple limit test. Description True: Ripple limit test ON...
  • Page 103: Scpi.calculate(Ch).Selected.smoothing.aperture

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.SMOothing.APERture Property (read/write) Object Type Double Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The smoothing aperture for the smoothing function Description from 0.01 to 20 Range Sets the value of the limit, which is closer to the specified value.
  • Page 104: Scpi.calculate(Ch).Selected.smoothing.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.SMOothing.STATe Property (read/write) Object Type Boolean Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the trace smoothing function. Description True: Trace smoothing ON...
  • Page 105: Scpi.calculate(Ch).Selected.transform.distance.center

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.TRANsform.DISTance.CENTer Property (read/write) Object Type Double Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) Еhe time domain center value, when the time domain transformation Description function is turned ON.
  • Page 106: Scpi.calculate(Ch).Selected.transform.kwindow

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.TRANsform.KWINdow Property (read/write) Object Type String Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The Kaiser–Bessel window shape, when performing time domain Description transformation. "MINimum" : minimum window shape "NORMal"...
  • Page 107: Scpi.calculate(Ch).Selected.transform.distance.span

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.TRANsform.DISTance.SPAN Property (read/write) Object Type Double Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The time domain span value, when the time domain transformation function Description is turned ON.
  • Page 108: Scpi.calculate(Ch).Selected.transform. Distance.minimum

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.TRANsform. DISTance.MINimum Property (read/write) Object Type Double Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The start value used for the transformation function of the time domain Description function.
  • Page 109: Scpi.calculate(Ch).Selected.transform.distance.maximum

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).SELected.TRANsform.DISTance.MAXimum Property (read/write) Object Type Double Data Type The active trace of channel Ch, Target channel number 1–4 (see Table 1 on page 22) The time domain stop value, when the time domain transformation function Description is turned ON.
  • Page 110: Scpi.calculate(Ch).Trace(Tr).Data.fdata

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).TRACe(Tr).DATA.FDATa Object Type Property (read only) Data Type Variant (Double array) The specified trace Tr of channel Ch, trace number 1–4 (see Table 3 on page 29) Target channel number 1–4 (see Table 1 on page 22) The formatted data array.
  • Page 111: Scpi.calculate(Ch).Trace(Tr).Data.fmemory

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch).TRACe(Tr).DATA.FMEMory Object Type Property (read only) Data Type Variant (Double array) The specified trace Tr of channel Ch, trace number 1–4 (see Table 3 on page 29) Target channel number 1–4 (see Table 1 on page 22) The formatted memory array.
  • Page 112: Scpi.calculate(Ch). Trace(Tr).Data.sdata

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch). TRACe(Tr).DATA.SDATa Object Type Property (read only) Data Type Variant (Double array) The specified trace Tr of channel Ch, trace number 1–4 (see Table 3 on page 29) Target channel number 1–4 (see Table 1 on page 22) The corrected data array.
  • Page 113: Scpi.calculate(Ch). Trace(Tr).Data.smemory

    PLANAR R54x2 COM/DCOM Programming manual SCPI.CALCulate(Ch). TRACe(Tr).DATA.SMEMory Object Type Property (read only) Data Type Variant (Double array) The specified trace Tr of channel Ch, trace number 1–4 (see Table 1 on page 32) Target channel number 1–4 (see Table 1 on page 22) The corrected memory array.
  • Page 114: Scpi.display.color.back

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.COLor.BACK Property (read/write) Object Type Variant (Long array) Data Type Instrument Target The background color for trace display. The array contains 3 elements: Description Data(0) Red value R; Data(1) Green value G; Data(2) Blue value B.
  • Page 115: Scpi.display.color.graticule

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.COLor.GRATicule Property (read/write) Object Type Variant (Long array) Data Type Instrument Target The grid and the graticule label color for trace display. The array contains 3 elements: Description Data(0) Red value R; Data(1) Green value G;...
  • Page 116: Scpi.display.color.reset

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.COLor.RESet Method Object Type Instrument Target Restores the display settings to the default values. Description app.SCPI.DISPlay.COLor.RESet Syntax System > Display > Preset Equivalent Softkeys...
  • Page 117: Scpi.display.color.trace(Tr).Data

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.COLor.TRACe(Tr).DATA Property (read/write) Object Type Variant (Long array) Data Type Trace number Tr in all channels, Target trace number 1–4 (see Table 3 on page 29) The data trace color. The array contains 3 elements: Data(0) Red value R;...
  • Page 118: Scpi.display.color.trace(Tr).Memory

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.COLor.TRACe(Tr).MEMory Property (read/write) Object Type Variant (Long array) Data Type Trace number Tr in all channels Target trace number 1–4 (see Table 3 on page 29) The memory trace color. The array contains 3 elements:...
  • Page 119: Scpi.display.fsign

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.FSIGn Property (read/write) Object Type Boolean Data Type Instrument Target The ON/OFF state of the Fail sign display, when performing limit test or Description ripple limit test. True: Fail sign display ON Allowable Values False: Fail sign display OFF...
  • Page 120: Scpi.display.image

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.IMAGe Property (read/write) Object Type String Data Type Instrument Target The inverted color display of the data traces. Description "NORMal" : Normal display Range "INVert" : Inverted color display The short format of the parameter is indicated by upper case letters. There is...
  • Page 121: Scpi.display.split

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.SPLit Property (read/write) Object Type Long Data Type Instrument Target The number and layout of the channel windows on the screen. The channel Description window layout is in Table 5 below. 1, 2 and 6 Range Sets the value of the limit, which is closer to the specified value.
  • Page 122: Scpi.display.update_.Immediate

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.UPDate_.IMMediate Method Object Type Instrument Target Updates the display once, when the display update is set to OFF Description SCPI.DISPlay.ENABle property is set to False). app.SCPI.DISPlay.UPDate_.IMMediate Syntax Equivalent Softkeys None SCPI.DISPlay.WINDow(Ch).ACTivate Method Object Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22)
  • Page 123: Scpi.display.window(Ch).Annotation.marker.align.type

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.WINDow(Ch).ANNotation.MARKer.ALIGn.TYPE Property (read/write) Object Type String Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The alignment mode of the marker display position of each trace, when the only active...
  • Page 124: Scpi.display.window(Ch).Annotation.marker.single.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.WINDow(Ch).ANNotation.MARKer.SINGle.STATe Property (read/write) Object Type Boolean Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the marker display for the active trace only. Description True: Only active trace markers display ON...
  • Page 125: Scpi.display.window(Ch).Title.data

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.WINDow(Ch).TITLe.DATA Property (read/write) Object Type String Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The channel title label. Description up to 254 characters Range "" Preset Value Dim Text As String Text = app.SCPI.DISPlay.WINDow(Ch).TITLe.DATA...
  • Page 126: Scpi.display.window(Ch).Title.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.WINDow(Ch).TITLe.STATe Property (read/write) Object Type Boolean Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the title label display. Description True: Title label display ON Allowable Values...
  • Page 127: Scpi.display.window(Ch).Trace(Tr).Annotation.marker. Position.x

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.WINDow(Ch).TRACe(Tr).ANNotation.MARKer. POSition.X Property (read/write) Object Type Double Data Type Trace Tr of channel Ch, channel number 1–4 (see Table 1 on page 22) Target trace number 1–4 (see Table 3 on page 29) The display position of the marker value on the X–axis by a percentage of Description the display width.
  • Page 128: Scpi.display.window(Ch).Trace(Tr).Annotation.marker. Position.y

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.WINDow(Ch).TRACe(Tr).ANNotation.MARKer. POSition.Y Property (read/write) Object Type Double Data Type Trace Tr of channel Ch, channel number 1–4 (see Table 1 on page 22) Target trace number 1–4 (see Table 3 on page 29) The display position of the marker value on the Y–axis by a percentage of Description the display height.
  • Page 129: Scpi.display.window(Ch).Trace(Tr).Y.scale.auto

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.WINDow(Ch).TRACe(Tr).Y.SCALe.AUTO Method Object Type Trace Tr of channel Ch, channel number 1–4 (see Table 1 on page 22) Target trace number 1–4 (see Table 3 on page 29) Executes the auto scale function for the trace.
  • Page 130: Scpi.display.window(Ch).Trace(Tr).Y.scale.pdivision

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.WINDow(Ch).TRACe(Tr).Y.SCALe.PDIVision Property (read/write) Object Type Double Data Type Trace Tr of channel Ch, channel number 1–4 (see Table 1 on page 22) Target trace number 1–4 (see Table 3 on page 29) The trace scale. Sets the scale per division, when the data format is the rectangular format.
  • Page 131: Scpi.display.window(Ch).Trace(Tr).Y.scale.rlevel

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.WINDow(Ch).TRACe(Tr).Y.SCALe.RLEVel Property (read/write) Object Type Double Data Type Trace Tr of channel Ch, channel number 1–4 (see Table 1 on page 22) Target trace number 1–4 (see Table 3 on page 29) The value of the reference line (response value on the reference line). For Description the rectangular format only.
  • Page 132: Scpi.display.window(Ch).Trace(Tr).Y.scale.rposition

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.WINDow(Ch).TRACe(Tr).Y.SCALe.RPOSition Property (read/write) Object Type Long Data Type Trace Tr of channel Ch, channel number 1–4 (see Table 1 on page 22) Target trace number 1–4 (see Table 3 on page 29) The position of the reference line. For the rectangular format only.
  • Page 133: Scpi.display.window(Ch).Y.scale.divisions

    PLANAR R54x2 COM/DCOM Programming manual SCPI.DISPlay.WINDow(Ch).Y.SCALe.DIVisions Property (read/write) Object Type Long Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22). The number of the vertical scale divisions. For the rectangular format only. Description from 4 to 20 Range Sets the value of the limit, which is closer to the specified value.
  • Page 134: Scpi.hcopy.date.stamp

    PLANAR R54x2 COM/DCOM Programming manual SCPI.HCOPy.DATE.STAMp Property (read/write) Object Type Boolean Data Type Instrument Target The ON/OFF state of the current date and time printout in the upper right Description corner. True: Date & time printout ON Allowable Values False: Date & time printout OFF...
  • Page 135: Scpi.hcopy.image

    PLANAR R54x2 COM/DCOM Programming manual SCPI.HCOPy.IMAGe Property (read/write) Object Type String Data Type Instrument Target The inverted color image printout. Description "NORMal" : Normal printout Range "INVert" : Inverted color printout The short format of the parameter is indicated by upper case letters. There is...
  • Page 136: Scpi.hcopy.immediate

    PLANAR R54x2 COM/DCOM Programming manual SCPI.HCOPy.IMMediate Method Object Type Instrument Target Prints out the image displayed on the screen without previewing. Description app.SCPI.HCOPy.IMMediate Syntax Equivalent Softkeys None...
  • Page 137: Scpi.hcopy.paint

    PLANAR R54x2 COM/DCOM Programming manual SCPI.HCOPy.PAINt Property (read/write) Object Type String Data Type Instrument Target The color chart for the image printout. Description "COLor" : Color printout "GRAY" : Grayscale printout Range "BW" : Black&white printout The short format of the parameter is indicated by upper case letters. There is...
  • Page 138: Scpi.ieee4882.Idn

    PLANAR R54x2 COM/DCOM Programming manual SCPI.IEEE4882.IDN Property (read only) Object Type String Data Type Instrument Target The instrument information string. The string format: ''{manufacturer}, Description {model}, {serial number}, {software version/firmware version}''. up to 40 characters Range Dim ID As String Syntax ID = app.SCPI.IEEE4882.IDN...
  • Page 139: Scpi.ieee4882.Rst

    PLANAR R54x2 COM/DCOM Programming manual SCPI.IEEE4882.RST Method Object Type Instrument Target Restores the default settings of the instrument. There is difference from presetting the instrument with the method – in this Description SCPI.SYSTem.PRESet case the trigger mode is set to Hold.
  • Page 140: Scpi.ieee4882.Wai

    PLANAR R54x2 COM/DCOM Programming manual SCPI.IEEE4882.WAI Method Object Type Instrument Target Waits for the execution of all commands sent before this command. Description app.SCPI.IEEE4882.WAI Syntax Equivalent Softkeys None...
  • Page 141: Scpi.initiate(Ch).Continuous

    PLANAR R54x2 COM/DCOM Programming manual SCPI.INITiate(Ch).CONTinuous Property (read/write) Object Type Boolean Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the continuous trigger initiation mode. If the continuous trigger initiation mode is set to OFF, the channel turns to the Description hold state.
  • Page 142: Scpi.initiate(Ch).Immediate

    PLANAR R54x2 COM/DCOM Programming manual SCPI.INITiate(Ch).IMMediate Method Object Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) Sets the channel to the single trigger mode. Before this method is called, the channel must be in hold state, otherwise an error occurs (error code 213) and the method is ignored.
  • Page 143: Scpi.mmemory.copy(Src, Dst)

    PLANAR R54x2 COM/DCOM Programming manual SCPI.MMEMory.COPY(Src, Dst) Method Object Type Instrument Target Copies a file. Description app.SCPI.MMEMory.COPY(Src, Dst) Syntax – Source file name. String data type. Parameter – Destination file name. String data type. None Equivalent Softkeys SCPI.MMEMory.DELete(File) Method Object Type...
  • Page 144: Scpi.mmemory.load.ckit(Ck)

    PLANAR R54x2 COM/DCOM Programming manual SCPI.MMEMory.LOAD.CKIT(Ck) Property (write only) Object Type String Data Type Calibration kit Ck, Target calibration kit number 1–14 (see Table 6 on page 136) Recalls the definition file for the calibration kit. The file must be saved by Description property.
  • Page 145: Scpi.mmemory.load.limit

    PLANAR R54x2 COM/DCOM Programming manual SCPI.MMEMory.LOAD.LIMit Property (write only) Object Type String Data Type Active trace of the active channel. Target Recalls the specified limit table file. The file must be saved by the Description property. SCPI.MMEMory.STORe.LIMit up to 254 characters Range app.SCPI.MMEMory.LOAD.LIMit = File...
  • Page 146: Scpi.mmemory.load.rlimit

    PLANAR R54x2 COM/DCOM Programming manual SCPI.MMEMory.LOAD.RLIMit Property (write only) Object Type String Data Type Active trace of the active channel. Target Recalls the ripple limit table file. The file must be saved by the Description property. SCPI.MMEMory.STORe.RLIMit up to 254 characters Range app.SCPI.MMEMory.LOAD.RLIMit = File...
  • Page 147: Scpi.mmemory.load.segment

    PLANAR R54x2 COM/DCOM Programming manual SCPI.MMEMory.LOAD.SEGMent Property (write only) Object Type String Data Type Active channel Target Recalls the segment table file. The file must be saved by the Description property. SCPI.MMEMory.STORe.SEGMent up to 254 characters Range app.SCPI.MMEMory.LOAD.SEGMent = File...
  • Page 148: Scpi.mmemory.load.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.MMEMory.LOAD.STATe Property (write only) Object Type String Data Type Instrument Target Recalls the specified instrument state file. The file must be saved by the Description property. SCPI.MMEMory.STORe.STATe up to 254 characters Range app.SCPI.MMEMory.LOAD.STATe = File...
  • Page 149: Scpi.mmemory.mdirectory

    PLANAR R54x2 COM/DCOM Programming manual SCPI.MMEMory.MDIRectory Property (write only) Object Type String Data Type Instrument Target Creates a new directory (folder). Contains the full path to the folder being Description created. up to 254 characters Range app.SCPI.MMEMory.MDIRectory = Path Syntax...
  • Page 150: Scpi.mmemory.store.ckit(Ck)

    PLANAR R54x2 COM/DCOM Programming manual SCPI.MMEMory.STORe.CKIT(Ck) Property (write only) Object Type String Data Type Calibration kit Ck, Target calibration kit number 1–11 (see Table 6 on page 136) Saves the definition file for the calibration kit parameters. Description up to 254 characters Range app.SCPI.MMEMory.STORe.CKIT(Ck) = File...
  • Page 151: Scpi.mmemory.store.fdata

    PLANAR R54x2 COM/DCOM Programming manual SCPI.MMEMory.STORe.FDATa Property (write only) Object Type String Data Type Active trace of the active channel Target Saves the CSV formatted data into a file. Description up to 254 characters Range app.SCPI.MMEMory.STORe.FDATa = File Syntax If the full path to the file is not specified, the file will be saved to the \CSV Notes subdirectory of the main directory.
  • Page 152: Scpi.mmemory.store.image

    PLANAR R54x2 COM/DCOM Programming manual SCPI.MMEMory.STORe.IMAGe Property (write only) Object Type String Data Type Instrument Target Saves the display image in BMP or PNG format into a file. Description up to 254 characters Range app.SCPI.MMEMory.STORe.IMAGe = File Syntax If the full path to the file is not specified, the file will be saved to the \Image subdirectory of the main directory.
  • Page 153: Scpi.mmemory.store.limit

    PLANAR R54x2 COM/DCOM Programming manual SCPI.MMEMory.STORe.LIMit Property (write only) Object Type String Data Type Active trace of the active channel Target Saves the limit table into a file with the specified name. Description up to 254 characters Range app.SCPI.MMEMory.STORe.LIMit = File...
  • Page 154: Scpi.mmemory.store.rlimit

    PLANAR R54x2 COM/DCOM Programming manual SCPI.MMEMory.STORe.RLIMit Property (write only) Object Type String Data Type Active trace of the active channel Target Saves the ripple limit table into a file with the specified name. Description up to 254 characters Range app.SCPI.MMEMory.STORe.RLIMit = File...
  • Page 155: Scpi.mmemory.store.segment

    PLANAR R54x2 COM/DCOM Programming manual SCPI.MMEMory.STORe.SEGMent Property (write only) Object Type String Data Type Active channel Target Saves the segment table in a file with the specified name. Description up to 254 characters Range app.SCPI.MMEMory.STORe.SEGMent = File Syntax If the full path to the file is not specified, the file will be saved to the \Segment subdirectory of the main directory.
  • Page 156: Scpi.mmemory.store.snp.data

    PLANAR R54x2 COM/DCOM Programming manual SCPI.MMEMory.STORe.SNP.DATA Property (write only) Object Type String Data Type Active channel Target Saves the measured S–parameters of the active channel into a Touchstone file with the specified name. The 1–port type file saves one reflection Description parameter: S11.
  • Page 157: Scpi.mmemory.store.snp.format

    PLANAR R54x2 COM/DCOM Programming manual SCPI.MMEMory.STORe.SNP.FORMat Property (read/write) Object Type String Data Type Active channel Target The data format for the S–parameters saving by the Description property. SCPI.MMEMory.STORe.SNP.DATA " MA" : Logarithmic Magnitude / Angle format " DB" : Linear Magnitude / Angle format Range "...
  • Page 158: Scpi.mmemory.store.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.MMEMory.STORe.STATe Property (write only) Object Type String Data Type Instrument Target Saves the instrument state into a file with the specified name. Description up to 254 characters Range app.SCPI.MMEMory.STORe.STATe = File Syntax If the full path to the file is not specified, the file will be saved to the \State subdirectory of the main directory.
  • Page 159: Scpi.mmemory.store.stype

    PLANAR R54x2 COM/DCOM Programming manual SCPI.MMEMory.STORe.STYPe Property (read/write) Object Type String Data Type Instrument Target Selects the type of the instrument or channel state saving by the Description SCPI.MMEMory.STORe.STATe SCPI.MMEMory.STORe.CHANnel.STATe property. "STATe" : Measurement conditions Range "CSTate" : Measurement conditions and calibration tables The short format of the parameter is indicated by upper case letters.
  • Page 160: Scpi.sense(Ch).Average.clear

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).AVERage.CLEar Method Object Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) Resets the averaging data count to 0. Restarts the averaging process. Description app.SCPI.SENSe(Ch).AVERage.CLEar Syntax Equivalent Softkeys None...
  • Page 161: Scpi.sense(Ch).Average.count

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).AVERage.COUNt Property (read/write) Object Type Long Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The averaging factor, when the averaging function is set to ON by the Description property.
  • Page 162: Scpi.sense(Ch).Average.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).AVERage.STATe Property (read/write) Object Type Boolean Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the averaging function. Description True: Averaging ON Allowable Values False: Averaging OFF...
  • Page 163: Scpi.sense(Ch).Bandwidth.resolution

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).BANDwidth.RESolution Property (read/write) Object Type Double Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The IF bandwidth value. Description from 100 to 30000 Range In steps of 3. (100, 300, 1000, 3000, 10000, 30000) Resolution Sets the value of the limit, which is closer to the specified value.
  • Page 164: Scpi.sense(Ch).Correction.clear

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.CLEar Method Object Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) Clears the calibration coefficient table. Description app.SCPI.SENSe(Ch).CORRection.CLEar Syntax None Equivalent Softkeys...
  • Page 165: Scpi.sense(Ch).Correction.coefficient.data(Str, Pt_R, Pt_S)

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COEFficient.DATA(Str, Pt_r, Pt_s) Property (read only) Object Type Variant (Double array) Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The calibration coefficient data array set by the type of the corrected error...
  • Page 166: Scpi.sense(Ch).Correction.collect.acquire.load

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.ACQuire.LOAD Property (write only) Object Type Long Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) Measures the calibration data of the load standard for the specified port. Description Port number is 1 - 2.
  • Page 167: Scpi.sense(Ch).Correction.collect.acquire.open

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.ACQuire.OPEN Property (write only) Object Type Long Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) Measures the calibration data of the open standard for the specified port. Description Port number is 1 - 2.
  • Page 168: Scpi.sense(Ch).Correction.collect.acquire.short

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.ACQuire.SHORt Property (write only) Object Type Long Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) Measures the calibration data of the short standard for the specified port. Description Port number is 1 - 2.
  • Page 169: Scpi.sense(Ch).Correction.collect.acquire.thru

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.ACQuire.THRU Property (write only) Object Type Variant (Long array) Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) Measures the calibration data of the thru standard between the source port and the receiver port.
  • Page 170: Scpi.sense(Ch).Correction.collect.ckit.label

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.CKIT.LABel Property (read/write) Object Type String Data Type Calibration kit, selected for channel Ch, Target channel number 1–4 (see Table 1 on page 22) The calibration kit label. Description up to 254 characters Range Varies depending on the number of the calibration kit.
  • Page 171: Scpi.sense(Ch).Correction.collect.ckit.reset

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.CKIT.RESet Method Object Type Calibration kit, selected for channel Ch, Target channel number 1–4 (see Table 1 on page 22) Resets the calibration kit to the factory settings. Description app.SCPI.SENSe(Ch).CORRection.COLLect.CKIT.RESet Syntax Calibration > Calibration Kit > Edit Cal Kit > Restore Equivalent Softkeys SCPI.SENSe(Ch).CORRection.COLLect.CKIT.SELect...
  • Page 172 PLANAR R54x2 COM/DCOM Programming manual Table 7. Std: Calibration Standard Number Long Data Type The number of the standard. Description Varies depending on the number of the standards in the calibration kit. Range If the specified standard number is greater than the number of standards in Out of Range the kit, an error occurs (error code: 222).
  • Page 173: Scpi.sense(Ch).Correction.collect.ckit.stan(Std).C0

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).C0 Property (read/write) Object Type Double Data Type Standard Std of the calibration kit specified for channel Ch, channel number 1–4 (see Table 1 on page 22) Target Std: standard number (see Table 7 on page 167) The C0 value of the open calibration standard.
  • Page 174: Scpi.sense(Ch).Correction.collect.ckit.stan(Std).C1

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).C1 Property (read/write) Object Type Double Data Type Standard Std of the calibration kit specified for channel Ch, channel number 1–4 (see Table 1 on page 22) Target Std: standard number (see Table 7 on page 167) The C1 value of the open calibration standard.
  • Page 175: Scpi.sense(Ch).Correction.collect.ckit.stan(Std).C2

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).C2 Property (read/write) Object Type Double Data Type Standard Std of the calibration kit specified for channel Ch, channel number 1–4 (see Table 1 on page 22) Target Std: standard number (see Table 7 on page 167) The C2 value of the open calibration standard.
  • Page 176: Scpi.sense(Ch).Correction.collect.ckit.stan(Std).C3

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).C3 Property (read/write) Object Type Double Data Type Standard Std of the calibration kit specified for channel Ch, channel number 1–4 (see Table 1 on page 22) Target Std: standard number (see Table 7 on page 167) The C3 value of the open calibration standard.
  • Page 177: Scpi.sense(Ch).Correction.collect.ckit.stan(Std).Delay

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).DELay Property (read/write) Object Type Double Data Type Standard Std of the calibration kit specified for channel Ch, channel number 1–4 (see Table 1 on page 22) Target Std: standard number (see Table 7 on page 167) The offset delay value of the calibration standard.
  • Page 178: Scpi.sense(Ch).Correction.collect.ckit.stan(Std).L0

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).L0 Property (read/write) Object Type Double Data Type Standard Std of the calibration kit specified for channel Ch, channel number 1–4 (see Table 1 on page 22) Target Std: standard number (see Table 7 on page 167) The L0 value of the short calibration standard.
  • Page 179: Scpi.sense(Ch).Correction.collect.ckit.stan(Std).L1

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).L1 Property (read/write) Object Type Double Data Type Standard Std of the calibration kit specified for channel Ch, channel number 1–4 (see Table 1 on page 22) Target Std: standard number (see Table 7 on page 167) The L1 value of the short calibration standard.
  • Page 180: Scpi.sense(Ch).Correction.collect.ckit.stan(Std).L2

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).L2 Property (read/write) Object Type Double Data Type Standard Std of the calibration kit specified for channel Ch, channel number 1–4 (see Table 1 on page 22) Target Std: standard number (see Table 7 on page 167) The L2 value of the short calibration standard.
  • Page 181: Scpi.sense(Ch).Correction.collect.ckit.stan(Std).L3

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).L3 Property (read/write) Object Type Double Data Type Standard Std of the calibration kit specified for channel Ch, channel number 1–4 (see Table 1 on page 22) Target Std: standard number (see Table 7 on page 167) The L3 value of the short calibration standard.
  • Page 182: Scpi.sense(Ch).Correction.collect.ckit.stan(Std).Label

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).LABel Property (read) Object Type String Data Type Standard Std of the calibration kit specified for channel Ch, channel number 1–4 (see Table 1 on page 22) Target Std: standard number (see Table 7 on page 167) The label of the calibration standard.
  • Page 183: Scpi.sense(Ch).Correction.collect.ckit.stan(Std).Loss

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).LOSS Property (read/write) Object Type Double Data Type Standard Std of the calibration kit specified for channel Ch, channel number 1–4 (see Table 1 on page 22) Target Std: standard number (see Table 7 on page 167) The offset loss value of the calibration standard.
  • Page 184: Scpi.sense(Ch).Correction.collect.ckit.stan(Std).Type

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).TYPE Property (read) Object Type String Data Type Standard Std of the calibration kit specified for channel Ch, channel number 1–4 (see Table 1 on page 22) Target Std: standard number (see Table 7 on page 167) The type of the calibration standard.
  • Page 185: Scpi.sense(Ch).Correction.collect.ckit.stan(Std).Z0

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.CKIT.STAN(Std).Z0 Property (read/write) Object Type Double Data Type Standard Std of the calibration kit specified for channel Ch, channel number 1–4 (see Table 1 on page 22) Target Std: standard number (see Table 7 on page 167) The offset Z0 value of the calibration standard.
  • Page 186: Scpi.sense(Ch).Correction.collect.clear

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.CLEar Method Object Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) Clears the measurement values of the calibration standards. Description app.SCPI.SENSe(Ch).CORRection.COLLect.CLEar Syntax Equivalent Softkeys Calibration > Open | Short | Load > Cancel...
  • Page 187: Scpi.sense(Ch).Correction.collect.method.response.open

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.METHod.RESPonse.OPEN Property (write only) Object Type Long Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) Selects the port and sets the response calibration (Open) type for the calculation of the calibration coefficients on completion of the calibration...
  • Page 188: Scpi.sense(Ch).Correction.collect.method.response.short

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.METHod.RESPonse.SHORt Property (write only) Object Type Long Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) Selects the port and sets the response calibration (Short) type for the calculation of the calibration coefficients on completion of the calibration...
  • Page 189: Scpi.sense(Ch).Correction.collect.method.solt1

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.METHod.SOLT1 Property (write only) Object Type Long Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) Selects the port and sets the full 1–port calibration type for the calculation of the calibration coefficients on completion of the calibration executed by Description method.
  • Page 190: Scpi.sense(Ch).Correction.collect.method.response.thru

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.METHod.RESPonse.THRU Property (write only) Object Type Variant (Long array) Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) Selects the ports and sets the response calibration (Thru) type for the...
  • Page 191: Scpi.sense(Ch).Correction.collect.method.dual

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.METHod.DUAL Property (write only) Object Type Variant (Long array) Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) Selects the port and sets the full 1–port with scalar Thru calibration type for...
  • Page 192: Scpi.sense(Ch).Correction.collect.method.type

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.METHod.TYPE Property (read only) Object Type String Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The calibration type selected for calculating of the calibration coefficients on completion of the calibration executed by the Description method.
  • Page 193: Scpi.sense(Ch).Correction.collect.save

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.COLLect.SAVE Method Object Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) Calculates the calibration coefficients from the calibration standards measurements depending on the selected calibration type. On completion of the method, all the calibration standards measurements Description are cleared and the error correction automatically turns ON.
  • Page 194: Scpi.sense.correction.impedance.input.magnitude

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe.CORRection.IMPedance.INPut.MAGNitude Property (read/write) Object Type Double Data Type Instrument Target The system impedance Z0. Description from 0.001 to 1000 Range Sets the value of the limit, which is closer to the specified value. Out of Range Preset Value Ω...
  • Page 195: Scpi.sense(Ch).Correction.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.STATe Property (read/write) Object Type Boolean Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The ON/OFF state of the error correction. Description True: Error correction ON Allowable Values False: Error correction OFF...
  • Page 196: Scpi.sense(Ch).Correction.type(Tr)

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).CORRection.TYPE(Tr) Property (read only) Object Type Variant (Variant array) Data Type Trace Tr of channel Ch, channel number 1–4 (see Table 1 on page 22) Target trace number 1–4 (see Table 3 on page 29) The information about the applied calibration type and the port numbers for the specified trace.
  • Page 197: Scpi.sense(Ch).Frequency.center

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).FREQuency.CENTer Property (read/write) Object Type Double Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The stimulus center value of the sweep range for linear or logarithmic sweep Description types.
  • Page 198: Scpi.sense(Ch).Frequency.data

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).FREQuency.DATA Property (read only) Object Type Variant (Double array) Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The array of the measurement points frequency for linear, logarithmic or segment sweep type.
  • Page 199: Scpi.sense(Ch).Frequency.span

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).FREQuency.SPAN Property (read/write) Object Type Double Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The stimulus span value of the sweep range for linear or logarithmic sweep Description types.
  • Page 200: Scpi.sense(Ch).Frequency.start

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).FREQuency.STARt Property (read/write) Object Type Double Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The stimulus start value of the sweep range for linear or logarithmic sweep Description types.
  • Page 201: Scpi.sense(Ch).Frequency.stop

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).FREQuency.STOP Property (read/write) Object Type Double Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The stimulus stop value of the sweep range for linear or logarithmic sweep Description types.
  • Page 202: Scpi.sense(Ch).Segment.data

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).SEGMent.DATA Property (read/write) Object Type Variant (Double array) Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The array of the segment sweep table. The array has the following format: { <Buf>, <Flag1>, <Flag2>, <Flag3>, <Flag4>, <Flag5>, <N>,...
  • Page 203: Scpi.sense(Ch).Sweep.point.time

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).SWEep.POINt.TIME Property (read/write) Object Type Double Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The value of the delay before measurement in each measurement point. Description from 0 to 0.3...
  • Page 204: Scpi.sense(Ch).Sweep.points

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).SWEep.POINts Property (read/write) Object Type Long Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The number of measurement points. Description from 2 to 10001 Range Sets the value of the limit, which is closer to the specified value.
  • Page 205: Scpi.sense(Ch).Sweep.type

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SENSe(Ch).SWEep.TYPE Property (read/write) Object Type String Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) Sets the sweep type. Description "LINear" : Linear frequency sweep "LOGarithmic" : Logarithmic frequency sweep Range "SEGMent"...
  • Page 206: Scpi.service.channel.active

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SERVice.CHANnel.ACTive Property (read only) Object Type Long Data Type Instrument Target The number of the active channel. Description Dim Value As Long Syntax Value = app.SCPI.SERVice.CHANnel.ACTive None Equivalent Softkeys SCPI.SERVice.CHANnel.COUNt Property (read only) Object Type...
  • Page 207: Scpi.service.channel(Ch).Trace.active

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SERVice.CHANnel(Ch).TRACe.ACTive Property (read only) Object Type Long Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The active trace number of the channel. Description Dim Value As Long Syntax Value = app.SCPI.SERVice.CHANnel(Ch).TRACe.ACTive...
  • Page 208: Scpi.service.port.count

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SERVice.PORT.COUNt Property (read only) Object Type Long Data Type Instrument Target The number of the ports. Description Dim Value As Long Syntax Value = app.SCPI.SERVice.PORT.COUNt None Equivalent Softkeys SCPI.SERVice.SWEep.FREQency.MAXimum Property (read only) Object Type Double...
  • Page 209: Scpi.service.sweep.freqency.minimum

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SERVice.SWEep.FREQency.MINimum Property (read only) Object Type Double Data Type Instrument Target The lower limit of the measurement frequency. Description Dim Value As Double Syntax Value = app.SCPI.SERVice.SWEep.FREQency.MINimum None Equivalent Softkeys SCPI.SERVice.SWEep.POINts Property (read only) Object Type...
  • Page 210: Scpi.source(Ch).Power.level.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SOURce(Ch).POWer.LEVel.STATe Property (read/write) Object Type String Data Type Channel Ch, Target channel number 1–4 (see Table 1 on page 22) The power level for the frequency sweep. Description “HIGH” – high output power; Range “LOW” – low output power.
  • Page 211: Scpi.system.correction.state

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SYSTem.CORRection.STATe Property (read/write) Object Type Boolean Data Type Instrument Target The ON/OFF state of the system error correction. Description True: System error correction ON Allowable Values False: System error correction OFF True Preset Value Dim Status As Boolean Status = app.SCPI.SYSTem.CORRection.STATe...
  • Page 212: Scpi.system.date

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SYSTem.DATE Property (read/write) Object Type Variant (Long array) Data Type Instrument Target The current date. The array consists of three elements: Description Data(0) year from 1900 to 2100; Data(1) month from 1 to 12; Data(2) day from 1 to 31.
  • Page 213: Scpi.system.dtfunit

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SYSTem.DTFUnit Property (read/write) Object Type String Data Type Instrument Target Set the unit of measurement for time domain. Description “SEC” – seconds; “METR” – metre; Range “FT” – feet. An error occurs. Error code: 200.
  • Page 214: Scpi.system.time

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SYSTem.TIME Property (read/write) Object Type Variant (Long array) Data Type Instrument Target The current time. The array consists of three elements: Description Data(0) hours from 0 to 23; Data(1) minutes from 0 to 59; Data(2) seconds from 0 to 59.
  • Page 215: Scpi.system.local

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SYSTem.LOCal Method Object Type Instrument Target Sets the instrument to the local operation mode, when all the keys on the Description front panel, mouse and the touch screen are active. app.SCPI.SYSTem.LOCal Syntax SCPI.SYSTem.RWLock Related Commands...
  • Page 216: Scpi.system.hide

    PLANAR R54x2 COM/DCOM Programming manual SCPI.SYSTem.HIDe Method Object Type Instrument Target Make the main form of a application invisible. Description app.SCPI.SYSTem.HIDe Syntax SCPI.SYSTem.SHOw Related Commands None Equivalent Softkeys SCPI.SYSTem.SHOw Method Object Type Instrument Target Return the main form of a application to visible state.
  • Page 217: Scpi.trigger.sequence.immediate

    PLANAR R54x2 COM/DCOM Programming manual SCPI.TRIGger.SEQuence.IMMediate Method Object Type Instrument Target Generates a trigger, independently of the trigger source setting (except for the External). If the trigger source is set to External, an error occurs (error code 221) and the command is ignored.
  • Page 218: Scpi.trigger.sequence.single

    PLANAR R54x2 COM/DCOM Programming manual SCPI.TRIGger.SEQuence.SINGle Method Object Type Instrument Target Generates a trigger, independently of the trigger source setting (except for the External). If the trigger source is set to External, an error occurs (error code 221) and the command is ignored.
  • Page 219: Scpi.trigger.sequence.source

    PLANAR R54x2 COM/DCOM Programming manual SCPI.TRIGger.SEQuence.SOURce Property (read/write) Object Type String Data Type Instrument Target Selects the sweep trigger source. Description "INTernal" : Internal Range "BUS" : Bus The short format of the parameter is indicated by upper case letters. There is...
  • Page 220: Appendix 1. Error Codes

    Appendix 1. Error Codes "Header suffix out of range" "Execution error" "Trigger ignored" "Init ignored" "Parameter Error" "Data out of range" "Illegal parameter value" "Invalid channel index" "Invalid trace index" "Invalid marker index" "Marker is not active" "Invalid save type specifier" "Invalid sweep type specifier"...
  • Page 221: Appendix 2. Programming Examples

    – the Name property of the COM object. The string contains the following fields: Manufacturer, Model, Serial Number, Software Version/Firmware Version For example: Copper Mountain Technologies, PLANAR R54x2, 00000001, 2.0/ 1.1 Dim app As Object Sub Example1() Set app = CreateObject("R54x2.Application") ID = app.Name...
  • Page 222 Example 2. Checking the Instrument Ready State Normally, the user control program starts when the PlanarR54x2.exe application is running, the instrument booting is completed, and the instrument is ready for use. In some cases, it is recommended to check if the instrument is ready for use. The instrument may be not ready for use if it is not connected to PC via USB cable.
  • Page 223 Example 3. Setting the Measurement Parameters The following program shows the setting of some measurement parameters. First, the instrument is reset to the factory settings. Then the following parameters are set: • Two channel windows are opened and allocated one above the other. •...
  • Page 224 app.SCPI.Calculate(2).Parameter(1).Select app.SCPI.Calculate(2).Selected.Format = "MLOG" app.SCPI.DISPlay.Window(2).TRACe(1).Y.SCALe.AUTO End Sub...
  • Page 225 Example 4. Measurement Data Acquisition The following program shows data array acquisition with further writing into a file. The program also shows the method of a sweep triggering and waiting for the sweep completion. Three variables F, M, P are declared in the second string of the code. They are used for arrays of frequency values (Hz), magnitude values (dB), and phase values (degree) respectively.
  • Page 226 Dim app As Object Dim F, M, P Public Sub Example4() Set app = CreateObject("R54x2.Application") app.SCPI.SYSTem.PRESet app.SCPI.TRIGger.SEQuence.Source = "BUS" app.SCPI.TRIGger.SEQuence.Single F = app.SCPI.SENSe.Frequency.Data app.SCPI.Calculate.Selected.Format = "MLOG" M = app.SCPI.Calculate.Selected.Data.FDATa app.SCPI.Calculate.Selected.Format = "PHASe" P = app.SCPI.Calculate.Selected.Data.FDATa Open "TESTFILE" For Output As #1 For i = LBound(F) To UBound(F) Print #1, F(i), M(i * 2), P(i * 2) Next i...
  • Page 227 Example 5. Program Written in C++ The following C++ program represents an example of the measurement parameter setting, as well as acquisition and display of the measurement data array. The program also shows a method of the sweep triggering and waiting for the sweep completion. //--------------------------------------------------------------------------- // Simple example of using COM object of PlanarR54x2.exe application.
  • Page 228 printf("Press ENTER to exit.\n"); getc(stdin); // Release COM object pNWA.Release(); CoUninitialize(); return 0;...

Table of Contents