Discoverylimitedflag – Echelon OpenLNS User Manual

Page 918

Advertising
background image

OpenLNS Programmer's Reference

881

(4) sets this property to 180 seconds.

Availability

Local, full, and lightweight clients.

Syntax

intervalValue = systemObject.DiscoveryInterval

systemObject.DiscoveryInterval = intervalValue

Element

Description

intervalValue

The new device discovery interval (in

seconds). An interval of 0 turns off

background discovery process. Valid

values are 1 to 65,534.

systemObject

The System object to be acted on.

Data Type

Integer.

Read/Write

Read/write.

Added to API

Prior to LNS Release 3.0.

DiscoveryLimitedFlag

Summary

Indicates that device discovery was halted due to resource

limitations. The

DiscoverDevices

method must be reinvoked

.

You can perform device discovery in the foreground by

invoking the DiscoverDevices

method. If you invoke this

method with the backgroundReg parameter set to True,

discovered devices will be queued for registration in

background transactions.
The OpenLNS Server limits the number of background

registation tasks to 50 to prevent a significant resource

drain.
This property is unaffected by background discovery.

Availability

Local, full, and lightweight clients.

Syntax

discoveryStopped = systemObject.DiscoveryLimitedFlag

Element

Description

discoveryStopped A Boolean value that indicates

whether device discovery was halted

due to the registration limit.

The DiscoveryLimitedFlag is

application exclusive. This means

that every OpenLNS application has

its own independent flag

TRUE. Device discovery was halted

due to the registration limit.
You must re-invoke the

DiscoverDevices method to

ensure that no undiscovered

devices remain on the

network

.

Advertising