Connectionupdatetype – Echelon OpenLNS User Manual

Page 109

Advertising
background image

OpenLNS Programmer's Reference

72

ConnectionUpdateType

Summary

Specifies in which state the

AppDevice

is placed while

performing a connection update.

Normally, when connecting network variables, the devices

containing the network variables are taken hard-offline prior

to making the update. Once all affected devices are in this

state, each device is updated, placed in the configured state,

and, if they were previously online, will be placed online

again. This way the configuration of all devices that are

currently online will be consistent at all times.
This property allows the device to remain online while these

changes are being made. This allows a device to continue

sending and receiving updates while its connection status is

being changed. This can result in invalid network variable

updates being sent or received.

Availability

Local, full, and lightweight clients.

Syntax

updateType = appDeviceObject.ConnectionUpdateType

Element

Description

updateType

The update type value. The values for

this element, which are stored in the

ConstConnectionUpdateTypes

constant, are as follows:

-1

lcaConnectionUpdateTypeNotSet
The device's ConnectionUpdateType

property has not been set. Its behavior

defaults to the value specified using

the global Flags property.
0

lcaConnectionUpdateTypeOffline
The device will be put offline while

connections are taking place.
1

lcaConnectionUpdateTypeOnline
The device will be left online while

connections are being made. This

setting is not recommended, as it may

cause your application to process or

send network variable updates using

inconsistent network variable

configuration. This may lead to

misinterpretation of network variable

updates on this or other devices.

appDeviceObject

The application device to be acted on.

Data Type

Integer.

Advertising