- From: Miguel <mimecares_at_yahoo.es>
- Date: Thu, 31 Mar 2005 13:16:11 +0200 (CEST)
Hi
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);
}
NOTE: aux variable must return 0? I get '1'
---
I read digital port with:
aux = comedi_dio_bitfield(dispositivo, subdisp, 0,
&bits);
If I print aux value I get always 2**24 (all the bits
set to 1) although I change input or disconnect the
cable
Any suggestion?
Thanks for your time
______________________________________________
Renovamos el Correo Yahoo!: ˇ250 MB GRATIS!
Nuevos servicios, más seguridad
http://correo.yahoo.es
Received on 2005-03-31Z10:16:11