- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Wed, 5 Feb 2003 14:36:27 -0600
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 05 February 2003 07:19 am, Wim Meeussen wrote: > > First I initialise a continuous scan (0.5 Hz). I registered a callback > function (CB_EOF) so an interrupt occures after each scan. In the > callback function I read the comedi buffer using the > cfc_read_array_from_buffer(..) function. cfc_read_array_from_buffer() was written to be used by a driver doing output. I suppose it might work for what you are doing, although it will at least generate bogus end of scan and block events. I suppose what you are wanting to use is some equivalent of user-space read() implemented in kcomedilib. It would probably be pretty easy to implement, since it would basically be cfc_read_array_from_buffer() with the event stuff stripped out. - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+QXXP5vihyNWuA4URAjPOAJ9uypO4Zqvw/CndoIy7og+CQcMufwCguMcm ZGAdjp6KTdC6/qLKMCK7jIs= =qTZZ -----END PGP SIGNATURE-----
Received on 2003-02-05Z20:36:27