Resetcause – Echelon OpenLNS User Manual

Page 300

Advertising
background image

OpenLNS Programmer's Reference

263

object

The

DetailInfo

object from which to get

the information.

Data Type

Long.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

ResetCause

Summary

Contains the cause of the most recent Neuron Chip reset.

This data is available for application devices and router

sides.

Availability

Local, full, and lightweight clients.

Syntax

resetType = detailInfoObject.ResetCause

Element

Description

resetType

The type of reset. The enumerated

values, which are contained in the

ConstResetCauses

constant accessible

through the Visual Basic Object

Browser, are as follows:
0 lcaResetNone

No reset has occurred since the last

time this status was cleared.
256 (0x100) lcaResetPowerup
The last reset was done during a

powerup.
257 (0x101) lcaResetHardware
The last reset was caused by activation

of the reset pin.
258 (0x102) lcaResetWdt
The last reset was caused by a watch

dog timer timeout.
259 (0x103) lcaResetSoftware
The last reset was caused by software.

detailInfoObject The

DetailInfo

object from which to get

the information.

Data Type

Long.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

Advertising