- From: frank mori hess <fmhess_at_students.uiuc.edu>
- Date: Mon, 8 Jul 2002 17:18:13 -0500 (CDT)
On Mon, 8 Jul 2002, [iso-8859-1] ANDRES ESCOBAR wrote: > I suppouse (the documentation is relly short about it) > that to use real time i have to enable a device that > uses the comedi_rt_timer module so at start up i run: No, comedi_rt_timer is for hardware that can't pace itself. It uses RT extensions to do the pacing. Note the timing jitter provided by RT is much worse than the pacing provided by a card's internal pacing hardware. You don't need comedi_rt_timer for the lab-pc cards. > Then whenever I try a streaming command for reading in > /dev/comedi1 that has the TRIG_RT flag set it fails > and blocks the device. The kernel error message is: > > kernel: BUG: comedi_switch_to_rt() called with bogus > interrupt 0 > > Then I have to reboot the system because is not > possible to rmmod the ni_labpc module. Setting TRIG_RT isn't really meaningful for comedi_rt_timer, but yes this is still a bug. > > How can i achieve Real Time sampling with comedi??? > It depends on what exactly your needs are as far as real-time goes. Frank
Received on 2002-07-08Z21:18:13