Promotic

Disconnect - method of the tvTrend object

Description:
Disonnection of the tvTrend object from data source - from trend server.
Syntax:
Boolean Disconnect()
Note:
This method is also functional in Web panels.
 
Since the moment of method calling the data is not acquired from the trend server. The trend server connection can be renewed any time by calling the Connect method.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends(0);
if (oTrend)
{
oTrend.Disconnect();
}
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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