Autowrite, D autowrite – Echelon OpenLNS User Manual

Page 274

Advertising
background image

OpenLNS Programmer's Reference

237

method).

Data Type

Boolean.

Read/Write

Read/write.

Added to API

LNS Release 3.0.

AutoWrite

Summary

Determines whether the

Write

method will be called

automatically whenever the

FormattedValue

,

RawValue

, or

Value

properties are written.

You can use either of these properties to write to the data

point’s value; however, they are formatted differently. See

these individual properties for more information.

Availability

Local, full, lightweight, and independent clients. Note that

some objects containing this property are not available to

Independent clients.

Syntax

autoWrite = dpObject.

AutoWrite

Element

Description

dpObject

The

DataPoint

object being acted upon.

autoWrite

A Boolean value.

True. The Write method is called

automatically

each time you write

to the data point’s

Value

,

FormattedValue

, or

RawValue

properties

.

This ensures that the value

returned by the data point, through

any of the three value properties,

always represents the current value

of the source object.

False. You must call the Write

method manually to ensure the

values in all three properties

remain consistent.

This property defaults to True. The only

exception is when the DataPoint object

represents a field (see the GetField

method for more information).

Data Type

Boolean.

Read/Write

Read/write.

Added to API

LNS Release 3.0.

Advertising