LabVIEW FPGA Compilation Failed Due To Timing Violations

Updated Dec 15, 2023

Reported In

Hardware

  • sbRIO-9628
  • sbRIO-9629
  • sbRIO-9638
  • sbRIO-9637

Software

  • LabVIEW

Driver

  • NI CompactRIO

Issue Details

  1. I'm using sbRIO-962x or sbRIO-963x and LabVIEW 2022 Q3. I code a simple FPGA I/O read and write by referring to the shipping example. However, the compilation fails due to timing violations.
  2. I compile the shipping example (sbRIO Onboard Analog Input) in LabVIEW 2022 Q3, and it shows timing violations error below:
LabVIEW FPGA: The compilation failed due to timing violations.
 
Click the Investigate Timing Violation button to display the Timing Violation Analysis window.


FPGA Compilation Timing Violations.jfif
 

Solution

This happens when using LabVIEW 2022 Q3 with CompactRIO driver version 2022 Q3. To solve this issue, try either one of the options below.
  • Upgrade the CompactRIO driver to the latest compatible version (eg. CompactRIO 2023 Q3).
  • Downgrade the LabVIEW version (for example, to LabVIEW 2021).