LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

several while loops...

Hi all....

Got a question that need all expert answer here...

In my VI i using several while loops to make my VI can execute in several ways...
in each of my while loop i using different value of "Wait (ms)" to control delay time for each of my while loop...

My question is "will the signals break off or become uncontinuous if i put it in another while loop and execute it without any delay"(without using any delay function) in same VI?

with regard
Jaxx
0 Kudos
Message 1 of 3
(2,202 Views)
Hi Jaxx,

If the new loop doesn't have any function with it's own timing (serial read with timeout for example) then it will most likely starve all of the other loops of processor time. If there's something inside the loop which limits the execution speed, it won't because this is in ways similar to placing a "real" wait function in the loop.

Edit : just re-read your mail

If you're referring to placing a while loop around your entire VI, then this shouldn't really have any effect on the synchronisation at all. It just means that the entire thing will run again and again and again....

End Edit

Hope this helps

Shane.

Message Edited by shoneill on 03-24-2005 10:42 AM

Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 2 of 3
(2,201 Views)
I get it.. thanks Shane!

with regard
Jaxx
0 Kudos
Message 3 of 3
(2,194 Views)