Re: Question

On Wed, Oct 30, 2002 at 11:30:55PM -0500, Emily Alden wrote:
> We're using a Lab-PC driver and comdedi_command to take analog
> input data asynchronosly. When we run this piece of code we find
> 8020 data points in the buffer (ret, see code below). But, we get
> a "segmentation fault" after 4340 (i, in code below) data points
> have been read out from the buffer.

read() returns bytes, not number of samples.



dave...

Received on 2002-10-31Z19:58:46