Connerrindex1, Connerrindex2 – Echelon OpenLNS User Manual

Page 332

Advertising
background image

OpenLNS Programmer's Reference

295

errObject

The

Error

object to be acted on.

Data Type

Long.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

ConnErrIndex1

Summary

If the

Error

object represents a connection error

(lcaErrCategoryConn), this property returns the index of

the primary network variable or message tag in the error.

Otherwise it returns 0

.

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

index = errorObject.ConnErrIndex1

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.

ConnErrIndex2

Summary

If the

Error

object represents a connection error

(lcaErrCategoryConn), this property returns the index of

the primary network variable or message tag in the error.

Otherwise it returns 0

.

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

Advertising