Isenabled – Echelon OpenLNS User Manual

Page 508

Advertising
background image

OpenLNS Programmer's Reference

471

IsEnabled

Summary

Indicates whether the monitor set is enabled.
A monitor point must be enabled before polling, implicit

bound monitoring, or explicit bound monitoring and control

of the monitor point can be perfromed.
You can enable all the monitor points in a monitor set at once

using the MonitorSet object's Enable method. Alternatively,

you can enable an individual network variable monitor point

using the NvMonitorPoint object's Enable method. Message

monitor points cannot be individually enabled.
You can disable monitoring of a monitor set or a network

variable monitor point with the Disable ethod. If a network

variable monitor point has been explicitly disabled with the

Disable method, it will not be re-enabled when the Enable

method is called on the monitor set. You can only re-enable

that monitor point by calling the Enable method on it.

Similarly, if you call the Enable method on an

NvMonitorPoint object, it will enable monitoring for that

point only if monitoring has already been enabled for the

entire monitor set.

Availability

Local, full, lightweight, and independent clients. Note that

temporary

MonitorSet

objects are not available on

Independent clients.

Syntax

isEnabledFlag = msObject.IsEnabled

Element

Description

isEnabledFlag A Boolean value indicating whether the

monitor set is currently enabled.

TRUE. T

he monitor set has been

enabled

.

FALSE. The monitor set has not been

enabled.

msObject

The

MonitorSet

object to be acted on.

Data Type

Boolean.

Read/Write

Read only.

Added to API

LNS Release 3.0.

Advertising