- From: Joseph Boduch <joetek2002_at_yahoo.com>
- Date: Tue, 23 Mar 2004 17:28:14 -0800 (PST)
To anyone who might know: I have an NI-6503 board. I am using the ni_pcidio driver with components 8255 and mite. The driver loads fine and I am able to read the IO lines fine with the upper level commands comedi_data_read(), comedi_data_write(), and comedi_bitfield(). I would like to get an interrupt on an input change on the DIO port. Looking at the driver, it looks like SIGIO is fed up, so I potentially could use a signal handler or ideally I would like to use the select() command and block on that until I get an input change on the DIO port. In looking at the driver, the comedi_cmd and comedi_cmd_test are very limited on support. I am using driver version *.67. I used the methodology in the sigio.c example program to set up the fcntl SETFL and F_SETOWN for the SIGIO interrupt. If anyone has worked with this board or the ni_pcidio driver and has any suggestions, please let me know. Thanks and regards, Joseph
Received on 2004-03-24Z01:28:14