Confignvindex – Echelon OpenLNS User Manual

Page 194

Advertising
background image

OpenLNS Programmer's Reference

157

implemented by an array of network variables, array

elements will be implemented by consecutive network

variables. This property returns the network variable

that implements the first element. To retrieve the

network variables for subsequent elements, increment

the index of the network variable the appropriate number

of times, and call the ItemByIndex method on the

NetworkVariables property of the main Interface object.

If the configuration property is implemented by a

configuration value file, this property throws an

LCA,

#164

exception (“configuration property not implemented

by a configuration network variable”).

Note: This property is not currently available from within a

DeviceTemplate object; therefore, it will throw a

LCA, #38

LCA_APP_DEVICE_REQUIRED

exception when accessed.

Availability

Local, full, and lightweight clients.

Syntax

nvObject = cpObject.ConfigNv

Element

Description

nvObject

The configuration network variable

implementing this configuration

property.

cpObject

The network variable-based

ConfigProperty

object to be acted on.

Data Type

NetworkVariable

object.

Read/Write

Read only.

Added to API

OpenLNS.

ConfigNvIndex

Summary

Specifies the index of the configuration network variable that

implements the ConfigProperty

object iguration property.

A ConfigProperty

object is implemented by a configuration

network variable or a configuration value file. To determine

how the configuration property is implemented, read the

ImplementationType property of the ConfigProperty

object.

If the configuration property is implemented by a

configuration NV, this property specifies the index of that

configuration network variable.

If the configuration property is implemented by a

configuration value file, this property throws an

LCA,

#164

exception (“configuration property not implemented

by a configuration network variable”).

To directly access the configuration network variable, read

the ConfigNv property (read the NV’s current selector).
If the configuration property is an array that is implemented

Advertising