- From: Andre Paradis <aparadis_at_physique.usherb.ca>
- Date: Fri, 3 Oct 2003 11:58:46 -0400
Hi all, With a simple program, I see the board's name and the driver's name, I see that there is one subdevice but the comedi_get_n_subdevices() command returns me a 0. Using DIO commands, all return -1, invalid channel. What could be the problem ? nsubv = comedi_get_n_subdevices(device); returns 1 nchan = comedi_get_n_channels(device, nsubv - 1); returns 0 dioconf = comedi_dio_config(device, nsubv - 1, chan, dir); chan=0, dir=COMEDI_OUTPUT, returns -1 André Paradis
Received on 2003-10-03Z14:58:46