Re: Edge Triggered Digital Inputs

Thanks Ian,

Well, my choices are to write a driver from scratch for the 1753 or to
add the capabilities I need to COMEDI. It is likely better for me and
COMEDI to just make the additions.


On Fri, 2005-04-15 at 03:14, Ian Abbott wrote:
> On 14/04/2005 17:59, Daryl Warkentin wrote:
> > I am using an Advantech PCI-1753 Digital IO board and am having some
> > trouble figuring out if COMEDI supports the ability to configure digital
> > inputs as edge triggered ports (i.e. an interrupt is generated when the
> > digital input changes state). I have found the comedi_dio_config command
> > but it only sets ports to inputs or outputs. Is there a hidden option
> > for edge, or is there another method for configuring this type of
> > behaviour?
> 
> You'd have to use comedi_command() (and comedi_command_test()) for that, 
>   but the bad news is that the adv_pci_dio driver does not currently 
> support the comedi command interface.
-- 
Daryl Warkentin, P. Eng.
Hardware Engineering
SED Systems
www.sedsystems.ca

Received on 2005-04-15Z15:05:52