Re: INT_TRIG for scans...

I wont run simultaneously commands, but various in sequence:

... some configurations...
comedi_command_test(dev_comedi, &cmd);
comedi_command(dev_comedi, &cmd);

...
some code
....
(at this point, I'm sure that the previous command have been terminated)

...another configurations...
comedi_command_test(dev_comedi, &cmd);
comedi_command(dev_comedi, &cmd);
...

why only the first command executes?



2007/6/14, Ian Abbott <abbotti_at_mev.co.uk>:
>
> > ---------- Forwarded message ----------
> > From: *Paulo André Capellari* <paulo.capellari_at_gmail.com
> > <mailto:paulo.capellari_at_gmail.com>>
> > Date: 13/06/2007 13:10
> > Subject: Re: INT_TRIG for scans...
> > To: Ian Abbott <abbotti_at_mev.co.uk <mailto:abbotti_at_mev.co.uk>>
> >
> > hello!
> >
> > I'm working on it, but if I start "multiple commands" only the first is
> > executed, can you explain why?
>
> You can only run one command simultaneously unless you use use the new
> (6 month old) feature that lets you open subdevices individually (using
> the /dev/comediX_subdY device files created by UDEV).  Then you can run
> simultaneous commands on different subdevices.  I don't know which
> drivers support this mode of operation.  It's best to direct questions
> about that to Frank Mori Hess. See:
>
> https://mail.comedi.org/pipermail/comedi/2006-November/008262.html
>
> --
> -=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
> -=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-
>



-- 
Paulo André
Ciência da Computação - Unioeste/PTI

Received on 2007-06-14Z15:49:50