Updateerrorevent, Updateevent, Updateevent or updateerrorevent – Echelon OpenLNS User Manual

Page 691: G updateerrorevent, Updateevent e, Updateevent f

Advertising
background image

OpenLNS Programmer's Reference

654

UpdateErrorEvent

Summary

Indicates that a write failure or a poll failure has occurred on

the network variable monitor point that generated the event.

This event can only be used in development environments

that support events being generated on threads other than

the client thread (such as Visual C++). In these

environments, it is usually more efficient to generate events

from a non-client thread.
To cause events to be generated in this manner, create an

object which implements the ILcaNvMonitorPointListener

interface and calls an NvMonitorPoint object's Advise method

with the created object as the argument. The object will now

receive these events directly. The behavior of the object

depends on how the user implements the UpdateEvent

method.

Syntax

UpdateErrorEvent

(UpdateType as Integer)

Element

Description

updateType

This element always returns the value

1.

Data Type

Integer.

Added to API

LNS Release 3.0.

UpdateEvent

Summary

Indicates that a network variable monitor point update has

arrived.

This event can only be used in development environments

that support events being generated on threads other than

the client thread (such as Visual C++). In these

environments, it is usually more efficient to generate events

from a non-client thread.
To cause events to be generated in this manner, create an

object which implements the ILcaNvMonitorPointListener

interface and calls an NvMonitorPoint object's Advise method

with the created object as the argument. The object will now

receive these events directly. The behavior of the object

depends on how the user implements the UpdateEvent

method.

For completion code messages, the InputDp, OutputDp, and

Src parameters are NULL.

Syntax

UpdateErrorEvent

(UpdateType as Integer)

Element

Description

UpdateType

This element always returns the value

0.
The possible values for this parameter,

Advertising