LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to create timed while loop with period in terms of ticks

Solved!
Go to solution

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. 

0 Kudos
Message 1 of 2
(717 Views)
Solution
Accepted by topic author msabah38

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(715 Views)