Echelon OpenLNS User Manual
Page 205
OpenLNS Programmer's Reference
168
Once the implementation type is known, a client can retrieve
the appropriate addressing information for the configuration
property by reading either the ConfigNvIndex property (for
NV-based CPs), or the ConfigFileType and ConfigFileOffset
properties (for file-based CPs).
This information is useful for tools that need to access
configuration property values when OpenLNS is not
available. For example, the SmartServer needs this
information to manage configuration property values when it
is running in standalone mode.
Notes: Modifying configuration property values without
OpenLNS is typically nor recoemmnded because it causes the
application device and the OpenLNS database to lose
synchronization.
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
cpType = cpObject.ImplementationType
Element
Description
cpType
The configuration property’s
implementation type.
The possible values for this property,
which are stored in the
ConstImplementationTypes constant,
are as follows
:
1 lcaImplementedByNetworkVariable
The configuration property is
implemented by a configuration
network variable. To determine the
index of the configuration variable,
read the ConfigNvIndex property of
the ConfigProperty
object.
2 lcaImplementedByConfigFile
The configuration property is
implemented by a configuration value
file. To determine the type and offset
into the configuration value file, read
the ConfigFileType and
ConfigFileOffset properties of the
object.
cpObject
on.
Data Type
Short.
Read/Write
Read only.