Re: Can't use select() ?

Hi Wensheng,

On Tue, 2006-09-19 at 16:04 +1000, Wensheng Wang wrote:
> Hi guys,
> I am working with comedi but have problems now.
> I tried to use select() call to scan data incoming, it
> seemed that I always got timeout and the device file
> change couldn't be reported (my digital I/O card
>  doesn't support comedi_command). 

I'm not sure what you are trying to do. If your card does not support
commands, you cannot "wait for data".
You can read the state of a digital input channel via comedi_dio_read().

Regards, 
Jan

Received on 2006-09-19Z21:17:31