Methods, Close, Disable – Echelon OpenLNS User Manual

Page 503: D close m

Advertising
background image

OpenLNS Programmer's Reference

466

Parent

Tag

Methods

The object contains the following methods

.

Close

Disable

Enable

Open

Close

Summary

Closes a

MonitorSet

object.

For permanent MonitorSet objects, this method causes the

monitor set to be closed, and all the monitor points

(MsgMonitorPoint and NvMonitorPoint objects) in the set to

be disabled. You can re-open and re-enable the monitor set

later with the Open method. Note that it is more efficient to

disable and re-enable a monitor set than to close and re-open

a monitor set later in a given client session.
When this method is invoked on a monitor set, the client

application will be notified of the disabling of each monitor

point in the set via the Object Server's

OnNvMonitorPointEvent and OnMsgMonitorPointEvent

events.
This method does not apply to MonitorSet objects that were

created as temporary monitor sets because all temporary

MonitorSet objects are deleted permanently as soon as the

client session in which they were created ends. You can

create temporary MonitorSet objects with the

CreateTemporaryMonitorSet method.

Availability

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

temporary monitor sets are not available on Independent

clients.

Syntax

monSetObject.

Close

Element

Description

monSetObject The

MonitorSet

object to be closed.

Added to API

LNS Release 3.0.

Disable

Summary

Disables monitoring of a monitor set. If monitoring is

disabled for an entire monitor set, then all the monitor points

in the set will be disabled. You will not be able to re-enable

those monitor points until the Enable method is called on the

monitor set.
You can also disable an individual message monitor point or

Advertising