Echelon OpenLNS User Manual

Page 279

Advertising
background image

OpenLNS Programmer's Reference

242

Formatter#16 lcaErrFormatIllegalDataOnUnformat

exception will be thrown. You should note that OpenLNS

only performs this range checking on scalar types. If you are

using data points to read and write the value of a network

variable or configuration property whose type is a structure

and you want LNS to perform this range checking, you will

need to create a separate data point for each field. You can

create data points to represent each field in a given structure

with the GetField method.
You can set options that determine how the information

contained in the FormattedValue property will be formatted

and displayed by writing to the FormatLocale object

currently being used by the application. This includes options

such as the format used to display dates and times and the

measurement units used to display the value. You can

determine which FormatLocale object is currently being used

with the CurrentFormatLocale property of the ObjectServer

object.

Availability

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

some collection objects are not available to Independent

clients.

Syntax

value = dpObject.

FormattedValue

Element

Description

value

The value of the data point as a

Variant.

dpObject

The

DataPoint

object to be acted on.

Data Type

Variant.

Read/Write

Read/write.

Added to API

LNS Release 3.0.

Advertising