Re: Strange results using comedi comedilib-0.7.21 and comedi-0.7.68 on sarge testing.

On Mon, 30.08.04, Martin Langteigen <martin_at_rocketrange.no> wrote:

> Aug 30 10:16:00 localhost kernel: bad chanlist[0]=0x00000008 n_chan=8
> range length=5 (After trying channel 8:)

This strikes me as odd, because tut2.c does not do anything with an insn
list.

Are you sure that you got particular error message from running tut2.c?

> Aug 30 10:16:15 localhost kernel: comedi0: pcl711: A/D timeout

The A/D timeout happens when the driver tells the board to get a sample but
times out waiting for the "sample ready" flag to be raised.

You could try increasing

#define PCL711_TIMEOUT 100

in pcl711.c - it defines the timeout in microseconds.

hth,
Nils

Received on 2004-08-30Z08:36:03