Ilcanvmonitorpointlistener, Methods, Updateerrorevent – Echelon OpenLNS User Manual

Page 1003

Advertising
background image

OpenLNS Programmer's Reference

966

request/response message.
The OutputDp parameter's AutoWrite

property is set to True; therefore, it will

be sent as a response when you write to

this DataPoint object.

srcAddr

The SourceAddress object indicating the

source device of the message monitor

point update.

Added to API

LNS Release 3.0.

ILcaNvMonitorPointListener

The

ILcaNvMonitorPointListener

interface can be added to a COM object created in a

multi-threaded programming environment such as Visual C++. You must then call the

Advise

method of the

NvMonitorPoint

object with the object that implements this interface

as an argument. This will allow the object to receive updates from that network variable

monitor point directly, rather than through the Object Server.

The following table summarizes the ILcaNvMonitorPointListener

interface

.

Description

Allows a COM object implementing this interface to directly

receive updates from a network variable monitor point.

Availability

Local and full clients.

Added to API

LNS Release 3.0.

Methods

UpdateErrorEvent

UpdateEvent

Methods

The ILcaNvMonitorPointListener

object contains the following methods

:

UpdateErrorEvent

UpdateEvent

UpdateErrorEvent

Summary

Allows an object to execute a callback for network variable

monitor point and network variable update errors. This can

only be used in multi-threading programming environments

such as Visual C++. It cannot be used in Visual Basic

. To

create an object to receive UpdateErrorEvent updates, follow

these steps:
1. Create an object that implements the

ILcaNvMonitorPointListener interface.

2. Define the object's behavior when the UpdateErrorEvent

method is called.

3. Call the Advise

method of the

NvMonitorPoint

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

Advertising