- From: Frank Mori Hess <fmhess_at_speakeasy.net>
- Date: Mon, 27 Aug 2007 07:37:49 -0400
On Monday 27 August 2007 02:09, Askar Ibragimov wrote: > Thank you Frank, > > though, I need asyncronous read of the counters, as I need to know, > how many counts happened per second. Take the difference between successive reads. > I guess I figured out a solution: I will write an interrupt handler > and make it called from system timer (init_timer, etc.) similar to the > driver of comedi_test. This routine will read the counters and pass > their data to a buffer. I do not need hard realtime here so the > precision of the computer clock is enough. What do you think about > this schema? If the hardware doesn't support timed acquisition, don't implement some lame software timed pseudo-command. If you want that, use comedi_rt_timer. But I don't see any reason you need either. -- Frank
Attachments
- application/pgp-signature attachment: stored
Received on 2007-08-27Z10:37:49