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 shows the setting of the POINts property of the 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". |