01-08-2010 10:27 AM
In your orginal code you are only getting one sample see below:
where the red circle is indicating you take the 400 (or what ever sample that you are collecting) and reduce them to only the last one. Something like this might be more what you are looking for:
Given this I think that you should be able to reduce the time out time on the bottom loop.
01-08-2010 11:02 AM
Hi aeastet
You are right! That was enough to get me near the solution that I wanted
I kept 20 samples and 1000Hz and I could reconstruct both waves
Thanks for the help