Re: Comedi_examples

On 24/07/06 16:47, Jordi Vendrell wrote:
> > Now I'm trying to confugre a DAS-08 (PC/104) using comedi_config. Anyone
>
> > could tell me where is the list of options? I mean the ones about
> > adresses and IRQ and those things.
> The definitive location is the source code of the driver itself.  It is
> supposed to contain a comment block in a standard format describing the
> options, and the board names to pass to comedi_config, amongst other things.
>

In the end I added the adress of the DAS-08 and it seems to work. I wrote
./comediconfig   /dev/comedi0  das08 0x300

Now I am trying to make some measures using
./inp -c 2 -r 10 -N 10 -vg  (measuring channel 2)
But there is an error message saying
bad chanlist[0]=0x000a0002
comedi: bad chanspec
/dev/comedi0: Invalid argument

anyone knows if I missed any argument?
On the other side, when trying
./inpn
I get
das08: timeout
0 (chan number): nan

do you know if it's a problem with the timer?


kind regards


Jordi Vendrell

Received on 2006-07-27Z13:20:42