Networkvariable, Network variable, E networkvariable – Echelon OpenLNS User Manual

Page 610: A networkvariable, Networkvariable o, R networkvariable o, R networkvariable, G networkvariable, D networkvariable ob, Networkvariable ob

Advertising
background image

OpenLNS Programmer's Reference

573

Availability

Local, full, and lightweight clients.

Syntax

retrievedObject = coll

Object._NewEnum

Element

Description

retrievedObject

An expression that evaluates to the

object retrieved.

collObject

An iterator object that can be used to

access members of the collection.

Data Type

Object.

Read/Write

Read only.

Added to API

OpenLNS.

NetworkVariable

A

NetworkVariable

object represents a single instance of a network variable.

This object is used to represent a network variable that actually appears in an

AppDevice

object's interface, or that is part of a

DeviceTemplate

program interface definition.

If a NetworkVariable object is accessed through a DeviceTemplate object, it represents a

network variable that is part of a program interface definition. In this case, some of the

methods and properties do not apply to the object. For example, it is not possible to read

the value of a network variable that is accessed through a DeviceTemplate .

If a NetworkVariable object is accessed through the Interface property of an AppDevice

object, it represents a network variable defined on that device’s interface. It may also

represent a connection hub, depending on how you have used the network variable in

connections. The NetworkVariable objects that are being used as connection hubs can be

accessed through the NetworkVariables collection contained by the NVHubs property of

an AppDevice object. You can use this collection to determine which network variables on

a device are being used as connection hub.

The following table summarizes the NetworkVariable object.

Description

A single network variable.

Added to API

Prior to LNS Release 3.0.

Accessed Through

NetworkVariables

collection object.

Default Property

Name

Methods

AddTarget

Connect

Disconnect

DsRestoreOptions

DsSaveOption

GetDataPoint

MoveToInterface

ToString

Properties

Aliases

AppDevice

AppDeviceName

AuthenticationConfigFlag

Advertising