Promotic

AppPriority - property of the Pm object

Description:
Value of the process priority of the running PROMOTIC application in Windows OS.
Syntax:
Long AppPriority
Values:
64 - low priority
32 - normal priority
128 - high priority
Note:
Property access for read and write.
 
This property is not functional in Web panels
Example1:
Affecting of this property is applicable especially in the PmaRoot.onAppStartBegin event.
 
Usually used when the application has to run fast and safely (data collection, archiving...) and other applications can run with a lower priority.
JavaScriptVBScriptSelect and copy to clipboard

Pm.AppPriority = 128;   // Writing into the property
Example2:
JavaScriptVBScriptSelect and copy to clipboard

var nPriority = Pm.AppPriority;   // Reading from the property
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
Navigation:
 
- Pm
 
- Abs
- AppPriority
 
 
- Cos
- E
- Exp
- LN2
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r.o.