beautypg.com

Typename, Value, E value – Echelon OpenLNS User Manual

Page 288

background image

OpenLNS Programmer's Reference

251

thrown.
3 lcaDataSourceOptionsTypeDefaultValue
The data point value is set to the default

value of configuration properties using the

same type as the source configuration

property. The default value is generally

read from the functional profile template on

the device containing the configuration

property, or from the type definition for this

configuration property type. Data points

created with this option set are read-only.
Note that this value represents the "type

default", as defined in the resource files.

The default value of a given configuration

property may differ from the default value

of its type, since the default configuration

property values for a given template are

defined in the external interface file and

can be set from the current values in the

device.

dpObject

The

DataPoint

object to be acted on.

Data Type

Long.

Read/Write

Read/write.

Added to API

LNS Release 3.20.

TypeName

Summary

Contains the name of the current type used by this data

point. This type is defined by the data point's

FormatSpec

property. You can change the data point’s type by writing to

the

FormatSpec

property.

Availability

Local, full, and lightweight clients.

Syntax

typeName = dpObject.TypeName

Element

Description

typeName

The name of the type.

dpObject

The

DataPoint

object to be acted on.

Data Type

String.

Read/Write

Read-only.

Added to API

LNS Release 3.0.

Value

Summary

Contains the value of the data point as a scaled double float

value. This property can be used to read and write to scalar

data points.