After looking at your code there are several things to try. First, implement some event handling that collects and reports any errors that occur. If you need more specific help on how to do this, contact me directly. I have VIs that can help. Second, try rewritting the code to not utilize the waveform datatype. It's pretty new and it's very possible you found a problem with it. Third, you never deinitialize the DAQ hardware. While this shouldn't cause the problem you are experiencing, but it's a good habit to get into.
Finally, while your application is running look at Windows' memory usage, do you see anything happening to it over time? Like it slowly creeping upwards?
The VIs I have posted implement the first two suggestions in a pretty basic way. T
he error handling in particular should be done better, but this will at least allow you to see if anything is happening...
Mike
mporter@arielcorp.com