Typeindex, Typespec, Typeindex p – Echelon OpenLNS User Manual

Page 477

Advertising
background image

OpenLNS Programmer's Reference

440

TypeIndex

Summary

Returns the type index of the LonMark object.

Each LonMarkObject object uses a type defined in the

functional profile template resource files. This property

returns the index assigned to that type in the functional

profile template resource file containing its definition.
See the LonMark Application Layer Interoperability

Guidelines for more information on the different types of

functional profile templates you can associate with a

LonMarkObject.

Availability

Local, full, lightweight, and independent clients.

Syntax

typeIndexValue = lmoObject.TypeIndex

Element

Description

lmoObject

The

LonMarkObject

object to be acted

on.

typeIndexValue

The type index for the specified

ConfigProperty

object.

Data Type

Integer.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

TypeSpec

Summary

Reurns the TypeSpec object associated with the

LonMarkObject. The TypeSpec property of a dynamic

LonMarkObject can only be specified when the functional

block is created.
The TypeSpec property cannot be modified once the

LonMarkObject has been created; however, the existing

TypeSpec object from a LonMarkObject can be modified and

used as a template for other NetworkVariable objects and for

creating additional dynamic LonMarkObject

objects

. The

TypeSpec object cannot be assigned back to the TypeSpec

property of an existing LonMarkObject.
The TypeSpec property for a static LonMarkObject including

a LonMarkObject belonging to a device template will be

inherited from the corresponding device external interface.

Availability

Local, full, and lightweight clients.

Syntax

typeSpecObject = lmoObject.TypeSpec

Element

Description

lmoObject

The

LonMarkObject

to be acted on.

typeSpec

The

TypeSpec object associated with

the LonMarkObject

.

Advertising