04-28-2008 10:02 AM
04-28-2008 10:09 AM
04-28-2008 10:18 AM
04-28-2008 10:24 AM
04-28-2008 10:29 AM - edited 04-28-2008 10:32 AM
exo wrote:
Okay, let me try again. I need three loops. Two loops start at the same time one runs fast one runs slow. The slow one is probably independent to the problem. When the second loop is done, it needs to restart and start a third loop that takes less than the second.
It might be much easier if you could describe your problem from a real-world perspective instead of programming terms.
What is it suppused to do? What is is controlling? What behavior should the user see?
04-28-2008 10:41 AM
04-28-2008 11:59 AM
How time critical is the acquisition? Is it 1000 samples/sec? 100's? 10's?
Multiple loops is not always the solution. You need to define the sampling rate, intervals between samples (first set stops / second begins).
Also how is the data acquired? Is it a DAQ board? is it buffered? What is the target PC / OS? Single / multicore (additional tricks 😉 )...
It is important to understall all constraints in order to suggest a better architecture.
RayR