Connerrindextype2 – Echelon OpenLNS User Manual

Page 334

Advertising
background image

OpenLNS Programmer's Reference

297

ConnErrIndex1

property is a message tag

index.
2 lcaLNSIndexTypeDynamicMessageTag
The index in the corresponding

ConnErrIndex1

property is a dynamic

message tag index.
-1 lcaLNSIndexTypeInvalid
The corresponding ConnErrIndex property

contais invalid data.

errObject

The

Error

object to be acted on.

Data Type

Long.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

ConnErrIndexType2

Summary

If the

Error

object represents a connection error

(lcaErrCategoryConn), this property indicates whether a

network variable or message tag index is contained in the

ConnErrIndex2

property

.

The ConnErrIndexType2 property indicates whether this

index applies to a network variable or message tag, as well as

the type of network variable or message tag.
The value of this property combined with that of

ConnErrAppDeviceHandle2 identifies a specific network

variable or message tag in a specific device

You can use the

AppDevices

collection object's

ItemByHandle

method to get the

AppDevice

corresponding to the device

handle.

Availability

Local, full, and lightweight clients.

Syntax

indexType = errorObject.ConnErrIndexType2

Element

Description

indexType

The type of network variable or message

tag that caused the error.
The enumerated values for this property,

which are contained in the

ConstLNSIndexType

constant, are as

follows:
0 lcaLNSIndexTypeNv
The index in the corresponding

ConnErrIndex2

property is a network

variable index.
1 lcaLNSIndexTypeMessageTag

Advertising