Autoread – Echelon OpenLNS User Manual

Page 273

Advertising
background image

OpenLNS Programmer's Reference

236

AutoWrite

ClassId

FieldCount

FieldName

FormatSpec

FormattedValue

MaxValue

MessageCode

MinValue

Parent

SourceIndex

SourceOptions

TypeName

Value

AutoRead

Summary

Determines whether the

Read

method will be called

automatically whenever the

Value

,

FormattedValue

, or

RawValue

properties are read.

You can use either of these properties to read 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

autoRead = dpObject.

AutoRead

Element

Description

dpObject

The

DataPoint

object being acted upon.

autoRead

A Boolean value.

True. The Read method is called

automatically

each time you read

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 Read

method manually.

The default is True. The only exception

is when the DataPoint object is to be

used for a response (see the

OnMsgMonitorPointUpdateEvent

event), or when the DataPoint object

represents a field (see the GetField

Advertising