Owner manual

OpenLNS Programmer's Reference 707
received a request message.
20
lcaMonitorEventTypeMsgResponse
A message monitor point has
received a reponse message.
21
lcaMonitorEventTypeMsgComplete
This value is not used.
Added to API
LNS Release 3.0.
OnMsgMonitorPointUpdateEvent
Summary
An event that is generated whenever a message tag monitor
point update is received.
The OnMsgMonitorPointEvent event is used to signify
asynchronous successful completion code events for a
message monitor point. The OnMsgMonitorPointErrorEvent
is used to signify asynchronous unsuccessful completion code
events.
If you are using a programming environment which supports
multi-threading (such as Visual C++), you can receive update
events on a separate thread by creating an object which
implements the ILcaMsgMonitorPointListener interface.
Syntax
OnMsgMonitorPointUpdateEvent(msgMonitorPoint As
Object, UpdateType as Integer, InputDp as Object, OutputDp
as Object, Src as Object)
Element
Description
msgMonitorPoint
The MsgMonitorPoint object that
received an update.
UpdateType
The update type.
InputDp
A DataPoint object containing the
received value.
The AutoRead and AutoWrite
properties of this element are set to
FALSE.
OutputDp
A DataPoint object which allows a
response to be sent if the
UpdateType is Request.
The AutoWrite of this element is set
to TRUE; therefore, this DataPoint
object will be sent as a response
when it is updated.
Src
A SourceAddress object indicating
the source device of the update.