Selector, Aliases, Aliases c – Echelon OpenLNS User Manual

Page 60

Advertising
background image

OpenLNS Programmer's Reference

23

added to the API.

Comments

The parent object is determined by the means in which a

child object is accessed, not by the OpenLNS Object

hierarchy.

Selector

Summary

The network variable selector value assigned to this network

variable alias.
When a device is installed, selector values that represent

unbound network variables are assigned to the network

variables in that device. When placing the network variable

in a connection, the OpenLNS Object Server assigns a value

representing that connection.

Availability

Local, full, lightweight, and independent clients. Note that

some objects containing this property are not available to

Independent clients.

Syntax

selectorValue = object.Selector

Element

Description

object

The

Alias

object to be acted on.

selectorValue

The network variable selector value

Data Type

Integer.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

Aliases

An Aliases object is a collection of

Alias

objects. The collection contains an

Alias

object for

each alias in-use for the parent network variable. Unused alias entries contained within an

application device's alias table will not appear in an Aliases collection.
The Aliases object is not updated as changes occur on the network, all property values are

cached on the OpenLNS Server when the object is created. As a result, an Aliases object

must be periodically refreshed by invoking the

Refresh method, or by fetching a new Aliases

collection object from the parent NetworkVariable object.

The following table summarizes the

Aliases object.

Description

Represents a collection of

Alias

objects.

Added to API

Prior to LNS Release 3.0.

Accessed Through

NetworkVariable

object

.

Default Property

Item property.

Methods

ItemByIndex

Refresh

Properties

ClassID

Count

Item

Advertising