Isopen, Ispollingenabled – Echelon OpenLNS User Manual

Page 509

Advertising
background image

OpenLNS Programmer's Reference

472

IsOpen

Summary

Indicates whether the specified object is currently open.
You can open the

MonitorSet

object with the

Open

method,

and you can close it with the

Close

method.

When you create a

MonitorSet

as a temporary monitor set,

OpenLNS automatically opens it. Once a temporary monitor

set is closed, it will be deleted

Availability

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

temporary

MonitorSet

objects are not available on

Independent clients.

Syntax

isOpenFlag = Object.IsOpe

Element

Description

isOpenFlag

Boolean value.

Object

A Boolean value indicating whether the

MonitorSet

object is currently open.

TRUE. T

he

MonitorSet

object is

currently open

.

FALSE. T

he

MonitorSet

object is

currently closed

.

Data Type

Boolean.

Read/Write

Read only.

Added to API

LNS Release 3.0.

IsPollingEnabled

Summary

Indicates whether

polled monitoring is enabled for the

monitor set

.

When polling is enabled for a monitor point, OpenLNS will

periodically read the value of the monitor point and report

the value using the OnNvMonitorPointEvent. This is most

efficient when the value must be checked regularly, but the

application does not need to know immediately if the value

changes (for example, outside air temperature).

You can automatically start polled monitoring of a monitor

set by setting the doEnable and doPoll elements to True

when you open the set with the

Open

method. You can also

start polled monitoring of a monitor set by setting the doPoll

element to true when you enable the monitor set with the

Enable

method.

Availability

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

temporary

MonitorSet

objects are not available on

Independent clients.

Syntax

isPollingEnabledFlag = msObject.IsPollingEnabled

Advertising