Echelon OpenLNS User Manual

Page 529

Advertising
background image

OpenLNS Programmer's Reference

492

with the Write method

because it reduces the time

required to update the

values on the network.

FALSE. OpenLNS waits for the

completion code to return

after it sends each value

before returning from the

method, as with LNS

versions prior to LNS 3.20.
Other client applications will

be able to successfully

update the monitor point

while your application is

waiting for the completion

code.

If this property is set to

False and no completion code

is returned after a message

is sent, this indicates that

OpenLNS failed to update

the monitor point. In this

case, the DS, #411

lcaErrLnsDsWriteFailed

exception will be thrown

before OpenLNS proceeds to

the next update message.
OpenLNS will not return

any events confirming that

the value has been updated

when the property is set to

False.
This is the default.

Data Type

Boolean.

Read/Write

Read/write.

Note: OpenLNS sets this property automatically for message

monitor points. For example, if you are sending a message

via the SendMsgWait method, a response from the device is

expected. Therefore, OpenLNS will set the UseAsyncSend

property to False.
Also, if you are writing to a message monitor point via the

SendMsgWait property, no response is expected; therefore,

OpenLNS sets the property to True. As a result, you should

not write to this property when you access it through a

MsgMonitorOptions object.

Added to API

LNS Release 3.20.

Advertising