Re: Realtime Comedi commands

I am not sure about this either.  I would guess you are improving
performance to some extent.. as well as the fact that you can guarantee
your callback routine _won't_ be interrupted (hence, you can meet timing
deadlines).

However.. I have no idea if comedi somehow creates a temporary
realtime thread for the execution of your callback, or if your callback is
always done in non-realtime...?

Also, you know about that realtime command emulation stuff, right? (Not
sure if this is relevant really to what you are asking but it is worth
mentioning since it's cool).

-Calin

On Wed, 10 Jul 2002, Ivan Martinez wrote:

> 	Hello all,
> 	Just cheking if I understand things...
> 	I'm using Comedi with RTAI, and I want to implement some control loop with
> many inputs and outputs. If I use commands, then the control loop and the
> outputs writing should be in the callback routine, that will be executed at
> the end of every scan (with TRIG_WAKE_EOS flag). Then, what has RTAI to do
> with all this?. I don't need any periodic realtime thread, right?. Is RTAI
> improving performance in some way?. Or the only advantage is that I can use
> realtime fifos and the other RTAI services?.
> 	Regards,
> 	Ivan
>
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
>

Received on 2002-07-10Z13:38:40