Throttleinterval – Echelon OpenLNS User Manual

Page 677

Advertising
background image

OpenLNS Programmer's Reference

640

Read/Write

Read/write.

Note: OpenLNS sets this property automatically for message

monitor points. For example, if you are sending a message

via the SendMsgWait method, a response from the device is

expected. Therefore, OpenLNS will set the UseAsyncSend

property to False.
Also, if you are writing to a message monitor point via the

OutputDataPoint property, no response is expected;

therefore, OpenLNS sets the property to True. As a result,

you should not write to this property when you access it

through a MsgMonitorOptions object.

Added to API

LNS Release 3.0.

ThrottleInterval

Summary

Determines the throttle for network variable updates

. The

throttle is the minimum interval between updates to the

client. This is independent of the poll interval (see the

PollInterval property).

Availability

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

temporary

MonitorSet

objects and temporary monitor points

are not available on Independent clients.

Syntax

throttleValue = nvMonOptsObject.ThrottleInterval

Element

Description

throttleValue

The throttle value in milliseconds.

If this property is contained in the

NvMonitorOptions object accessed

through the DefaultOptions

or

CurrentOptions

property of a

NvMonitorPoint object, you can set

the value to lcaDefaultMcpInterval

(-1) (from the

ConstLNSMonitorSetIntervalDefault

constant) to have the throttle interval

default to the value contained in the

NvOptions

property of the MonitorSet

object.
This may be useful if you want the

throttle interval for the monitor point

to always match the default value

stored in the MonitorSet object.

However, this feature is not available

in server-independent mode.

nvMonOptsObject The

NvMonitorOptions

object to be

acted on.

Data Type

Long.

Read/Write

Read/write.

Advertising