Promotic
WikipediaLinkedInYoutubeTwitterFacebook

AutoscrollRate - property of the PmgTrendViewer object

Description:
Period in seconds with which the viewer data are read from the source of the trend for all tvTrend objects that were connected to any data source by the tvTrend.Connect method. The data are read only if the Autoscroll property is set to true.

It is possible to enter value greater or equal to 0.2 seconds.

the onReadData event is triggered on reading the data as well.

Syntax:
Double AutoscrollRate
Note:
Property access for read and write. The preset value of this property is defined in the "Autoscroll rate [sec]" configurator of this object.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var nAutoRate = oTView.AutoscrollRate;  //reading

oTView.AutoscrollRate = 2;  //writing
PROMOTIC 9.0.14 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice