Messagetags, Methods, Messagetag – Echelon OpenLNS User Manual

Page 496: Add m, E add m, Messagetags c

Advertising
background image

OpenLNS Programmer's Reference

459

MessageTags

A MessageTags object is a collection of

MessageTag

objects. Note that the

Interface

object

contains two

MessageTags

collections:

1. The MessageTags

collections

accessed through the MessageTags property, which contains

the interface’s static message tags.

2. The MessageTags

collections

accessed through the DynamicMessageTags property, which

contains the interface’s dynamic message tags.

The following table summarizes the MessageTags

object.

Description

A collection of MessageTag objects.

Added to API

Prior to LNS Release 3.0.

Accessed Through

Connections

object.

Interface

object.

Default Property

Item

Methods

Add

Remove

Properties

ClassId

Count

Item

Parent

_NewEnum

Methods

The MessageTags

object contains the following methods

.

Add

Remove

Add

Summary

This method allows you to add message tags to any device

that supports monitor sets, and use those message tags to

send explicit messages from that device to a group of devices,

as with static message tags. For example, consider the case of

a

NetworkServiceDevice

. Network Service Devices do not

contain static message tags. However, you can use this

method to add dynamic message tags to the

AppDevice

object

that represents a

NetworkServiceDevice

. Once you have done

so, you could connect the message tag to the devices you want

to send messages to. Following that, you could create a

permanent message monitor point

on the

NetworkServiceDevice

that specifies the new dynamic

message tag as the monitor target. You could then open the

monitor set, and use the message monitor point to send

explicit messages from the

NetworkServiceDevice

to any

number of devices on your network.
The procedure to follow when connecting message tags and

Advertising