- From: Derek Foreman <Derek.Foreman_at_nrc-cnrc.gc.ca>
- Date: Mon, 16 Jan 2006 14:04:08 -0600 (CST)
That's a pretty "dumb" board. I don't think you get to use commands. You just get the comedi_dio_* functions. The hardware supports a couple of more interesting modes (strobed I/O), but afaict comedi doesn't support them. On Mon, 16 Jan 2006, Stephanie Ann Wissel wrote: > Hello again, > > I've been trying to configure my PCI-NI-96 board using comedi 0.70. After a > little initial trouble with compilation, I'm happy to say that communication > with my PCI board is going well with one exception. > > After running comedi_config: > > comedi_config /dev/comedi0 pci_nidio > > (I omit the bus/slot numbers because it's unnecessary for the pci drivers). > comedi_config reports no errors, but board_info reports that commands are not > supported for all 4 of my subdevices. I assume that this has something to do > with the configuration process, but I can't quite figure it out. > > In another thread (see pci 6025E and 8255 > support,https://cvs.comedi.org/pipermail/comedi/2003-September/005019.html ), > it was recommened > that one should edit the Makefile in comedi/drivers to enable the 8255 chip > such that the line: > > DEFS= -DHAVE_CONFIG_H > > is changed to > > DEFS= -DHAVE_CONFIG_H -DCONFIG_COMEDI_8255=1 > > I tried this and recompiled comedi, but there has been no change. > > What am I missing? Listed below is the output from board_info and lsmod: > > Thanks, > Steph > > ./boardinfo: > overall info: > version code: 0x000746 > driver name: ni_pcidio > board name: pci-dio-96 > number of subdevices: 4 > subdevice 0: > type: 5 (digital I/O) > number of channels: 24 > max data value: 1 > ranges: > all chans: [0,5] > command: > not supported > subdevice 1: > type: 5 (digital I/O) > number of channels: 24 > max data value: 1 > ranges: > all chans: [0,5] > command: > not supported > subdevice 2: > type: 5 (digital I/O) > number of channels: 24 > max data value: 1 > ranges: > all chans: [0,5] > command: > not supported > subdevice 3: > type: 5 (digital I/O) > number of channels: 24 > max data value: 1 > ranges: > all chans: [0,5] > command: > not supported > > lsmod: > ni_pcidio 12032 1 > mite 12164 1 ni_pcidio > 8255 8704 1 ni_pcidio > comedi 31896 5 ni_pcidio,8255 > > > _______________________________________________ > comedi mailing list > comedi_at_comedi.org > https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi >
Received on 2006-01-16Z20:04:08