Connerrindextype1, Connerrindextype – Echelon OpenLNS User Manual

Page 333

Advertising
background image

OpenLNS Programmer's Reference

296

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

index = errorObject.ConnErrIndex2

Element

Description

index

The network variable or message tag index

to be returned.

errObject

The

Error

object to be acted on.

Data Type

Long.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

ConnErrIndexType1

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

ConnErrIndex1

property

.

The ConnErrIndexType1 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

ConnErrAppDeviceHandle1 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.ConnErrIndexType1

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

ConnErrIndex1

property is a network

variable index.
1 lcaLNSIndexTypeMessageTag
The index in the corresponding

Advertising