Re: help in developing comedi program

On Fri, 27.08.04, rph <rph_at_inventati.org> wrote:

You can look at the comedi examples (i think you can find them in the
comedilib tarball) on how to proceed. Look e.g. at cmd.c.

>   ret=comedi_command(device,cmd);

If the command is running, you can get a filediskriptor to read from with
comedi_fileno().

Then you can use read(), write(), select() etc. like you would with an open
file descriptor or a socket.

hth,
Nils

Received on 2004-08-30Z11:35:37