LabVIEW Real-Time vs Windows:
when a desktop PC is enough
What determinism and jitter mean, why hardware-timed DAQ works on Windows, what LabVIEW Real-Time and the FPGA add, what they cost in effort, and a checklist for deciding.
Published 6 Dec 2026 · Live Experts
The short answer: if your system only acquires data and the sample timing is set by the DAQ hardware, a Windows PC running LabVIEW and NI-DAQmx is usually enough. If software has to read an input, decide and write an output on a fixed schedule every cycle, or the system must keep running safely with nobody at the PC, you are looking at LabVIEW Real-Time on dedicated hardware, and sometimes an FPGA underneath it.
Determinism and jitter, in plain terms
NI calls a task deterministic if its timing can be guaranteed within a known margin of error, and defines jitter as how much that timing varies from one run of the task to the next. A real-time operating system (RTOS) is built so that a task takes very close to the same time every time it runs (NI: what is a real-time operating system).
An RTOS is not automatically faster than a desktop operating system; it is more predictable. NI lists two classic uses: responding to events, such as automated inspection, and closed-loop control (NI: what is a real-time operating system).
What Windows does well, and where it falls short
Hardware-timed acquisition works fine on Windows
This is the point most often missed. In NI-DAQmx, hardware timing means a clock on the device controls the sample rate. With software timing, the rate is set by the software and the operating system instead. NI says a hardware clock can run much faster than a software loop and is more accurate (NI: timing, hardware versus software).
So when you configure a task with the Sample Clock, the spacing between samples is set by the board, not by Windows. You select it with the Sample Clock Timing VI or by setting Sample Timing Type to Sample Clock; leaving it unset, or choosing On Demand, gives you software timing (NI: timing, hardware versus software). Windows may read the buffer late, but the samples were taken on the board's clock.
Software-timed loops are the weak spot
The trouble starts when a software loop has to run on schedule. NI explains that general-purpose operating systems aim for fairness, so they do not always follow programmed priorities strictly, and they may respond to interrupts with variable delay (NI: what is a real-time operating system). Microsoft describes a normal operating system as giving deterministic results but taking a nondeterministic time to complete a task (Microsoft: soft real-time).
Windows 10 IoT Enterprise, version 21H2, added a soft real-time option. Microsoft describes soft real-time as a small window for completion rather than a precise moment, because of some jitter from the operating system, and says many command-and-control loops with demanding cycle times need a hard real-time device in the loop for direct control (Microsoft: soft real-time).
What LabVIEW Real-Time adds
The LabVIEW Real-Time Module extends LabVIEW so you can develop and debug code on a host PC and deploy it to a dedicated real-time target (NI: LabVIEW Real-Time Module). To program NI real-time hardware graphically, you need LabVIEW plus the Real-Time Module (NI: building a real-time system).
- Timed Loops and priorities. A Timed Loop runs its subdiagram each iteration at the period and priority you set (NI: deterministic applications using the Timed Loop), with control over loop rate, priority and processor affinity (NI: LabVIEW Real-Time Module). The RTOS combines round robin scheduling for equal priorities with preemptive scheduling, so higher-priority threads run immediately (NI: creating deterministic applications).
- Separation of critical and non-critical work. NI advises putting deterministic tasks and everything else in different loops. File I/O, for example, is non-deterministic because its response time depends on the hardware (NI: creating deterministic applications). A Timed Loop also needs idle time each period, or lower-priority tasks never run (NI: deterministic applications using the Timed Loop).
- Headless, stand-alone running. Many RT targets run headless, with only a basic console (NI: front panels of RT target VIs). You build a stand-alone application that starts automatically when the target powers on (NI: stand-alone real-time applications).
- A hardware watchdog. RT Series PXI and CompactRIO controllers have built-in watchdog timer hardware: the application resets it periodically, and if a software failure stops that, the timer expires and triggers recovery (NI: using watchdog hardware). Actions include rebooting the controller or restarting the LabVIEW code, and NI recommends servicing the watchdog from non-deterministic loops (NI: Real-Time watchdog timer overview).
NI Linux Real-Time and the targets
NI Linux Real-Time is NI's real-time operating system built using the PREEMPT_RT patch set. NI lists PXI and PXI Express, CompactRIO controllers, the CompactRIO Single-Board Controller and System on Module targets, and says its jitter is on the same order of magnitude as NI's other real-time systems (NI: introduction to NI Linux Real-Time). It uses a real-time scheduler for time-critical code and a completely fair scheduler for non-critical code (NI: under the hood of NI Linux Real-Time). Depending on the platform, NI's tools use NI Linux Real-Time or Phar Lap ETS (NI: building a real-time system).
Check the target before assuming determinism. NI says standalone CompactDAQ controllers (cDAQ-9132 to 9137) can run the Real-Time Module but are optimised for data logging, not real-time control, and "should not be used for applications that require hard determinism" (NI: standalone CompactDAQ timing). For control, CompactRIO pairs a real-time processor with an FPGA. With NI-DAQmx, NI quotes deterministic control on the processor up to 5 kHz on cRIO-904x and 2.5 kHz on cRIO-905x (NI: CompactRIO with NI-DAQmx).
The FPGA layer, for loops faster than RT
When the processor is not fast enough, or a safety response cannot depend on software, the logic moves to the FPGA. NI says LabVIEW FPGA mode on CompactRIO supports loop rates up to tens of MHz (NI: CompactRIO with NI-DAQmx). In NI's FPGA control sample project, the control algorithm runs on the FPGA at faster than 10 kHz, and NI states that running the control and safety logic on the FPGA "provides maximum reliability" (NI: FPGA control on CompactRIO sample project).
The cost is development time. The FPGA is programmed with the LabVIEW FPGA Module (NI: building a real-time system), and NI says compiles can take minutes to hours, longer with higher-density silicon (NI: LabVIEW FPGA compilation options). Plan for that wait in every change-and-test cycle.
Cost and complexity to plan for
Prices depend on your hardware and licensing, so we list the items, not figures:
- Software licences. The Real-Time Module on top of LabVIEW (NI: building a real-time system), plus the LabVIEW FPGA Module if you use the FPGA (NI: LabVIEW FPGA compilation options). NI also offers a Real-Time Deployment License to convert an existing Windows PXI controller to real-time (NI: building a real-time system).
- Target hardware. A real-time controller or CompactRIO in place of, or alongside, a desktop PC.
- Deployment and security. Building and deploying a startup application (NI: stand-alone real-time applications). On NI Linux Real-Time, SSH must be enabled before you can log in to the Linux shell remotely, and NI strongly recommends changing the default admin password, which is blank if never set (NI: under the hood of NI Linux Real-Time).
- Harder debugging. NI says deterministic applications need different debugging techniques, with two levels to verify: application behaviour and timing behaviour (NI: debugging deterministic applications).
A decision checklist
- Is it acquisition only, on a hardware clock? Then Windows with DAQmx is normally enough (NI: timing, hardware versus software). See NI DAQ vs USB DAQ for the hardware side.
- Is there a closed control loop in software? If software reads, computes and writes every cycle, that is the job an RTOS is designed for (NI: what is a real-time operating system). Compare your rate with the target's figures (NI: CompactRIO with NI-DAQmx).
- Are there safety interlocks? Look at the hardware watchdog (NI: using watchdog hardware) and, for the most reliable response, safety logic on the FPGA (NI: FPGA control on CompactRIO sample project).
- Does it run unattended? A stand-alone RT application starts at power-on (NI: stand-alone real-time applications), and the watchdog can reboot the controller or restart the code after a software failure (NI: Real-Time watchdog timer overview).
- Must control survive a PC reboot? Then control has to live on the target. In NI's sample project, the UI can connect and disconnect at any time without affecting the control loop (NI: FPGA control on CompactRIO sample project).
The common hybrid: RT target plus Windows host
Going real-time does not mean dropping the PC. NI's FPGA control sample project shows the split: the FPGA runs the control loop, the real-time controller relays commands, monitors CPU load and memory, and handles errors, and a desktop user interface displays data and sends commands (NI: FPGA control on CompactRIO sample project). Keep file I/O out of the deterministic loop (NI: creating deterministic applications), and leave the PC to do what it is good at: operator screens, logging, databases and reports. For logging formats, see TDMS vs CSV.
What we use
We have not yet delivered a LabVIEW Real-Time project. If your system needs one, we tell you before quoting whether we can take it on. Our LabVIEW example is a 2026 data acquisition platform built on the Actor Framework for a US engineering client, delivered in six reviewed milestones, which led to a follow-on build. More on that work is on LabVIEW development and data acquisition and test systems.
Questions engineers ask
Is Windows real-time?
Not in the hard real-time sense. Microsoft offers soft real-time on Windows 10 IoT Enterprise, version 21H2, which it describes as a small window for completion because of some operating system jitter, and it says demanding control loops need a hard real-time device for direct control (Microsoft: soft real-time).
Do I need LabVIEW Real-Time for data acquisition?
Usually not, if the acquisition is hardware-timed. With the Sample Clock, a clock on the device sets the sample rate, not the operating system (NI: timing, hardware versus software). You need RT when a software loop's timing matters, or the system must run stand-alone (NI: stand-alone real-time applications).
What is NI Linux Real-Time?
NI's real-time operating system, built using the PREEMPT_RT patch set, running on NI targets such as PXI and CompactRIO controllers (NI: introduction to NI Linux Real-Time). The LabVIEW Real-Time Module supports it (NI: under the hood of NI Linux Real-Time).
Get a fixed price for your project
Describe what you want built and within two working days you get a free written plan with milestones, risks and a fixed price. Clients rate our work 4.9 out of 5 across 354 verified Freelancer reviews.
Tell us what you're building.
Send a short brief. We reply with questions or a fixed-price proposal. If AI isn't the right answer, we'll say so.