Datavalue, Methods – Echelon OpenLNS User Manual

Page 290

Advertising
background image

OpenLNS Programmer's Reference

253

turn off this attribute using OpenLNS.
You can use the MinValue and MaxValue properties to set

the minimum and maximum possible values for the data

point. However, OpenLNS will only enforce the range

established by these properties when you write to the

FormattedValue property. You should program your

application to enforce this range for the Value property to

avoid passing invalid data to data point.

Availability

Local, full, lightweight, and independent clients.

Syntax

value = dpObject.Value

Element

Description

value

The name of the type.

dpObject

The

DataPoint

object to be acted on.

Data Type

Double.

Read/Write

Read/write.

Added to API

LNS Release 3.0.

DataValue

The DataValue object represents a data value for a

NetworkVariable

object that is currently

being monitored. It is returned by the

OnNetworkVariableUpdate Event

. Only the

AppDevice

,

MonitorTag

, and

NetworkVariable

properties are for external use; all other

properties are for internal use only.

Description

A data value for a

NetworkVariable

object that is currently

being monitored.

Added to API

Prior to LNS 3.0.

Accessed Through

None.

Default Property

None.

Methods

None.

Properties

AppDevice

ClassId

Data

DataType

FloatValue

IntValue

Length

MonitorTag

NetworkVariable

SourceNodeId

SourceSubnetId

StringValue

Methods

The

DataValue

object does not contain any methods

.

Advertising