beautypg.com

8 configuration properties (lonworks data points), Configuration properties (l, Orks – Echelon i.LON SmartServer 2.0 User Manual

Page 246: Data points) -46, Data points)

background image

i.LON SmartServer 2.0 Programmer’s Reference

14-46

a LON_Dp_Cfg type as its input. The element only needs to include the network variable’s
property in the Delete Request as demonstrated in the following code sample:

Request



xsi:type="LON_Dp_Cfg">

MyOldNetwork/MyOldChannel/MyOldDevice/MyOldFb/MyOldNv


Response



0


MyOldNetwork/MyOldChannel/MyOldDevice/MyOldFb/MyOldNv


14.8

Configuration Properties (L

ON

W

ORKS

Data Points)

You can use the List, Get, Set, and Delete functions on configuration properties as described in the
previous section, Network Variables (L

ON

W

ORKS

Data Points). For information on reading and

writing values to configuration properties, see Chapter 4, Using the SmartServer Data Server.

Configuration properties have the same properties as network variables except for the following
differences:

• A configuration property has an xsi type of LON_Cp_Dp_Cfg. A configuration property file has

an xsi type of LON_Cp_File_Cfg

.

• The property is LON_Cp_Dp_Cfg.htm for configuration properties and

LON_Cp_File_Cfg for configuration property files.

• The default poll rate for configuration properties is 0 seconds, which means that means polling is

disabled. You must set a poll rate for configuration properties to update their values via polling.

Note that LON_Cp_File_Cfg includes an additional property, and both
LON_Cp_Dp_Cfg and LON_Cp_File_Cfg have a set of read-only restriction flags that determine
whether a configuration property value can be changed in a given scenario. The values of these
restriction flags are determined by the device interface (XIF) file. They cannot be modified with the
Set function. The following table describes these additional CP properties:

This property is applicable to configuration property files only
(LON_Cp_File_Cfg). The handle of the configuration property
file assigned by the LNS server. You cannot use the Set
function to modify the handle assigned to the configuration
property file. Note that you cannot rename configuration
property files.

The configuration property is a constant; its value cannot be
changed.

The value of the configuration property is always read from the
device and can be modified independent of the LNS database.

The configuration property value can only be changed when the
device is being licensed.