How to Prevent CPU Starvation for LabVIEW Applications on Window

Updated Aug 26, 2026

Environment

Software

  • LabVIEW Runtime

When running intensive LabVIEW applications under Windows, background operating system processes or other high-load applications can consume significant CPU resources. This can cause CPU starvation, which may result in LabVIEW loops running slower than expected, degraded timing accuracy, or failure to properly save gathered data.

This article guides you through manually increasing the process priority of your LabVIEW Run-Time application or the LabVIEW Development System in Windows to allocate more processor resources and prevent CPU starvation

To adjust the execution priority of your LabVIEW process in Windows, complete the following steps:

  • Launch your built LabVIEW executable or open the LabVIEW Development System.
  • Press <Ctrl-Shift-Esc> on your keyboard to open the Windows Task Manager.
  • Select the Details tab on the left-side menu or navigation pane of the Task Manager.
  • Locate the target LabVIEW process in the list (for example, LabVIEW.exe or your custom <AppName>.exe.
  • Right-click the process name, hover over Set priority, and select High.
  • A confirmation dialog box will appear. Select Change priority to apply the configuration.

Do not select Realtime priority. Setting the process priority to Realtime can cause critical Windows operating system tasks to starve, which may lead to system instability or a complete system freeze.

Once you change the process priority of the executable to high, the Windows OS scheduler will prioritize threads spawned by LabVIEW ahead of normal-priority background processes. This change optimizes the executable's performance by reducing loop latency, preventing CPU starvation, and ensuring critical tasks (such as high-frequency timed loops and real-time data logging run without interruption.