- From: Andrew Mubeezi-Magoola <mubeezi_at_yahoo.com>
- Date: Thu, 4 Jul 2002 08:36:27 +0100 (BST)
Dear Dave, Dear all
Thank you for the advise. However, increasing the
NI_TIMEOUT does not solve the problem at all.
Taking the advise of Frank Moris Hess (inserting a
udelay(x)) works.
Question what value of "x" should I apply since any
value of "x" seems to result into NO ERROR even with
udelay(0) !! Any idea why this is so and the way
forward?
Thanking you in advance.
Andrew Mubeezi-Magoola
--------------------------------------
David Schleef <ds_at_schleef.org> wrote: > On Tue, Jul
02, 2002 at 09:24:52AM +0100, Andrew
> Mubeezi-Magoola wrote:
> > Kindly advise what is the optimal solution to
> solve a
> > time interval problem?
> >
> > 1. The problem is:
> > in the function ni_ai_insn_readsee which is
> defined
> > in ni_mio_common.c under
> > (usr/local/src/comedi/comedi/drivers)
> >
> > If the line (introduced in the program by me)
> >
> > rt_printk("Board_Status =%x
> > \n",ni_readb(Status_611x));/* Andrew 100 */
> >
> > is commented out, I get ni_E: timeout !
> >
> > But if it is not commented Out, then the program
> gives
> > no errors.
>
> Try increasing NI_TIMEOUT.
>
>
>
> dave...
>
>
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
Received on 2002-07-04Z06:36:27