Re: Comedi Reference

Hi,

On Sun, 2007-10-28 at 08:20 -0300, Breno Maia de Carvalho wrote:
> Could anyone tell me a comedi reference that talks
> about the subdevice possibilities?
> 
> What does any number mean?

the subdevice number is a way to identify the different functional units
of a DAQ device. AFAIK it is the device driver that determines the
assignment of the numbers.
You can get the mapping via the command comedi_test, e.g. with my board:

-------------------------------------------------------
# comedi_test |grep "^.:"
I: Comedi version: 0.7.73
I: Comedilib version: unknown =)
I: driver name: cb_pcidas64
I: device name: pci-das6025
I:
I: subdevice 0
I: testing info...
I: subdevice type: 1 (analog input)
...
-------------------------------------------------------

or in your program via the function comedi_get_subdevice_type() and
friends.
You can find a list of available subdevice types in comedi.h:
$ grep COMEDI_SUBD /usr/include/comedi.h

HTH,
Jan

Received on 2007-10-28Z12:03:57