Jump to content

Stranman

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Stranman

  1. Thanks, but I'm after a little bit more info. It might've been my first post to the forums, but I'm not new to LabView (been programming 5+ yrs). Some things I heard / read somewhere over the years that caused my questions. They may be true, they may not... - Timed loops only execute on a single thread, regardless of how many loops you have (4 timed loops, 1 thread...doesn't make sense to me?). - Timed loops are not compatible to run on AMD processors. Clarity?
  2. I use several software timed loops to run in parallel at different intervals to poll 4 serial ports in a Windows XP environment (LV 8.6) while passing the data (via Queues) to an alignment loop running at the fastest data rate loop to align, display, and log the data. In the past/currently I use while loops w/ a "Wait ms function" placed inside the loop, parallel w/ the code to poll and parse the com ports (I know the "Wait ms" is not the best approach and should probably use "wait until next iteration"). (The poll and parse code executes faster than the wait) I've tried implementations w/ timed loops in the past, but it seemed the loops weren't serviced as regularly (I will need to revisit that). MY QUESTIONs If I don't care about the feedback info provided by timed loops: -What timed loop implementation is most efficient and results in the best performance... a timed loop, while loop w/ wait ms function, or while loop w/ wait until next iteration? - Differences between a timed loop and while loop w/ a wait until next iteration on a non-RT system? Information I'm after is performance based (timing, multi-thread, overhead costs) and associated advantages/disadvantages. (the more technical / under-the-hood the better) Thanks
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.