Updateevent – Echelon OpenLNS User Manual
Page 1002
OpenLNS Programmer's Reference
965
Syntax
object.
Element
Description
object
An object that implements the
ILcaMsgMonitorPointListener
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 message 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
ILcaMsgMonitorPointListener interface.
2.
Define the object's behavior when the
UpdateEvent
method is called
.
3.
MsgMonitorPoint object
with the object created in step 1 as the object element.
OpenLNS will then provide event notification of update
errors for the selected monitor point using callbacks
instead of Windows messaging.
You must call the Advise method from the event handler
that is handling the update error events for the message
monitor point. For more information on this, see the
MsgMonitorPoint object.
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
ILcaMsgMonitorPointListener interface.
updateType
A value indicating the type of message
monitor point update. This will be set to
0.
inputDp
The DataPoint object containing the
message monitor point update.
outputDp
A DataPoint object that allows a
response to be sent if the update is a