Comedi on RT Linux

Dear All,

I am new to the comedi.  I have a 64 analog input Computing Measurement Card.  
PCI-DAS6402/16.  I can get the analog input on a single channel by 
using "comedi_data_read".  But when I using the following to get two or more 
channels, the data are obviously wrong:

"
..
chan=0;
comedi_data_read(device, 0, chan, 0, aref, data1);
chan=1;
comedi_data_read(device, 0, chan, 0, aref, data2);
chan=2;
comedi_data_read(device, 0, chan, 0, aref, data3);
..
"

Can anybody tell me what's wrong with this?  Is there anybody can give me some 
sample code or advices on this card?  I have got blocked by this card for a 
long time.  Thank you very much!

Best regards

Haihong Zhu


Quoting David Schleef <ds_at_schleef.org>:

> On Mon, Jan 20, 2003 at 04:34:24PM -0000, Fabio Cibin wrote:
> > Hi all,
> > I want to install comedi and comedilib on my IPAQ H3970. I think that I
> must 
> > cross compile but I don't know the correct operation to do this.
> 
> Cross-compiling Comedi is really easy:  cross compile a kernel, and
> then specify that kernel tree when configuring Comedi.  The config
> script will see that the kernel was cross compiled, and do the
> same.
> 
> Comedilib is almost as easy:  run 'make CC=arm-linux-gcc' instead
> of 'make'.
> 
> Are you planning to use the PCMCIA backpack for the IPAQ?  I ask,
> since I'm looking for a CF-size DAQ card for my Zaurus.
> 
> 
> 
> dave...
> 
> 
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
> 


-- 

Received on 2003-01-21Z14:33:19