beautypg.com

Reset, Resynctotemplate – Echelon OpenLNS User Manual

Page 88

background image

OpenLNS Programmer's Reference

51

deconfigured, regardless if this option has

been set.

This flag should be ORed with

lcaReplaceFlagCopy (1). If it is not, all

configuration property information for the

old device will be removed from the

OpenLNS database during the

replacement, and it will not be stored in the

new device.

Added to API

Prior to LNS Release 3.0.

Reset

Summary

Sends a reset command to the application device.
The Network Service Device can be reset by invoking this

method on the

AppDevice

object owned by the

NetworkServiceDevice

object.

Availability

Local, full, and lightweight clients.

Syntax

object.Reset

Element

Description

object

The

AppDevice

object to be reset.

Added to API

Prior to LNS Release 3.0.

ResyncToTemplate

Summary

Updates the

DeviceTemplate

object the application device is

using with information from newly modified or accessible

resource files.

You should call this method on an AppDevice object after you

have re-imported a device’s external interface file with the

Import method. When this happens, the information stored in

the DeviceTemplate is updated based on the contents of the

new external interface file. As a result, you need to call the

ResyncToTemplate method to resynchronize the devices using

the DeviceTemplate with the updated information.
You should also call this method on an AppDevice after you

have updated the DeviceTemplate object used by the device

with the ResyncToResources method. The ResyncToResources

method updates the DeviceTemplate with current information

from the resource files. You should call the

ResyncToTemplate method to re-synchronize the devices

using that DeviceTemplate with the updated information in

the DeviceTemplate .

Availability

Local, full, and lightweight clients.