Re: adl_pci9118dg - Some Problems in using the driver

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 30 January 2004 08:03 am, Michal Dobes wrote:
> 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.
>

That's true, the insn ioctl will only allow 256 samples at a time.  The 
comedilib comedi_data_read_n() function doesn't have this limitation (it 
loops if you ask for a lot of samples).

- -- 
Frank

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQFAHDAx5vihyNWuA4URAivmAKDHOCkKGz04QrlHf/XhlBE/3M0HbACdG34b
lMRqIV4+NA0b3s4OGD6u1yU=
=tfDT
-----END PGP SIGNATURE-----

Received on 2004-01-31Z22:46:09