Methods – Echelon OpenLNS User Manual

Page 270

Advertising
background image

OpenLNS Programmer's Reference

233

the network device containing the source object) by default. You can change this behavior by

setting the AutoRead and AutoWrite properties of the DataPoint object to False. If these

properties are set to False, OpenLNS will not update the source object every time the value

properties of the data point are updated. However, in this case, you can still use data point’s

Write method to write the value stored in these properties to the data point’s source object.

You can also use the Read method to update the value stored in these properties with the

current value of the source object.
Formatting of each data point is handled locally. As a result, formatting changes made to the

value of a data point’s source object by your application do not affect other clients that are

attempting to read the value of the same network variable, monitor point or configuration

property. This will eliminate any confusion that may be caused by formatting changes made

by another client application.
The following table summarizes the DataPoint

object.

Description

A single

point of data in a LONWORKS network

.

Added to API

LNS Release 3.0.

Accessed Through

ConfigProperty

MsgMonitorPoint

NvMonitorPoint

NetworkVariable

Default Property

None.

Methods

GetField

Read

Write

Properties

AutoRead

AutoWrite

ClassId

FieldCount

FieldName

FormatSpec

FormattedValue

MaxValue

MessageCode

MinValue

Parent

SourceIndex

SourceOptions

TypeName

Value

Methods

The ConfigProperties

object contains the following methods:

GetField

Read

Advertising