12-15-2006 02:31 PM
12-18-2006 11:20 AM
Hi,
There are a couple things I would try to improve performance. First, I would move all of your Create Channel, Start and Clear channel DAQmx calls outside of your while loop. These take some overhead and can slow things down so generally you want to avoid using them in a loop. I would also use the "Wait Until Next MS Multiple" instead of the "Wait (ms)" this will change your timing reflect the length of the other calls. Check out this doc on the differences.
Hope this helps, please post back if you have more questions.
Thanks,
Andrew S.
National Instruments