Re: Cmd/mmap with realtime

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

On Thursday 07 November 2002 11:02 am, Daniel Koch wrote:
> Hi,
>
> I'm using a PC104-DAS16/JR with comedi-0.7.65 and comedilib-0.7.18 with an
> rthai patched 2.4.19 kernel. I would like to use cmd or mmap with realtime,
> so I set the comedi_cmd flag to TRIG_RT, but comedi tells me that it`s not
> possible to set the TRIG_RT flag while in DMA transfer mode. On the other
> hand cmd and mmap require both an IRQ and DMA... I need to use realtime
> data aquisition, because I need the full sampling rate of 100KZH which is
> provided by the board. Without realtime I get I/O errors after some time
> even if I increase the read_buffer_size. I'd appreciate any help,
>
> Daniel Koch

Daniel,

Have you tried using the 'timer mode' option instead of an interrupt?  You 
still won't be able to use TRIG_RT, but it should help prevent the board's 
fifo from overruning.
- -- 
Frank

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

iD8DBQE9yqVr5vihyNWuA4URAiAbAKC0n8LK2/ZPRt2VLNai1wFJugGvnQCg4eJQ
mY527qUCay3926sqSqqPIEA=
=HoPk
-----END PGP SIGNATURE-----

Received on 2002-11-07Z17:39:53