Test – Echelon OpenLNS User Manual

Page 89

Advertising
background image

OpenLNS Programmer's Reference

52

Syntax

appDevice.ResyncToTemplate options

Element

Description

appDevice

The

AppDevice

object to be re-synced to reso

files.

options

A Long value specifying the options to use

when re-synchronizing the device. You can

use this element to determine which objects

on the device will be re-named during the

resynchronization. These options may be

ORed together.
The possible values for this element, which

are contained in the

ConstResyncToTemplateOptionFlags

constant, are as follows:

0 No options

Enter this value if do not want to update

any names updated as part of the

resynchronization.

1 lcaResyncToTemplateOptionUpdate

CpNames
Updates the names of configuration

properties on the device.

2 lcaResyncToTemplateOptionUpdate

LonMarkObjectNames
Updates the names of LonMarkObject

objects on the device.

4 lcaResyncToTemplateOptionUpdate

NetworkVariableNames

Updates the names of network variables on

the device.

Note: If you use an illegal value as the

options element, the LCA, #90

lcaErrVALUeOutOfRange exception will be

thrown.

Added to API

LNS Release 3.2.

Test

Summary

Tests an application device. You must set the application

device’s Neuron ID before invoking this method.

You can use this method to verify that an application device

is able to communicate on the network, and that a subset of

its configuration matches the information contained in the

OpenLNS database.
To pass the test, a device with the expected Neuron ID must

Advertising