Sendmsgwait, Unadvise – Echelon OpenLNS User Manual

Page 533

Advertising
background image

OpenLNS Programmer's Reference

496

Syntax

object.Ensable

Element

Description

object

The

MsgMonitorPoint

object to be

enabled.

Added to API

LNS Release 3.20.

SendMsgWait

Summary

Sends a message that requires a synchronous response on a

MsgMonitorPoint

object created using the

GetMessagePoint

method

.

The AppDevice object's GetMessagePoint method creates an

MsgMonitorPoint object which can be used to send messages

to the device. The MsgMonitorPoint object's

RequestDataPoint property can be used to send a request

response message to the device. To send the message to the

device, set the RequestDataPoint object's Value, RawValue ,

or FormattedValue property then call this method or the

Write method.
If this method is used, the request and response datapoints

will be sent in the same call (synchronously). If the Write

method is used, the response will be sent as an

OnMsgMonitorPointUpdateEvent event.

Availability

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

temporary

MonitorSet

objects and temporary monitor points

are not available on Independent clients.

Syntax

responseDpObject =

msgMpObject.

SendMsgWait

(requestDpObject)

Element

Description

responseDpObject

The

DataPoint

object generated by

the device in response to the

requestDpObject.

msgMpObject

The

MsgMonitorPoint

object to be

acted on.

requestDpObject

The

DataPoint

object to be sent to the

device.

Added to API

LNS Release 3.0.

Unadvise

Summary

Returns event generation to the client thread if it was

changed to another thread using the

Advise

method

.

Availability

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

temporary

MonitorSet

objects and temporary monitor points

are not available on Independent clients.

Advertising