beautypg.com

Echelon OpenLNS User Manual

Page 423

background image

OpenLNS Programmer's Reference

386

0 lcaConfigPropOptLoadDefinitions
Reads the template file and loads the

configuration property definitions for the

device into the OpenLNS database if the

configuration property template file on the

device has not been imported or uploaded into

the OpenLNS database.
1 lcaConfigPropOptLoadValues
Uploads all configuration property values from

the physical device on the network to the

associated AppDevice

object

in the OpenLNS

database. When combined with

lcaConfigPropOptExcludeDeviceSpecific

(64), configuration properties with the

device-specific attribute set will be excluded

from the upload.
2 lcaConfigPropOptSetDefaults
Sets the values stored for the device in the

OpenLNS database as the default

configuration property values in the AppDevice

object's DeviceTemplate. This operation will

change the default values that could be applied

to any device using the DeviceTemplate. Note

that this option will upload values from the

physical device, regardless of whether or not it

is ORed with lcaConfigPropOptLoadValues

(1). In either case, OpenLNS will upload all

the configuration property values from the

device into the OpenLNS database, and then

set all the values in the database as the

defaults.
You can OR this option with

lcaConfigPropOptLoadUnknown (4). In

this case, only values that are unknown in the

OpenLNS database will be uploaded from the

physical device. Following that, all the values

stored in the OpenLNS database for the device

will be set as the defaults in the

DeviceTemplate object. This includes

the values uploaded by the call to

UploadConfigProperties, as well as all values

that were known in the OpenLNS database

before the operation began.
4 lcaConfigPropOptLoadUnknown
This option must be ORed with the

lcaConfigPropOptLoadValues (1) or the

lcaConfigPropOptSetDefaults (2) values to

have any effect. You can OR this with the

lcaConfigPropOptLoadValues (1) value to