beautypg.com

Confignv – Echelon OpenLNS User Manual

Page 193

background image

OpenLNS Programmer's Reference

156

Syntax

fileType = cpObject.ConfigFileType

Element

Description

fileType

The type of the configuration value

file implementing this configuration

property.
The possible values for this property,

which are stored in the

ConstConfigFileTypes constant, are

as follows:
1 lcaConfigFileWritable
The configuration property is stored

in the writable value file, which is the

mandatory (first) value file that is

typically stored in the read-write

memory on the device.
2 lcaConfigFileConstant
The configuration property is stored

in the constant value file, which is an

optional (second) value file that is

typically stored in the read-only

memory on the device.

cpObject

The network variable-based

ConfigProperty

object to be acted on.

Data Type

Short.

Read/Write

Read only.

Added to API

OpenLNS.

ConfigNv

Summary

If the configuration property is implemented by a network

variable, returns the configuration network variable object.
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 network variable, this property returns

that configuration network variable.
To identify just the index of the configuration network

variable, read the ConfigNvIndex property.
The configuration network variable returned by this

property refers back to this network variable-based

configuration property using the ImplementsCP property

of the NetworkVariable object.
If the configuration property is an array that is