Pingclass – Echelon OpenLNS User Manual

Page 122

Advertising
background image

OpenLNS Programmer's Reference

85

object

Any object for which the parent is

desired.

Data Type

Object.

Read/Write

Read only.

Added to API

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

this property exists for the objects listed above as soon as

they are added to the API.

PingClass

Summary

Determines the frequency with which a device is tested

(pinged) to determine if it is still attached to the network.
This property classifies devices based on the probability that

the device may be detached. The higher the probability, the

more frequently the device will be pinged.

The Object Server

assumes a device to be detached if it cannot communicate

with that device three consecutive times.

Availability

Local, full, and lightweight clients.

Syntax

pingClassValue = Object.PingClass

Element

Description

Object

The device object to be acted on.

pingClassValue

The ping class of this object.

The

valid values for this element

,

which are provided in the

ConstPingClass constant, are as

follows:

0

lcaPingClassDefault

If this value is written to the

PingClass property, OpenLNS will

use the default

lcaPingClassStationary (3) value.

1 lcaPingClassMobile

Class for nodes which move

frequently.
2 lcaPingClassTemporary
Class for temporary nodes.
3 lcaPingClassStationary
Class for nodes which rarely move.

This is the default value.
4 lcaPingClassPermanent
Class for nodes which never move.
Note: You change the ping interval

that applies to each class with the

Advertising