- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Sun, 21 Mar 2004 12:55:21 -0500
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 14 March 2004 10:38 pm, Alex Fielding wrote: > For example, when I register a comedi callback with TRIG_WAKE_EOS, using > an 800 nsec scan and convert clock, I receive interrupts to the callback > approximately every 34 microseconds - that roughly coincides with a 4K > block transfer size other posters have discovered. Setting the > cmd.flags for TRIG_WAKE_EOS or TRIG_RT has no effect on this behavior. The TRIG_WAKE_EOS command flag, when used from kcomedilib to the ni drivers, should be fixed now. End of scan callbacks should have worked with the 0.7.68 code though, except you should have been passing the COMEDI_CB_EOS flag to comedi_register_callback(). > > When I setup my own 1 msec (for example) RT thread to poll the DMA > status of my 800 nsec scan clock, even with a call to comedi_poll() in > there, get_buffer_contents() will return 0 fifteen times in a row before > it returns values such as 4020, 15 more 0's then 4032, 17 more 0's then > 4224, 15 more 0's then 3978, etc. comedi_poll() should work now with the ni_pcimio driver using dma. - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAXdcM5vihyNWuA4URApjyAJ4zxv0vS+64HBHSvd2TjGLHPWaoEACfVc1F WmeVxnVX4nCG8vnsAwEpaE8= =RRri -----END PGP SIGNATURE-----
Received on 2004-03-21Z17:55:21