Promotic
WikipediaLinkedInYoutubeTwitterFacebook

ReadData - method of the PmgTrendViewer object

Description:
Sending the request for current data.
Syntax:
Empty ReadData()
Note:
By calling this method all tvTrend objects (that were successfully connected to the data sources e.g. by calling the tvTrend.Connect method) send the request for the data to the connected servers.
Calling the method the onReadData event is triggered. The tvTrend objects that are not connected to any data source (to a variable in the PmaTrendGroup object), can use the event for "manual" (i.e. in the script) filling of the buffer for viewer data.
See also:
- tvPoints (object)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
oTView.ReadData();
PROMOTIC 9.0.16 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