beautypg.com

Echelon OpenLNS User Manual

Page 540

background image

OpenLNS Programmer's Reference

503

open in order for you to access this property. When the

AppDevice object's GetMessagePoint

method is called, the

DataPoint

object that is created can set this property to send

a request message to the device monitored by this

MsgMonitorPoint

object.

The

AutoWrite

property of this

DataPoint

object is set to

False; therefore, you need to explicitly propagate the message

to the network after the

DataPoint

object's

Value, RawValue ,

or FormattedValue

property is set. You can do this in two

ways:

Call the DataPoint

object's Write method to receive a

response via the OnMsgMonitorPointUpdateEvent event

(i.e. asynchronous response).

Call the MsgMonitorPoint object's SendMsgWait method

with this DataPoint as the object to receive a response as

the return of the SendMsgWait method (i.e. synchronus

response).

You can use the

OutputDataPoint

property to send a message

that does not require 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.

RequestDataPoint

Element

Description

dpObject

The

DataPoint

object returned.

msgMpObject

The

MsgMonitorPoint

object to be acted

on.

Data Type

DataPoint

object.

Read/Write

Read/write.

Added to API

LNS Release 3.0.