Promotic

ReadData - method of the PmgTrendViewer object

Description:
Sending the request for current data.
Syntax:
Empty ReadData()
Note:
This method is also functional in Web panels.
 
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 the 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.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.