Connerrappdevicehandle1, Connerrappdevicehandle2 – Echelon OpenLNS User Manual

Page 331

Advertising
background image

OpenLNS Programmer's Reference

294

Syntax

classIdValue = object.ClassId

Element

Description

classIdValue

The object class of the object. The

following value is defined for the

Error

object in the

ConstClassIds

constant:

44 lcaClassIdError

object

The object to be acted on.

Data Type

Integer.

Read/Write

Read only.

Added to API

Depends on the object used to access the property. Generally,

this property exists for an object as soon as the object is

added to the API.

ConnErrAppDeviceHandle1

Summary

If the error object represents a connection subsystem error

(lcaErrCategoryConn), this property returns the handle of

the primary device in the error. Otherwise it returns 0

.

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

errorValue = errorObject.ConnErrAppDeviceHandle1

Element

Description

deviceHandle

The device handle 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.

ConnErrAppDeviceHandle2

Summary

If the

Error

object represents a connection subsystem error

(lcaErrCategoryConn), this property returns the handle of

the secondary device in the error. Otherwise it returns 0

.

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

errorValue = errorObject.ConnErrAppDeviceHandle2

Element

Description

deviceHandle

The device handle to be returned.

Advertising