01-31-2007 10:46 PM
Hi Kevin,
After looking at the code again, I realized that you have a while loop around
the lower priority timed loop, but the timed loop only executes once for each
iteration of the while loop. By wiring a true constant to the conditional
terminal, the timed loop is forced to execute once for each iteration of the
while loop. If you replace the true constant with a control, I believe
you will get the behavior you are currently getting with your set-up, but the
program is able to successfully deploy and run. What is the reason for
the while loop around the timed loop? You may have a reason for that
while loop that I am over looking.
I hope to hear from you soon!! Best of luck on your application, and have
a great day!!
02-01-2007 07:23 AM
02-02-2007 07:58 AM
I guess I'm still a bit confused as to why you have a while loop around the lower priority timed loop. Can you please explain this in more detail? Why do you have a while loop around a timed loop? The reason I ask is because the crash did not occur when I removed the while loop. I hope to hear from you soon!! Have a great weekend!!
02-05-2007 09:16 AM
Hi Ching,
In one of our applications, the outer while loop is used for listening and accepting a TCP/IP connection, while the inner timed loop processes data on that connection at a given rate. Once the connection is closed, control returns to the outer while loop which will continue to listen for another connection
Kevin
02-06-2007 07:00 PM