Update cookies preferences
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 an 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 value of the variable into 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.31 SCADA system documentation MICROSYS, spol. s r.o.

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