04-29-2008 11:43 AM
Timing doesn't really have anything to do with priority. Timing just ensures that the task/thread/process does not use the processor while the loop is in the wait perdiod (of the timing function).
The event structure is very efficient because it basically ensures that it is not using the processor AT ALL unless someone does something that calls a case (such as changing the value of the defined control).
If your buffer is being overwritten the reduce the amount of wait time in your lower loop and/or increase the buffer size.
04-30-2008 09:00 AM