07-29-2021 03:54 AM
Hi, I am unable to find the timed while loop with period in ticks in the control palette. Please help me in finding, or is there any change in properties in timed loop to change the period from ms to ticks.
Solved! Go to Solution.
07-29-2021 04:00 AM - edited 07-29-2021 04:03 AM
Hi msabah,
different timing sources than "ms" are only supported on dedicated targets for your code, like cRIO or FPGA.
On plain Windows the TimedWhileLoop most often is overkill and seldomly improves your code!
That being said the answer to your question is quite simple:
Wire the DAQmx sample clock to the clock name input of the TWL - as is shown in the example loop above yours!