Card hangs on buffer overflow

I've gotten my NI at-mio-16e2 working with the CVS version of the 
ni_atmio driver.  I'm using kernel 2.4.25 with the rthal5 patch from 
rtai 3.0r3.  I'm running aquistions at 500ksps on analog input ch0 
only.  My PII 400 will keep up just fine for a while and then after say 
30 seconds of capture the card buffer will overflow.  This in itself is 
probably a factor of my computer being to slow.  However, after the 
buffer overflows the card becomes unusable.  Any commands sent to the 
card terminate immediately.  I can unconfigure the device with 
comedi_config  but if I try to reconfigure it I get a kernel oops 
(killing interrupt handler).  Is there any way that I can have an 
elegant buffer overflow?  If I lose some data thats okay but I'd like to 
be able to continue to aquire samples.  Perhaps something funny is 
happening on the interrupt after the buffer overflow?  I don't mind 
debugging this myself but I don't really know where to start.

Thanks for any help,
David Carr

Received on 2004-03-31Z22:51:24