Dspollinterval – Echelon OpenLNS User Manual

Page 632

Advertising
background image

OpenLNS Programmer's Reference

595

variable’s type, or it is set to

the default format for the

network variable given the

locale settings currently in

effect.

FALSE. The DsFormatType property is

not the same as the network

variable’s type.

For example, if the current locale

settings are set to use US measurement

units, then for a network variable of

type SNVT_temp_f, the

DsIsDefaultFormat property will return

True if the DsFormatType property is

set to SNVT_temp_f or

SNVT_temp_f#US.

nvObject

The

NetworkVariable

object to be acted

on.

Data Type

Boolean.

Read/Write

Read-only.

Added to API

Prior to LNS Release 3.0.

DsPollInterval

Summary

Specifies the poll or throttle interval (in tenths of a second)

used by the Data Server. For remote clients using the shared

Data Server mode, this property specifies the batch update

rate

.

The DsPollInterval property specifies either a poll or throttle

interval, depending on the context in which it is used.

For polled network variables, the property specifies the

interval between polls. Setting the value to 0 disables

polling.

For bound network variables, the property specifies the

minimum interval which must elapse before the Data

Server will generate an update event. The throttling

interval may be used to regulate the rate in which

OnNetworkVariableUpdate events occur.

Remote client applications that use shared access mode

receive batched data updates. Instead of receiving individual

network variable value updates over the IP network, the

client receives a regular update containing the updated

values for the monitored network variables. In this scenario,

the System

object's DsPollInterval property specifies the

batch update rate for each network variable. If you are

developing a remote application that uses shared access

mode (meaning that the DsMode property is set to

lcaDsModeShared), you cannot set the NetworkVariable

Advertising