Sourcenodeid – Echelon OpenLNS User Manual

Page 294

Advertising
background image

OpenLNS Programmer's Reference

257

SourceNodeId

Summary

Indicates the node ID of the device making a network

variable update to a host network variable.

This value is only meaningful if the network variable being

monitored is a host network variable. This property, along

with the SourceSubnetId property, allows a number of

devices on the network to each have a network variable

explicitly bound to a single network variable on the host.

Once the network variable has been bound and monitoring is

turned on using the MonitorTag property,

OnNetworkVariableUpdate events will indicate that the host

network variable was updated. The SourceSubnetId and

SourceNodeId properties can then be used to determine

which of the devices on the network updated the host

network variable.
For high performance when using monitor and control, you

can use a temporary or permanent monitor point with a

defined tag for each remote network variable. You could use

the tag to identifiy the network variable source directly,

without having to translate the source subnet/node ID.

Availability

Local, full, and lightweight clients.

Syntax

nodeId = dvObject.SourceNodeId

Element

Description

nodeId

The node ID of the device which sent a

network variable update.

dvObject

The

DataValue

object to be acted on.

Data Type

Integer

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

Advertising