Owner manual

OpenLNS Programmer's Reference 657
NvMonitorPoints
The NvMonitorPoints object contains a collection of NvMonitorPoint objects. This collection
object contains all of the NvMonitorPoint objects that have been added to a monitor set.
Network variable monitor points can be used for explicit reading and writing, polled
monitoring, or implicit bound monitoring of network variables on devices in your network.
For more information on network variable monitor points, see the Monitor and Control
chapter of the OpenLNS Programmer’s Guide.
In general, the NvMonitorPoint collections contained in MonitorSet objects that were created
as permanent monitor sets, or as temporary monitor sets, behave the same way. However,
there are several variances in the behavior of individual network variable monitor points you
should note when using temporary monitor sets. The DefaultOptions properties of network
variable monitor points in temporary monitor sets are not accessible. For more information
on this, see the online help for the DefaultOptions property.
In addition, network variable monitor points in temporary monitor sets cannot be
automatically bound to the monitoring node. This means that the UseBoundUpdates
property stored in the NvMonitorOptions objects used by all temporary monitor points must
be set to False.
The following table summarizes the NvMonitorPoints object.
A collection of NvMonitorPoint objects.
LNS Release 3.0.
MonitorSet object.
Item
Add
Remove
ClassId
Count
Item
Parent
_NewEnum
Methods
The NvMonitorPoints object contains the following methods.
Add
Remove
Add
Summary
Adds a new NvMonitorPoint object to the collection.
You should use transactions when creating large numbers of
network variable monitor points in permanent monitor sets.
This is because it will reduce the time required to create the
monitor points. For more information on using transactions
with OpenLNS, see the Programming an OpenLNS
Application chapter of the OpenLNS Programmer’s Guide.
Monitor points in permanent monitor sets are not