Re: Acquisition and configuration functions

On Mon, Aug 11, 2003 at 06:10:30PM +0100, Bernd Porr wrote:
> Jiri,
> 
> I've thought a bit about the slowly vaying inputs. I think the best
> thing is to do this by the asynchronous commands (if available). They 
> run in the background and collect the data while you are doing 
> something else. It seems for me that the functions for slowly varying 
> inputs always lock up your program during the averaging process which 
> is not good in your case. Look at the source code sv.c.
> 
> Q to the guru D.S.: or is there a hidden function deep in the comedi 
> library/cvs which performs asynchronous averaging and we (normal) 
> users don't know anything about it? :-)

No.

In fact, I strongly recommend not using the comedi_sv_ code at all.
You should look at it, say "what a great idea", and then implement
it in your own code, and do it correctly.  Comedi_calibrate and
monitor (in comedi_examples) both have sv-like functionality, but
are more advanced.



dave...

Received on 2003-08-11Z18:28:49