beautypg.com

Outputdatapoint, Outputfromatspec, Outputdatapoint p – Echelon OpenLNS User Manual

Page 538: Outputformatspec

background image

OpenLNS Programmer's Reference

501

Data Type

String.

Read/Write

Read/write.

Added to API

Depends on the object used to access the property. Generally,

this property exists for the objects listed above as soon as

they are added to the API.

OutputDataPoint

Summary

Contains an

OutputDataPoint

object that can be used to send

a message to the device monitored by the

MsgMonitorPoint

object, as long as the message does not require a response

.

When the AppDevice object's GetMessagePoint method is

called, the DataPoint object that is created can read this

property to send a non-request message to that device.
The DataPoint contained in this property has its AutoWrite

property set to True by default; therefore, you do not need to

call the Write method after setting this DataPoint object's

Value property. The monitor set containing the

MsgMonitorPoint must be open in order for you to access this

data point

Use the RequestDataPoint property to send a message that

requires a response.

Availability

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

temporary

MonitorSet

objects and temporary monitor points

are not available on Independent clients.

Syntax

dpObject = msgMpObject.

OutputDataPoint

Element

Description

dpObject

The

DataPoint

object to be returned.

msgMpObject

The

MsgMonitorPoint

object to be acted

on.

Data Type

DataPoint

object.

Read/Write

Read only.

Added to API

LNS Release 3.0.

OutputFromatSpec

Summary

Contains the

FormatSpec

object used to determine the format

for outgoing messages for this

MsgMonitorPoint

object

.

The FormatSpec object contained within this property is not

passed by reference. If you modify the values assigned to the

properties of a local FormatSpec object, you must then

explicitly assign the modified FormatSpec object back to the

OutputFormatSpec property of the MsgMonitorPoint for the

changes to take effect. This following code sample

demonstrates this procedure:
Set fsObject =