Enable – Echelon OpenLNS User Manual

Page 504

Advertising
background image

OpenLNS Programmer's Reference

467

network variable monitor point. If you explicitly disable

monitoring of a single monitor point, you can only re-enable

monitoring of that monitor point by calling the Enable

method on the monitor point.

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

MonitorSet

object to be disabled.

Added to API

LNS Release 3. 0.

Enable

Summary

Enables monitoring of a monitor set. You can

use this method

to enable monitoring of all network variable and message

monitor points in the monitor set. If you set the doPoll

parameter to True, all network variable monitor points in the

set will be polled, unless they had polling explicitly disabled

with the Disable method.
If a message monitor point or 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.
For example, if you call the Disable method on a monitor

point named Point A, and then call the Enable method on the

monitor set containing Point A, Point A would not be

enabled. However, all other monitor points in the monitor set

would be enabled. You would need to call the Enable method

on Point A to re-enable it.
If a monitor point is disabled, and its value changes before it

is re-enabled, the point will not be updated with the new

value until it has been re-enabled and a monitor point update

is received.
You can, however, configure the network variable monitor

points in your network to fetch the values of the network

variables they are monitoring as soon as they are enabled.

To do this for all network variable monitor points in a

monitor set, set the GenerateInitialFetch property of the

monitor set’s NvMonitorOptions object to True.

To do this for a single network variable monitor point, set

the GenerateInitialFetch property of the network variable

monitor point’s CurrentOptions to True.

Availability

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

temporary

MonitorSet

objects and temporary monitor points

Advertising