Promotic

ConnectionItem - property of the tvTrend object

Description:
Identifier of trend variable in the PmaTrendGroup object. The tvTrend object reads data from this variable and dispays its chart.
This is a value of the "Trend identifier" configurator in data extension ExtTrend.
Syntax:
String ConnectionItem
Note:
Property access for read and write. The preset value of this property is defined in the "tvTrend > Data source connection > Variable" configurator of this object.
 
This property is also functional in Web panels.
 
After writing into this property, it is necessary to call the Connect method with parameter nType=0.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends(0);
if (oTrend)
{
var sItem = oTrend.ConnectionItem;   // Reading from the property
// or
oTrend.ConnectionItem = "t2";   // Writing into the property
}
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

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