Connection errors – Echelon OpenLNS User Manual
Page 1033

OpenLNS Programmer's Reference
996
Connection Errors
Connection errors are errors returned when attempting to make network variable or
message tag connections. These errors will appear in the format CONNERR: #<Error
Number>. The LNS values for these errors are equal to the error number plus 16,500.
lcaErrConnInvalidTargetCount
1
An incorrect number of targets were specified. You must specify at least one and no
more than 25 targets when adding members. To add more members, you must invoke the
Connect method multiple times.
lcaErrConnPropertyNotFound
2
There is no ConnectDescTemplate object with the specified handle.
lcaErrConnConflictingProperties
3
One or more of the fields of the connection descriptions used by intersecting connections
are incompatible with one another. This may include any of the fields of a connection
description, including the service type, the use of priority, and the use of authentication.
Several of the fields of a connection description may cause additional exceptions to be
thrown if those fields conflict. Those error codes start at CONNERR, #28
lcaErrConnConflictingPrioritySettings and end with CONNERR, #32
lcaErrConnConflictingBroadcastSettings. Note that these error codes (and the
CONNERR, #3 lcaErrConnConflictingProperties exception) do not apply to monitor
connections.
lcaErrConnNodeNotFound
4
An invalid device handle was specified for the hub or for one of the targets.
Each device in the network has a unique handle that allows a client to identify the
device. Once assigned, the handle is permanently associated with the device until that
device is removed.
lcaErrConnNvmtOutOfRange
5
The network variable or message tag index is larger than the maximum declared for that
node.
The index is the number used to identify a message tag or a network variable. The
Neuron C compiler assigns indices to message tags and network variables in the order in
which they are declared. The first network variable declared in the code is assigned
index 0, the second is assigned index 1, and so on. The same applies to the message tags.
lcaErrConnCantConnectNvToMt
6
You can only connect network variables to network variables and message tags to
message tags.
If you attempt to connect a message tag to a network variable, or vice versa, you will
generate this error message.
lcaErrConnTypesDoNotMatch
7
The network variables are not all of the same type.
If SNVTs are used for the connection then, all members must be of the same type.
lcaErrConnTypesDifferentSizes
8
The network variables are not all of the same size.