1 Aug 2003 05:35
Re: PC104-DAS16jr/16 callback
Frank Mori Hess <fmhess <at> users.sourceforge.net>
2003-08-01 03:35:28 GMT
2003-08-01 03:35:28 GMT
On Thursday 31 July 2003 03:06 pm, Muks Raju wrote: > Hello I continue to have problems with the PC104-Das16jr/16 and comedi. > I have a program which does acquisition of Analog inputs using the > callback feature. It is intended to sample every 3ms . On a toshiba > libretto with a NI AI 16XE50 DAQ the call back is called every 3ms. But > with the same program on the PC104-DAS16jr/16 the callback is called > only once in 60ms and hence within a few seconds i get a buffer overrun. > Any inputs would be much appreciated > > Muks Yeah, that's right. If you are using the driver's timer mode, that's how often it polls the dma transfer. The polling period could be made adjustable without much trouble, but even then the shortest period possible would be 1 jiffy (10ms usually). By the way, you aren't doing this from an RT kernel module are you? -- -- Frank
>PS. Please do not cc: subscription only mailing lists.
>
I'm subscribed to those lists. Both, "comedi" and "kernel-devel" are
interested in this, I think.
/Bernd
RSS Feed