Fieldname – Echelon OpenLNS User Manual

Page 276

Advertising
background image

OpenLNS Programmer's Reference

239

FieldName

Summary

Indicates the name of the field if the

DataPoint

object

contains multiple fields

.

If a DataPoint object contains multiple fields, each field is

represented by its own DataPoint object. Each DataPoint

object representing a field has a name; for example, a

DataPoint which contained the time could have three fields

called "hour", "minute", and "second".
When the GetField method is called, the fields can be

accessed either by name or by index number. The FieldCount

property indicates how many fields a DataPoint object

contains.
Note:

If this

DataPoint

object does not represent a field, this

property will return an empty string.

Availability

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

some objects containing this property are not available to

Independent clients.

Syntax

fieldName = dpObject.

FieldName

Element

Description

fieldName

The name of the field.

dpObject

The

DataPoint

object to be acted on.

Data Type

String.

Read/Write

Read only.

Added to API

LNS Release 3.0.

Advertising