From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time loops problem

Solved!
Go to solution

@dkidw2010 wrote:

We now agree that this is a problem in LV and not the logic of the programmer (me).  I will mark this tread as complete.

 

Apparently, the timed loop does just generate one tread for execution, as I guessed.  I do not agree that this is important aspect of timed loops as one could use them for polling.  In any case, nothing is mentioned in the documentation nor restrictions on their use.

 

I have attached another example of why it fails (and could likely think of many more).  This example is just using two dependent loops.  Apparently, any process that waits on another will cause it to fail whereas it works fine when called from a typical while loop.

 

Thanks for you help.  I learn something new everyday.

 


I disagree.  This is like using a screwdriver as a hammer and then complaining that it doesn't drive nails into wood and then blaming the screwdriver for not working correctly.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 21 of 21
(353 Views)