Re: adl_pci9118dg - Some Problems in using the driver

	Hi,

Bernhard Schweighofer napsal(a):
> My first problem is the number of samples which seems to be limited:
> 
> If I use 'insn -N 256' all works fine but if I use 'insn -N 257' I get 
> the error message: '/dev/comedi0: Invalid argument' !?

If I remeber correctly this is the instruction interface limit.
You cann't request more that 256 samples at one call.

> If I use the 'cmd' demo I can convert up to 16384 samples. If I request 
> more (e.g. 'cmd -N 16386') I get 24576 samples? (or if I request 30000 
> samples, I get 32768 samples)

This driver uses internally two 16 KiB DMA buffers, if you request more 
samples that 32 KiB then transfer is aligned to the nearest upper
16 KiB boundary.
Somebody uses anything else that cmd->stop_src = TRIG_NONE? :-))

> And the other problem is: If I use the 'cmd' demo, the unipolar ranges 
> don't work - they act like I'd requested a bipolar range (means: correct 
> gain, but bipolar instead of unipolar setting). But they work fine with 
> the other demos (tested with inp, inpn, insn)

This is a bit strange. I'll try to look on this.

	Majkl

Received on 2004-01-30Z13:03:38