Object Methods; Object Properties - Planar R54 Programming Manual

Vector reflectometer; programming com/dcom
Table of Contents

Advertisement

PLANAR R54x2
7

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
8

Object Properties

Along with methods, objects have properties. Properties are object characteristics that
can be set or read out. The object properties are specified after the object name and
separated from it by a dot.
To modify an object characteristic, write the value of the corresponding property. To
define an object characteristic, read out the value of its property. The following example
show the setting of the POINts property of SWEep object, i.e. the number of sweep
points:
app.SCPI.SENSe.SWEp.POINts = 201
Note
Some object properties cannot be written, and some object
properties cannot be read. In such cases, the properties are
indicated as "read only" or "write only".
COM/DCOM Programming manual
13

Advertisement

Table of Contents
loading

Table of Contents