Optimizing connection resources – Echelon LNS User Manual
Page 165
LNS Programmer's Guide
151
Property Description
ServiceType
This property allows you choose from the following
messaging services:
Acknowledged
Unacknowledged Repeat
Unacknowledged
If your application will be sending messages to large
numbers of devices at once, one of the unacknowledged
messaging services may be desirable, as the
acknowledgement messages may generate a significant
amount of network traffic. You should only use the
request/response messaging service if the devices involved
in your connections are designed to send response
messages.
Certain service types may be desirable over others,
depending on the addressing mode and network variable
alias usage of your connection. For more information on
this, see the next section, Optimizing Connection Resources.
This property does not apply to message tag connections, as
the service type is part of the explicit message and is
defined by the application sending the message.
Note that the request/response service type is no longer
supported by LNS, because network variable updates do
not use this service.
UseAuthenticationFlag
This property indicates whether or not the connection will
use authentication. This property does not apply to
message tag connections, as the authentication flag is part
of the explicit message and is defined by the application
sending the message.
UsePriorityFlag
This property indicates whether or not the connection will
use priority slots when sending messages. You can write to
the Priority property of the AppDevice objects
containing the network variables in your connection to
establish which priority slot they will use.
This property does not apply to message tag connections, as
the priority flag is part of the explicit message and is
defined by the application sending the message.
Optimizing Connection Resources
Chapter 6 of this document describes how to create connections with LNS. This
procedure is fairly straightforward. However, to optimize the resources available to your
system when creating connections, there are many factors you should consider.