Parent – Echelon OpenLNS User Manual

Page 513

Advertising
background image

OpenLNS Programmer's Reference

476

The NvMonitorOptions object contained within this property

is not passed by reference. If you acquire a NvMonitorOptions

object through the NvOptions property and modify it, you

must then explicitly assign the modified NvMonitorOptions

object back to the NvOptions property for the changes to take

effect. This following code sample demonstrates this

procedure:

Set nvOptions = monSet.NvOptions
nvOptions.Name = "Device 003"
Set monSet.NvOptions = nvOptions

Each NvMonitorPoint object in a monitor set contains a

CurrentOptions property and a DefaultOptions property.

Once the monitor set containing an NvMonitorPoint has been

opened, you can use the monitor point’s CurrentOptions

property to set the monitoring options that will be used for

the NvMonitorPoint during that particular session.
You can use a permanent network variable monitor point’s

DefaultOptions property to change the default monitoring

options that will be applied to that particular network

variable monitor point in future monitoring sessions. This

may be useful if you want a network variable monitor point

in a permanent monitor set to use a different set of default

monitoring options than those defined for the entire monitor

set. The DefaultOptions properties of network variable

monitor points in temporary monitor sets are not accessible

because temporary monitor sets are only used in a single

client session.

Availability

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

temporary

MonitorSet

objects are not available on

Independent clients.

Syntax

nvOptions = monSetObject.NvOptions

Element

Description

nvOptions

The

NvMonitorOptions

object

containing the default network

variable monitoring options.

monSetObject

The

MonitorSet

object to be acted

on.

Data Type

NvMonitorOptions

object.

Read/Write

Read/write.

Added to API

LNS Release 3.0.

Parent

Summary

Returns the object that spawned the current child object. The

parent object is determined by the means in which a child

object is accessed, not by the OpenLNS Object hierarchy.

Availability

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

some collection objects are not available to Independent

Advertising