Aliasoptions, Broadcastoptions – Echelon OpenLNS User Manual

Page 213

Advertising
background image

OpenLNS Programmer's Reference

176

UsePriorityFlag

AliasOptions

Summary

Specifies how network variable aliases should be used in the

connection.

OpenLNS determines how it will use aliasing for a network

variable in a connection when the network variable is added

to the connection. As a result, changing the value of this

property in the ConnectDescTemplate object being used by a

connection will not affect the status of network variables that

have already been added to the connection. It will only affect

how aliasing will be used for network variables that are

added to the connection after the AliasOptions property has

been modified.
If you need to change the aliasing options for network

variables that have already been added to a connection, it

will be necessary to re-build the connection. You can do this

following these steps:
1. Call the Disconnect method on the connection’s hub

network variable.

2. Set the property of the hub network variable to the

desired value.

3. Add the target network variables back to the connection

with the AddTarget method.

4. Call the Connect method on the hub network variable.

Availability

Local, full, and lightweight clients.

Syntax

optionsValue = cdtObject.AliasOptions

Element

Description

cdtObject

The

ConnectDescTemplate

object to be

acted on.

optionsValue

The desired alias options.

Data Type

Integer.

Read/Write

Read/write.

Added to API

Prior to LNS Release 3.0.

BroadcastOptions

Summary

Specifies the broadcast options for this ConnectDescTemplate

object.

Availability

Local, full, and lightweight clients.

Syntax

optionsValue = cdtObject.BroadcastOptions

Element

Description

optionsValue

The broadcast options. The valid values

for this element, which are contained in

Advertising