"Normal," priority is not compatible with real-time process  [SOLVED]

Questions about MultiCharts .NET and user contributed studies.
CarseWhite
Posts: 26
Joined: 30 Jan 2014
Been thanked: 4 times

"Normal," priority is not compatible with real-time process  [SOLVED]

Postby CarseWhite » 30 Oct 2014

Windows 7

For several months I have been working on a stall in the price signal. At 6:00 PM central time my MC.NET quits processing with no apparent error or interrupt(s). I've worked with tech support and they tell me it cannot be duplicated.

To make a long story shorter, I found the problem to be with Windows OS, where the task manager assigns a priority to each running process, which is priority type "normal."

"Normal," priority in some cases is not compatible with real-time processes such as MultiCharts.NET, consequently, change the process priority level to "Realtime."

C# code:
using System.Diagnostics;
protected override void StartCalc(){
Process process = Process.GetCurrentProcess();
process.PriorityClass = ProcessPriorityClass.RealTime;

Problem solved.

Return to “MultiCharts .NET”