Echelon OpenLNS User Manual

Page 506

Advertising
background image

OpenLNS Programmer's Reference

469

clients.

Syntax

monSetObject.

Open

doEnable, doPoll

Element

Description

monSetObject The

MonitorSet

object to be closed.

doEnable

A Boolean value.

TRUE.

Automatically invokes the

Enable

method on the monitor

set as it is opened.
This enables monitoring on all

of the network variable and

message monitor points in the

monitor set that have not been

explicitly disabled with the

Disable

method.

If you set the doEnable

element to True when you

invoke this method, the client

application will be notified of

the enabling of each monitor

point in the set via the Object

Server's

OnNvMonitorPointEvent and

OnMsgMonitorPointEvent

events. This applies to both

temporary and permanent

monitor sets

FALSE.

If this element was set to

False, you can enable

monitoring with the

Enable

method after opening a

monitor set.
You can use the

Disable

method to turn off monitoring.

doPoll

A Boolean value. If the doEnable

property is set to False, this value is

ignored.

TRUE. Use polled monitoring to

monitor the monitor points in

the monitor set.

You can set the rate at which

the monitor points in the set

will be polled by writing to the

PollInterval

property of the

NvMonitorOptions

object

accessed through the monitor

set’s

NvOptions

property.

FALSE. Use bound monitoring to

Advertising