Parent, Pollinterval, Generateinitialfetch – Echelon OpenLNS User Manual
Page 669
OpenLNS Programmer's Reference
632
Read/Write
Read/write.
Added to API
LNS Release 3.0.
Parent
Summary
Returns the object that spawned the current child object. The
parent object is determined by the means in which a child
object is accessed, not by the OpenLNS Object hierarchy.
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.
PollInterval
Summary
Determines the length between polls for polled network
variable monitoring
.
When polling is enabled for a monitor point, OpenLNS will
periodically read the value of the monitor point and report
the value using the OnNvMonitorPointUpdateEvent. This is
most efficient when the value must be checked regularly, but
the application does not need to know immediately if the
value changes (for example, outside air temperature). You
can enable polling for a monitor set or monitor point with the
Enable method.
•
If this property is contained in the NvMonitorOptions
object accessed through a MonitorSet object, this property
sets the default poll interval for al monitor points
contained in the set.
•
If this property is contained in the NvMonitorOptions
object accessed through the DefaultOptions
or
CurrentOptions property of a NvMonitorPoint object, this
property sets the default or current poll interval for that
monitor point. Set the value to
lcaDefaultMcpInterval(-1) (from the
ConstLNSMonitorSetIntervalDefault constant) to have
the poll interval default to the value contained in the