Echelon OpenLNS User Manual

Page 76

Advertising
background image

OpenLNS Programmer's Reference

39

send a value on the created monitor point.
The device does not need to be commissioned to call this

method.
The device's application determines how it will react to any

messages sent using this MsgMonitorPoint object.
Note that you cannot use the message point returned by this

method to send a message to a Network Service Device. If

you invoke this method on an AppDevice

object

contained by

a NetworkServiceDevice object, the NS, #16

lcaErrNsNotImplemented exception will be thrown.

Availability

Local, full, and lightweight clients.

Syntax

msgMpObject =

adObject.GetMessagePoint(addressingMode)

Element

Description

msgMpObject

The

MsgMonitorPoint

object to be

returned.

adObject

The

AppDevice

object to be acted on.

addressingMode A long value that determines whether

Neuron ID or Subnet/Node addressing

will be used to send messages to the

AppDevice

.

The values for this element, which are

stored in the

ConstAddressingMode

constant, are as follows:

0 lcaAddrNeuronId

Neuron ID broadcast addressing will

be used. Messages sent using Neuron

ID addressing will be sent on all

channels in a network, regardless of

subnet, and so Neuron ID addressing

will add extra traffic to your network.

However, unconfigured devices can

receive messages sent using Neuron

ID addressing. They cannot receive

messages sent using Subnet/Node

addressing.
1 lcaAddrSubnetNode
Subnet/Node addressing will be used.

Generally, you should use

Subnet/Node addressing. If you are

using a high-performance network

interface, you can send messages to

multiple devices simultaneously

when using Subnet/Node addressing.

Added to API

LNS Release 3.0.

Advertising