@leongchuan wrote:
...however is it recommended to run using the timed loop?
.Interesting. Is this just a watercooler remark by a coworker or an official of NI support?
If you don't use any timing and want to run as fast as possible, it is not entirely clear that a timed loop would be generally faster than a regular while loop. However, you should be able to easily create a small benchmark program to verify. This is something you can easily test for yourself and you don't have to take anybodys word for it.
🙂Timed loops have many advantages, primarily they are more deterministic and the can synchronize with other timed loops, you even have information there were delays.
IF your diagram has multiple parallel loops and all other loops are lower priority tasks (user interface, background processing, etc.), you can assign your control loop a higher priority over the other loops. This fact might have been the idea behind the above statement.
The timed loop is much more important in LabVIEW realtime or FPGA systems. If you really need to have fast control loops, this is the way to go.