Re: Reading multiple channels with DAQcard-1200

On 31/03/2005 12:16, Miguel wrote:
> I want read the 24 channels of digital input. First I
> configure the digital port with:
> 
> for (i=0; i<24; i++) 
> {
>  aux = comedi_dio_config(dispositivo, subdisp, i,
> COMEDI_OUTPUT);
> }

That should be COMEDI_INPUT!

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2005-03-31Z16:42:57