Fwd: RTAI and COMEDI -> alone they work fine, but not in conjunction (bad chanlist, bad chanspec)

Hi All!

I'm not sure if this is a RTAI oder Comedi problem, so I posted it on both
mailinglists.

I have a working RTAI System and want to try a very simple Model in Matlab.
I have the output of comedi_dio_read connected to the input of a
rtai_meter.

Compiling works, but when I start the generated code, I get the following
errors

May  9 13:52:11 localhost kernel: bad chanlist[0]=0xd0966220 n_chan=8 range
length=1
May  9 13:52:11 localhost kernel: bad chanspec

They repeat that fast as is set as the sampling time in comedi_dio_read.

The Meter in XRTAILAB stays at zero, doesn't move.


When I try a comedi standalone programm (without rtai), I get the correct
values.
I am currently using the parallel port as comedi DAC device.

What do I do wrong?

Regards

---------------------------------------------
Free POP3 Email from www.Gawab.com 
Sign up NOW and get your account _at_gawab.com!!


---------------------------------------------
Free POP3 Email from www.Gawab.com 
Sign up NOW and get your account _at_gawab.com!!

Received on 2007-05-09Z12:07:25