LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timing issue with while loops.

Gotcha 😉

 

V

I may not be perfect, but I'm all I got!
0 Kudos
Message 11 of 13
(732 Views)

My understanding on Timed loops is still a little muddled. Can someone give me an example (or more of a comparison example) between timed loops and other timing constructs available?

 

Thanks Smiley Happy

 

V.... wait for it..... J

I may not be perfect, but I'm all I got!
0 Kudos
Message 12 of 13
(706 Views)

Hi VJ,

 

timed loops allow for more options than simple while loops with a timing function.

 

You can set priorities, bind the loop to processor cores, set timing delay and offset. They provide values for last iterations timings, signal late iterations and some more. Look for the examples coming with LabVIEW!

 

To compare a single timed loop with a single, simple while loop isn't the point. They can't be more precise on a standard OS using the same timing source. but they add great value when using more than one loop or using other timing sources (like on RealtimeOS)...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 13
(695 Views)