08-10-2005 05:40 PM
08-11-2005 04:14 PM
Hi Henry,
What it sounds like is occurring is that the Read VI for the counter is waiting
until there is enough data to read before it moves on. Due to the nature
of a While Loop it must have all of the code execute within it before it will
move on to the next iteration. In your case this sounds like a bad thing
though because you need to have some more data that you need to continue
processing.
Typically when doing data acquisition it is a good idea to have all of the
tasks within a single loop. However, if this doesn't work for you then
you might want to try placing your Counter Task within a separate, but
parallel, loop. That would allow some of your code to continue to execute
even if the counter operation times out.
If this doesn't work for you, then you might want to consider posting a
simplified version of your code so that we could take a look and see what else
may be going on.
Regards,
08-12-2005 10:14 AM
Thanks for your help It works well with the counter read VI in an independent while.
Henry