Re: FIFO overflow error?

Thanks! 

I'm using a mmap'd buffer, instead of read(). What will happen in this
case? Will the streaming be stopped?

Bryan

On Wed, 2002-09-04 at 22:26, David Schleef wrote:
> On Tue, Sep 03, 2002 at 04:40:25PM +0100, bryan cole wrote:
> > For streaming analog input (I'm using the ni_pcimio driver with a NI
> > e-series card), what happens if the DAQ-card FIFO overflows (for example
> > if some other device hogs the IRQs)? Does comedi report an error? Anyone
> > else ever have problems with or worry about FIFO overflows? 
> 
> You will get an EPIPE "Broken pipe" error from read().
> 
> If you actually want to see it happen, run 'comedi_test -t cmd_continuous'.
> It will run AI at maximum speed until it fails, then run at 1/2
> speed, 1/3 speed, etc.  You can try various things to cause
> interrupt latency, such as ping flooding the machine, running
> apm (if you have apm installed), or scrolling a framebuffer
> console.
> 
> 
> 
> dave...
> 
-- 
Bryan Cole
Teraview Ltd., 302-304 Cambridge Science Park, Milton Road, Cambridge
CB4 0WG, United Kingdom.
tel: +44 (1223) 435380 / 435386 (direct-dial) fax: +44 (1223) 435382

Received on 2002-09-05Z07:30:12