onStart - event of the PmaObject object

The event is triggered for each object in runtime only once at the beginning.
Here it is suitable, for example, to perform various initializations of the object, as, for example, reading data from the file, etc.
The event is triggered after the PmaRoot.onAppStartBegin event and before the PmaRoot.onAppStartEnd event.
pMe(Object) Reference to the PmaObject object where the event rises.
pEvent(Object) Reference to the object describing detailed information about the specific event.
The pEvent parameter is not used here because this event does not need any additional information.
See also:
Reading a value from the ini file and writing it into a variable in the application.
JavaScriptVBScriptSelect and copy to clipboard

var val1 = Pm.IniFileRead("#cfg:file.ini", "Data", "Value1", "1.0", 4);
pMe.Pm("/Data").Value = val1;
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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