Re: FIFO overflow error?

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...

Received on 2002-09-04Z20:26:34