Generateinitialfetch – Echelon OpenLNS User Manual

Page 668

Advertising
background image

OpenLNS Programmer's Reference

631

Data Type

Integer.

Read/Write

Read only.

Added to API

Depends on the object used to access the property. Generally,

this property exists for an object as soon as the object is

added to the API.

GenerateInitialFetch

Summary

Determines if the network variable value is fetched

automatically when the network variable monitor point is

enabled

.

Availability

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

temporary

MonitorSet

objects and temporary monitor points

are not available on Independent clients.

Syntax

initialFetchValue = nvMonOptObject.GenerateInitialFetch

Element

Description

initialFetchValue

An Integer value indicating whether

the network variable value is fetched

automatically when the network

variable monitor point is enabled.
1

The NvMonitorPoint object

automatically gets the value of

the network variable it monitors

when it is enabled using the

Enable method, implicitly enabled

when it is opened, and the

doEnable element is set to True.

0

The value will not be updated

until an update is received, either

due to normal polling activity or

via bound updates. This is the

default.

-1

The value is set to the value

currently stored in the NvOptions

property of the MonitorSet object.

This may be useful if you want

the value of the property used by

a network variable monitor point

to always match the default value

stored in the MonitorSet object.

This feature, however, is not

available in server-independent

mode.

nvMonOptObject

The

NvMonitorOptions

object to be

acted on.

Data Type

Integer.

Advertising