Precision, Typeinherits – Echelon OpenLNS User Manual

Page 208

Advertising
background image

OpenLNS Programmer's Reference

171

Data Type

Object.

Read/Write

Read only.

Added to API

Depends on the object used to access the property. Generally,

this property exists for an object as soon as the object is

added to the API.

Comments

The parent object is determined by the means in which a

child object is accessed, not by the OpenLNS Object

hierarchy.

Precision

Summary

Determines the precision of the

ConfigProperty

object. This

represents the number of digits that will be used when the

value of the configuration property is read and displayed.
If the data type used by the configuration property is a single

float type, the property defaults to 6 and has a range of 0-7. If

the data type used by the configuration property is a double

float type, the property defaults to 15 and has a range of

0-17.

Availability

Local, full, lightweight, and independent clients.

Syntax

precisionValue = object.Precision

Element

Description

precisionValue The precision of the configuration

property value.

object

The

ConfigProperty

object to be acted

upon.

Data Type

Integer.

Read/Write

Read/write.

Added to API

Prior to LNS Release 3.0.

TypeInherits

Summary

Indicates whether the configuration property inherits its type

from the network variable to which it applies.

Availability

Local, full, lightweight, and independent clients.

Syntax

inherits = configProperty.

TypeInherits

Element

Description

inherits

The value of this property is taken from

the definition of the configuration

property in the device resource files.
If this property is set to 1, then the

configuration property always inherits

its type from the network variable to

which it applies. In this case, you may

need to program your application to

Advertising