Index, Parent, Index p – Echelon OpenLNS User Manual

Page 59

Advertising
background image

OpenLNS Programmer's Reference

22

Comments

This property allows the object type to be determined when it

is unknown (for example, when the object was accessed using

the Parent property of another object).

Index

Summary

Returns the index within an application device of the

network variable alias.

Availability

Local, full, and lightweight clients.

Syntax

index = object.Index

Element

Description

object

The object to be acted on.

index

Index of the message tag or network

variable.

Valid Values

Property

Values

Message tags

0–14

Neuron-hosted

applications

0–62

Host-based

applications

0–8,191

msg_in

message tag

MSG_IN_TAG (-2)

Data Type

Integer.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

Parent

Summary

Returns the object that spawned the current child object.

Availability

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

some collection objects are not available to Independent

clients.

Syntax

parentObject = object.Parent

Element

Description

parentObject

The object that is the parent of the

specified object.

object

Any object for which the parent is

desired.

Data Type

Object.

Read/Write

Read only.

Added to API

Depends on the object used to access the property. Generally,

this property exists for an object as soon as the object is

Advertising