02-06-2017 12:32 PM
If I request a loop rate which is too fast for the FPGA to route then LabVIEW will throw an timing violation error at compile time. What happens when I set the FPGA loop rate with a control instead of a constant and then request the loop to run fast than is possible AFTER I compile?
See my screenshot.
Solved! Go to Solution.
02-06-2017 01:08 PM
The loop will take as long as it requires. The wait won't do anything if the rest of the loop takes longer to execute than the length of the wait. This is the same as what would happen in standard (non-FPGA) LabVIEW if you put a long operation inside a while loop, along with a wait for a shorter period of time.
02-06-2017 01:13 PM
Thanks for the answer. As I'm compiling my code today this certainly holds true. Interesting how one approach is very forgiving and the other is catastrophic (i.e. compilation failure). Thank you!