Promotic

onStop - event of the PmaObject object

Description:
The event is triggered for each Pma object in runtime only once at the stop of the application.
At this time all objects still exist. Here it is suitable, for example, to save the state of the object to disk file, etc.
The event is triggered after the PmaRoot.onAppStopBegin event and before the PmaRoot.onAppStopEnd event.
Parameters:
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:
Example:
Writing a variable value to the ini file.
JavaScriptVBScriptSelect and copy to clipboard

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

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