- From: Hajime Saito <hajime_at_dome.co.jp>
- Date: Wed, 17 Jul 2002 23:23:01 +0900
Hello, I am using comedi-0.7.65 with comedilibCVS with rtai 24.1.9 on a linux kernel 2.4.18rthal5. Is the it.c example in the realtime_comedi_examples.tar.gz file known to work on the NI pci mio A/D boards? I modified it a little but found that the computer would reboot straight after module initialisation. I then commented in the following three lines at the top of ni_mio_common.c #define DEBUG_INTERRUPT #define DEBUG_STATUS_A #define DEBUG_STATUS_B I then recompiled, reinstalled and reloaded the modules and found that it issues the following message at each interrupt. ni_mio_common: interrupt: a_status=1001 b_status=2001 m0_status=8220c000 A status: fifo_empty passthru0 B status: fifo_half_full passthru1 I have added a line to the callback function to print the contents of the array I included in the comedi_cmd struct and found that it just prints zeros. I therefore think that the Debug part has stopped the driver from destroying itself and so it has not actually done anything. Is this correct? Is there anyone who has succeded in getting this to work on this board? Regards, Hajime Saito
Received on 2002-07-17Z13:23:01