Re: finite analog output

On Sunday 14 August 2005 11:25 pm, Scott Smedley wrote:
> Hi all,
>
> I tried to modify the comedilib/demo/ao_waveform.c program to output a
> finite number of data points** (see attachment) but I am having
> difficulty.
>
> My program won't output small numbers of data points:
>
> ./ao_waveform -F 10000 -N 10000 10
>
> & for large numbers of data points (-N 30000) the output is being
> truncated.
>
> /var/log/messages has lots of these error messages:
>
> kernel: ni_mio_common: DMA underrun

I fixed some bugs a little while back in the mite/ni code where it trys to 
figure out how many samples have been transferred during ao commands, so 
you might want to try using the branch-0_7 of cvs.  I tried it a little 
with my 6711 and it seemed to work okay.

-- 
Frank

Received on 2005-08-15Z22:25:26