Updateevent, Updateevent m – Echelon OpenLNS User Manual
Page 1004
OpenLNS Programmer's Reference
967
instead of Windows messaging.
You must call the Advise
method from the event handler
that is handling the update error events for the network
variable monitor point. For more information on this, see
the Advise
.
The object created in step 1 will now call this method
whenever a network variable monitor point error is received.
Availability
Local and full clients.
Syntax
object.
Element
Description
object
An object that implements either the
ILcaNvMonitorPointListener interface.
updateType
A value indicating the type of monitor
point update which returned an error.
This will be set to 1.
Added to API
LNS Release 3.0.
UpdateEvent
Summary
Allows an object to execute a callback for network variable
monitor point updates. This can only be used in
multi-threading programming environments such as Visual
C++. It cannot be used in Visual Basic. To cause events to be
generated in this manner, follow these steps:
1. Create an object that implements the
ILcaNvMonitorPointListener interface.
2.
Define the object's behavior when the
UpdateEvent
method is called
.
3.
with the object created in step 1 as the object element.
OpenLNS will then provide event notification of update
events using callbacks instead of Windows messaging.
You must call the Advise method from the event handler
that is handling the update events for the network
variable monitor point. For more information, see the
.
For completion code messages, the InputDp, OutputDp, and
Src parameters are NULL.
Availability
Local and full clients.
Syntax
(UpdateType as Integer)
Element
Description
object
An object that implements the
ILcaNvMonitorPointListener interface.
updateType
A value indicating the type of network
variable monitor point update. This will