demo/info /dev/comedi0

Hello list

I install comedi in debian, but I do not know the ropes at work with 
these cards (ni-pci 6221 ) and I do not understand that this signifies :


cct0004:/usr/src/comedilib# cat /proc/comedi
comedi version 0.7.73
format string: "%2d: %-20s %-20s %4d",i,driver_name,board_name,n_subdevices
 0: ni_pcimio            pci-6221               11
ni_pcimio:
 ni_pcimio
8255:
 8255
cct0004:/usr/src/comedilib# demo/info /dev/comedi0
overall info:
  version code: 0x000749
  driver name: ni_pcimio
  board name: pci-6221
  number of subdevices: 11
subdevice 0:
  type: 1 (analog input)
  number of channels: 16
  max data value: 65535
  ranges:
    all chans: [-10,10] [-5,5] [-1,1] [-0.2,0.2]
  command:
    start: now|ext|int
    scan_begin: timer|ext
    convert: timer|ext
    scan_end: count
    stop: none|count
  command fast 1chan:
    start: now 0
    scan_begin: timer 4000
    convert: timer 4000
    scan_end: count 1
    stop: count 2
subdevice 1:
  type: 2 (analog output)
  number of channels: 2
  max data value: 65535
  ranges:
    all chans: [-10,10]
  command:
    start: int
    scan_begin: timer
    convert: now
    scan_end: count
    stop: none|count
  command fast 1chan:
    start: int 0
    scan_begin: timer 0
    convert: now 0
    scan_end: count 1
    stop: count 2
subdevice 2:
  type: 5 (digital I/O)
  number of channels: 8
  max data value: 1
  ranges:
    all chans: [0,5]
  command:
    not supported
subdevice 3:
  type: 0 (unused)
subdevice 4:
  type: 6 (counter)
  number of channels: 2
  max data value: 1
  ranges:
    all chans: [0,1]
  command:
    not supported
subdevice 5:
  type: 9 (calibration)
  number of channels: 1
  max data value: 0
  ranges:
    all chans: [0,1]
  command:
    not supported
subdevice 6:
  type: 8 (memory)
  number of channels: 1024
  max data value: 255
  ranges:
    all chans: [0,1]
  command:
    not supported
subdevice 7:
  type: 5 (digital I/O)
  number of channels: 10
  max data value: 1
  ranges:
    all chans: [0,1]
  command:
    not supported
subdevice 8:
  type: 0 (unused)
subdevice 9:
  type: 11 (serial digital I/O)
  number of channels: 1
  max data value: 255
  ranges:
    all chans: [0,1]
  command:
    not supported
subdevice 10:
  type: 5 (digital I/O)
  number of channels: 7
  max data value: 1
  ranges:
    all chans: [0,1]
  command:
    not supported

Received on 2006-10-05Z04:59:13