AppPriority - property of the Pm object
Value of the process priority of the running PROMOTIC application in the OS Windows.
64 - low priority
32 - normal priority
128 - high priority
Property access for read and write
This property is not
functional in Web panels
Affecting of this property is applicable especially in the PmaRoot.onAppStartBegin
Usually used when the application has to run fast and safely (data collection, archiving...) and other applications can run with a lower priority.
Pm.AppPriority = 128;
// Writing into the property
var nPriority = Pm.AppPriority;
// Reading from the property