Onnetworkservicedeviceresetnew, Onnetworkvariablestringupdate – Echelon OpenLNS User Manual

Page 745

Advertising
background image

OpenLNS Programmer's Reference

708

Added to API

LNS Release 3.0.

OnNetworkServiceDeviceResetNew

Summary

Indicates that the local network interface has reset

.

This event is identical to the old

OnNetworkServiceDeviceReset event, but it includes

information regarding the network service device’s network,

system, and object handles.
Lightweight Client applications cannot receive the

OnNetworkServiceDeviceResetNew event.
You can enable this event for your application by calling the

BeginResetEvent method. You can disable this event by

calling the EndResetEvent method.

Syntax

OnNetworkServiceDeviceResetNew(nsdObject As Object,

networkHandle as Long, systemHandle as Long, objectHandle

as Long)

Element

Description

nsdObject

The NetworkServiceDevice object

that reset.

networkhandle

The handle of the network in which

the NetworkServiceDevice object

resides.

systemHandle

The handle of the system in which

the NetworkServiceDevice object

resides.

objectHandle

The object handle of the

NetworkServiceDevice object being

reset.

Added to API

Prior to LNS Release 3.0.

OnNetworkVariableStringUpdate

Summary

Indicates that a network variable value has been updated

.

You can register for this event by setting the DsMonitorTag

property to a non-zero value.
This event was created for use with programming

environments that do not support passing Object types to

event parameters. It is identical to the

OnNetworkVariableUpdate event except that the value

parameter returns a String rather than a Variant.
If you want to use this event rather than the

OnNetworkVariableUpdate event, set the

lcaFlagsStringUpdate flag in the ObjectServer object's Flags

property to 1.
If you are using Visual C++, the

OnNetworkVariableStringUpdate event will not be fired in

Advertising