Implementscp, Index – Echelon OpenLNS User Manual

Page 637

Advertising
background image

OpenLNS Programmer's Reference

600

on.

Data Type

String.

Read/Write

Read-only.

Added to API

Prior to LNS Release 3.0.

ImplementsCp

Summary

If the network variable is a configuration network variable,

returns the configuration property object (possibly a shared

instance) implemented by this network variable.
If this network variable is not a configuration network

variable, then accessing this property throws an LCA, #166

error (“network variable does not implement a configuration

property”).
To determine whether this network variable is a

configuration network variable, read the IsConfigProperty

property.
A configuration network variable implements a single

configuration property, but each configuration property can

apply to multiple objects at the same level (device/template,

LonMark object, or network variable). To determine which

objects this configuration network variable affects, read the

AppliesTo property of the ConfigProperty object.
The network variable-based configuration property returned

by this property will refer back to this implementing

configuration network variable through the ConfigNv

property of the ConfigProperty object.

Availability

Local, full, and lightweight clients.

Syntax

cpObject = nvObject.ImplementsCp

Element

Description

cpObject

The ConfigProperty object

implemented by this network

variable

.

nvObject

The configuration network variable to

be acted on

.

Data Type

ConfigProperty

object.

Read/Write

Read only.

Added to API

OpenLNS.

Index

Summary

Returns the index within an application device of the

network variable.

Availability

Local, full, and lightweight clients.

Advertising