Echelon OpenLNS User Manual
Page 198
OpenLNS Programmer's Reference
161
installation. Therefore, you can modify the device-specific
attribute by writing to this property. Set this property to
True to turn on the device-specific attribute. Set this
property to False to turn it off.
For more information on configuration property attributes,
see the Configuration Property Flags section of the LonMark
Application-Layer Interoperability Guidelines.
Availability
Local, full, and lightweight clients.
Syntax
deviceSpecific = cpObject.DeviceSpecificAttribute
Element
Description
returnValue
A Boolean value indicating whether or
not the device specific attribute flag of
the configuration property is set. If this
property is set to True, then the
attribute is set.
cpObject
on.
Data Type
Boolean.
Read/Write
This property is read-only for ConfigProperty objects that are
accessed through AppDevice objects.
This property is read/write for ConfigProperty objects
accessed through DeviceTemplate objects. Modifying this
property for a ConfigProperty on a DeviceTemplate will affect
all devices using that template.
The L
ON
M
ARK
organization does not allow modifiable
device-specific configuration properties to be stored in files
accessed via FTP on devices that support only sequential
access. Therefore, this property cannot be set to True on such
a configuration property, and an attempt to do so will result
in the NS, #293 lcaErrNsInvalidCpAttribute exception
being thrown.
Added to API
LNS Release 3.20.