AO waveform bug

I am trying to get simultaneous analog input and output working with
a National Instruments PCI-MIO-16E-1 with comedi-0.7.65. 

When I tried to perform analog output of a fixed length waveform,
part of the waveform was truncated. It seems that the truncation is
dependent upon the sample rate, and the number of samples.

scan_begin_arg=20000, sending 1122 samples, drops 622
scan_begin_arg=20000, sending 1025 samples, drops 626
scan_begin_arg=15000, sending 401 samples, drops none
scan_begin_arg=15000, sending 511 samples, drops none
scan_begin_arg=15000, sending 1067 samples, drops 517

These results are with comedi-0.7.65. I had similar results with the cvs
snapshot from 2002-July-29.

If you want to see my code, it is available at:

http://www.newimage.com/~rhk/aotest.c

-Ray

Received on 2002-08-01Z13:42:33