Aliases, Appdevice – Echelon OpenLNS User Manual

Page 619

Advertising
background image

OpenLNS Programmer's Reference

582

Aliases

Summary

Contains the

Aliases

collection object associated with the

specified

NetworkVariable

object. The

Aliases

collection

contains a collection of

Alias

objects, each one representing

an alias used by the network variable. If the network

variable is not using any aliases, the collection will be empty.
If you try to access this property from a

NetworkVariable

object that is not associated with a device (for example, a

NetworkVariable

object fetched from a

DeviceTemplate

object), a LCA, #38 LCA_APP_DEVICE_REQUIRED

exception will be generated.
However, if you read the

Aliases

property from a

NetworkVariable

object whose parent

AppDevice

object was

defined while in engineered mode (a

DeviceTemplate

was

provided when the

AppDevice

was added), a valid

Aliases

collection object will be returned.

Availability

Local, full, and lightweight clients.

Syntax

aliasesColl = nvObject.

Aliases

Element

Description

aliasesColl

The returned

Aliases

collection object.

nvObject

The

NetworkVariable

object to be acted

on.

Data Type

Aliases

collection object.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

AppDevice

Summary

Identifies the

AppDevice

object containing this network

variable

.

Availability

Local, full, and lightweight clients.

Syntax

appDevObject = object.

AppDevice

Element

Description

appDevObject The

AppDevice

object to be returned.

object

The

NetworkVariable

object to be acted

on.

Data Type

AppDevice

object.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

Advertising