Re: Channel scanning

Frank Mori Hess wrote:

>Fredrik,
>
>Did you use scan_begin_src TRIG_TIMER or TRIG_FOLLOW, and does single channel 
>work either way?
>
>- -- 
>Frank
>
Frank,

TRIG_FOLLOW works but this also means that the maximum sampling
frequency allways is used. TRIG_TIMER works if two or more channles are used
(one channel don't work)

I get these error messages in the kernel log for the DAQCARD-1200 using
channel 0 only:

daqcard-1200: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x011f
comedi0: ni_labpc: daqcard-1200, io 0x100, irq 3
bad chanlist[0]=0x00b00000 n_chan=2 range length=2
bad chanlist[0]=0x00b00001 n_chan=2 range length=2

Running exactly he same code on a different machine with NI PCI-6023E card
gives no errors in the kernel log.

Which instruction in the driver code prints the kernel error messages ( 
I guess
it should be somewhere in the labpc_ai_cmd function)?

Fredrik

Received on 2002-11-28Z17:00:08