Messagecode – Echelon OpenLNS User Manual

Page 281

Advertising
background image

OpenLNS Programmer's Reference

244

Availability

Local, full, lightweight, and independent clients. Note that

some collection objects are not available to Independent

clients.

Syntax

maxValue = dataPoint.

SourceIndex

Element

Description

maxValue

The maximum value that can be applied

to the

FormattedValue

property.

dataPoint

The

DataPoint

object being acted upon.

Data Type

Double.

Read/Write

Read/write.

Added to API

LNS Release 3.20.

MessageCode

Summary

Contains the message code of the message associated with

this data point.

This property is only meaningful if the DataPoint object

represents a message. This value has no effect if the data

source is a configuration property or network variable;

however, you can still read and write to the value.

If this DataPoint represents an input value, the message

code indicates what message code appeared in the

received message.

If this data point represents an output message, this is

the code that will be sent with the message.

If this DataPoint represents a response to an incoming

request, this property represents the response code of the

response message.

Availability

Local, full, lightweight, and independent clients. Note that

some objects containing this property are not available to

Independent clients.

Syntax

messageCode = dpObject.MessageCode

Element

Description

messageCode

The message code of the message

dpObject

The

DataPoint

object to be acted on.

Data Type

Integer.

Read/Write

Read/write.

Added to API

LNS Release 3.0.

Advertising