ni6527 rising/falling edge monitoring

Hi,

I'm using comedi to drive a ni6527 board on fedora core 3 (programming
in user space with comedilib). I saw in the ni6527 user guide that the
board is able to rise an interrupt on channel state change in order to
notify the program of this change.
What I'm wondering is wether it is possible to use this fonctionnality
with the current comedi ni6527 driver ?... and how to use it.

I saw that the driver provides 3 subdevices (a 24 channel output, a 24
channel input and a 1 channel input). Only the last subdevice seems to
support commands. I think I have to use commands to be notified of input
state changes. What does this third subdevice refers to ? (the hardware
only supports 48 DIO !). I tried to set up this subdevice with a command
and a select(), thinking that as soon as one digital input state would
change, the driver would notify it on this subdevice, so that I would
then be able to check all the input channels in order to find the change
but this doesn't seem to work (the select() never ends although I change
input states).
Does anyone knows how to solve my problem ? Please tell me if you need
further information or code sample about what I've already tried...

thanks,

Edouard

Received on 2005-07-22Z12:20:56