Owner manual

OpenLNS Programmer's Reference 608
Element
Description
stringValue
The name of the object.
object
The object to be acted on.
Data Type
String.
Read/Write
Read/write.
Added to API
Depends on the object used to access the property. Generally,
this property exists for the objects listed above as soon as
they are added to the API.
NvHubs
Summary
Returns a collection containing all network variable hubs for
which the network variable is a target, including the network
variable if it is the hub for a connection. In conjunction with
the NVTargets property, this property enables you to manage
complex network connections involving multiple hubs and
sets of targets.
When a new hub is added, it will not neccessarily be added to
the end of the list of hubs; therefore, you should update the
cached copy of the complete hub list when you add or delete a
hub.
Availability
Local, full, and lightweight clients.
Syntax
nvCollection = nvObject.NvHubs
Element
Description
nvCollection
The returned NetworkVariables
collection.
nvObject
The specified NetworkVariable object.
Data Type
NetworkVariables collection object.
Read/Write
Read only.
Added to API
Prior to LNS Release 3.0.
NvTargets
Summary
Contains the target network variables for a hub. If the
network variable is not the hub for a connection, the
NVTargets property will return an empty collection object.
Availability
Local, full, lightweight, and independent clients. Note that
some objects containing this property are not available to
Independent clients.
Syntax
targetCollection = nvObject.NVTargets
Element
Description
targetCollection
The collection of target
NetworkVariable objects.