beautypg.com

Index, Isdynamic, Mthubs – Echelon OpenLNS User Manual

Page 493

background image

OpenLNS Programmer's Reference

456

constant, are as follows:
0 lcaMtDirectionInput
The message tag is an input message

tag.
2 lcaMtDirectionOutput
The message tag is an output message

tag.

object

The

MessageTag

object.

Data Type

Integer.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

Index

Summary

Returns the index within an application device of the

message tag.

Availability

Local, full, and lightweight clients.

Syntax

index = object.Index

Element

Description

object

The object to be acted on.

index

Index of the message tag. The valid

values for this element are 0–14.
The special message tag, msg_in, is

represented by MSG_IN_TAG (-2).

Data Type

Integer.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

IsDynamic

Summary

Indicates whether the message tag is dynamic

.

A message

tag is considered to be dynamic if it was manually added to

the interface it belongs to, rather than being part of the static

interface defined by a device template.

Availability

Local, full, and lightweight clients.

Syntax

isDynamicFlag = object.

IsDynamic

Element

Description

isDynamicFlag A True of False value indicating

whether the object is dynamic.
TRUE. The message tag is dynamic.
FALSE. The message tag is static.