Promotic

LastCfgSrc - property of the PmgTrendViewer object

Description:
Reference to recently loaded configuration file, when calling the LoadCfg method.
Syntax:
String LastCfgSrc
Note:
Property access for read only.
 
This property is also functional in Web panels.
 
The reference to the configuration file of trends (read from *.tg or *.xml file) is saved into this property each time when calling the LoadCfg method.
If the LoadCfg method reads the configuration group from the disk file, then the full path to the file is saved in the property.
If the LoadCfg method reads the configuration group from the URL address, then the URL address of the configuration file is saved in the property.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var sSrc = oTView.LastCfgSrc;
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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