beautypg.com

Enable – Echelon OpenLNS User Manual

Page 532

background image

OpenLNS Programmer's Reference

495

For example, if you call the Disable method on a

MsgMonitorPoint object named Point A, and then call the

Disable method on the monitor set containing Point A, Point

A would not be enabled. All other monitor points in the

monitor set, however, would be enabled.
Once you have explicitly disabled a MsgMonitorPoint with

the Disable method, you can only re-enable that monitor

point by calling the Enable method on it, or by closing and

re-opening the monitor set it belongs to.
You can also disable an entire monitor set by calling the

Disable method on the MonitorSet object. When you do this,

polled and bound monitoring for all monitor points on the

monitor set will be disabled. After this, none of the monitor

points in the set can be enabled for monitoring until the

Disable method has been called on the MonitorSet object

again.
For more details on opening and enabling monior sets and

monitor points, see the Monitor and Control chapter in the

OpenLNS Programmer’s Guide.

Availability

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

temporary

MonitorSet

objects and temporary monitor points

are not available on Independent clients.

Syntax

object.

Disable

Element

Description

object

The

MsgMonitorPoint

object to be

disabled.

Added to API

LNS Release 3.20.

Enable

Summary

Enables monitoring of a message monitor point.
You can enable monitoring of all the monitor points in a

permanent or temporary monitor set at once by setting the

doEnable element to True when you open the monitor set. If

the doEnable element is set to False, you can also enable the

entire monitor set later by calling the Enable method on the

MonitorSet object.
You can disable monitoring of an individual message monitor

point by calling the Disable method on it.
For more details on opening and enabling monior sets and

monitor points, see the Monitor and Control chapter in the

OpenLNS Programmer’s Guide.

Availability

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

temporary

MonitorSet

objects and temporary monitor points

are not available on Independent clients.