Msgmonitorpoints, Methods, Permanent message monitor point – Echelon OpenLNS User Manual

Page 545

Advertising
background image

OpenLNS Programmer's Reference

508

Added to API

LNS Release 3.0.

MsgMonitorPoints

The

MsgMonitorPoints

object contains a collection of

MsgMonitorPoint

objects. This

collection object contains all of the

MsgMonitorPoint

objects that have been added to a

monitor set.

Message monitor point objects represent message tags that may be used to

monitor application

L

ON

W

ORKS

messages from the device. For more information on monitor

points, see the Monitor and Control chapter in the OpenLNS Programmer’s Guide.
In general, the MsgMonitorPoint collections contained in MonitorSet objects created as

temporary and permanent monitor sets behave the same way except that the DefaultOptions

properties of the MsgMonitorPoint objects in temporary monitor sets are not accessible. For

more information, see the CurrentOptions property of the MsgMonitorPoint

object

.

The following table summarizes the MsgMonitorPoints object.

Description

A collection of

MsgMonitorPoint

objects.

Added to API

LNS Release 3.0.

Accessed Through

MonitorSet

object.

Default Property

Item

Methods

Add

Remove

Properties

ClassId

Count

Item

Parent

_NewEnum

Methods

The MsgMonitorPoints object contains the following methods

.

Add

Remove

Add

Summary

Defines a new

MsgMonitorPoint

object.

You can use message

monitor points to send LONWORKS messages to the devices

on your network.
When creating a MsgMonitorPoint object in a permanent

monitor set, you can specify either an AppDevice object or a

dynamic MessageTag object as the targetDevice element.

If you specify an AppDevice object, you will be able to use

the new MsgMonitorPoint object to send messages to that

device, or to receive messages from the device. This

cannot be the Network Service Device containing the

monitor set you are adding the message point to (the

AppDevice

containing the monitor set).

If you specify a dynamic MessageTag object, you will be

Advertising