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...
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.
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.
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...
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...
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.
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...
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"...
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,...
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.
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...
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.
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.
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.
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.
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–...
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.
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.
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...
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.
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.
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...
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"...
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...
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.
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.
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).
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).
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.
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.
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.
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"...
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.
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.
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...
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.
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"...
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"...
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.
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...
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)
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)
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)
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...
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...
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.
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.
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...
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...
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"...
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.
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.
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...
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.
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.
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.
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.
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.
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...
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.
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.
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.
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...
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.
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"...
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...
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)
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.
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.
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.
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...
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...
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...
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.
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...
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...
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.
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.
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.
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.
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.
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.
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.
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...
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.
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.
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...
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...
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.
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...
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...
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.
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...
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.
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...
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.
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"...
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.
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.
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.
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.
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.
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.
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.
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.
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;...
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;...
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:...
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...
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...
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.
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)
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...
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...
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...
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...
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.
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.
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.
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.
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.
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.
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.
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...
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...
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...
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...
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...
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.
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...
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.
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.
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.
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...
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...
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...
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...
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...
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...
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.
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.
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...
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...
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.
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.
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 "...
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.
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.
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...
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.
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...
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.
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...
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.
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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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...
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...
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...
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.
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...
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...
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.
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.
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 Ω...
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...
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.
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.
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.
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.
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.
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.
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>,...
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...
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.
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"...
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...
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...
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...
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...
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.
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...
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.
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.
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.
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...
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.
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.
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.
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...
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"...
– 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;...