Parent, Propertyoptions – Echelon OpenLNS User Manual

Page 217

Advertising
background image

OpenLNS Programmer's Reference

180

Syntax

nvColl = cdtObject.NVHubs

Element

Description

cdtObject

The

ConnectDescTemplate

object to

be acted on.

nvColl

The collection of

NetworkVariables

to be returned.

Data Type

NetworkVariables

collection object.

Read/Write

Read only.

Added to API

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

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.

PropertyOptions

Summary

Specifies which attributes in the connection description

template are active

.

If an attribute is not specified as active, the attributes in the

network variable declarations (in the device’s application

program) or the Object Server's internal defaults are used in

connections associated with the template. If an attribute is

designated as active, the corresponding value supplied in the

ConnectDescTemplate

object overrrides the default.

Availability

Local, full, and lightweight clients.

Advertising