You are setting your simulated sine wave to 1000 samples per second.
Have you set the number of samples to something more than 100?  To
ensure that you get at least one complete cycle, you should set the
number of samples to put out more than a single cycle.  I usually try
to get over 2 complete cycles, but it should work with about 1.5.

Reply via email to