Echelon OpenLNS User Manual

Page 409

Advertising
background image

OpenLNS Programmer's Reference

372

interfaces that cannot be modified. The custom interfaces that have been added to a device

can be accessed through the device’s

Interfaces

property. In many cases, you can modify

these interfaces by adding or removing objects from their

NetworkVariables

,

LonMarkObjects

, and

MessageTags

collections.

Some of the information returned by the properties of each Interface object apply to the

device as a whole, and not to the specific interface represented by the Interface object. For

example, the

StaticNvCount

property indicates the number of network variables that are

statically defined on the device containing an Interface object, and the

MaxNvInUse

property

indicates the current maximum network variable index in use on the device containing an

Interface object. In addition, the

SupportsDynamicNvsOnStaticLMOs

property indicates

whether dynamic network variables can be added to the static

LonMarkObjects

on the

device. Also, the

DynamicLonMarkObjectCapacity

property indicates how many dynamic

LonMarkObjects

can be added to all the interfaces on the device, not to a single interface on

the device.
The

Name

property assigned to all custom interfaces on a given device must be unique. For

an Interface object that represents a device’s main interface, the

Name

property is initialized

as an empty string

.

The following table summarizes the

Interface object.

Description

An application device’s external interface.

Added to API

Prior to LNS Release 3.0.

Accessed Through

AppDevice

object.

DeviceTemplate

object.

Interfaces

object.

Default Property

Name.

Methods

AddCompatibleNv

AddCompatibleNvEx

AddComplementaryNv

AddComplementaryNvEx

AddNvFromString

CreateTypeSpec

DownloadConfigProperties

RemoveNv

UploadConfigProperties

Properties

ClassId

ConfigProperties

ConfigPropertiesAvailable

CpByHandle

DynamicLonMarkObjectCapacity

DynamicMessageTag

LonMarkObjects

MaxNvInUse

MaxNvSupported

MessageTags

Name

NetworkVariables

Parent

StaticNvCount

SupportsDynamicNvsOnStaticLMOs

Advertising