I'm not sure that I completely understand what you're trying to do.
Are your trying to obtain data over a 10 second period in 10 ms
intervals and update the gui at each 10 ms reading?  If so, then you
need a single case structure inside a while loop whose conditional end
is when the time is 10 seconds past the original time.  The condition
for the case structure is that 10 milliseconds have passed since the
last time it ran.  The case structure would have the code to obtain
the data and update the gui.

If you are trying to take data every 10 seconds then you may be able
to get by with using two separate loops running in parallel with Wait
timers.  While the timing of this method is not as precise as in the
method that Al S gave, it is likely adequate for such long intervals,
especially if the execution time of the code is not too long, and
requires less programming.  As long as you have adequate wait timers
in your loops or subvis there should be no problems with parallel
processing.

Reply via email to