cb_pcidas64 / usage / AO / DIO

Dear List,

Apologies for the newbie questions...

I have successfully comiled and installed comedi for my pci-das4020/12 card 
using the patch that Frank suggested.  Using this I have manage to 
successfully run the inpn demo which works fine.  

Could someone tell me how to:
 
(1) use the analogue outputs?
(2) set the input impedance?
(3) can I use the DIOs even though there is no command support (the dio demo 
seems to run with dio -s 4)?

If I run the info demo (output below) it tells me I have 10 subdevices with 
subdevice 0 being AI, 1 being AO and 4 being DIOs.  This also tells me that I 
have a few commands for AI but no commands for AO or DIO.

I am now thoughly confused - any advice gratefully received.

Thanks,

SA

----- info
lspci -v
...
00:0c.0 Class ffff: Measurement Computing PCI-DAS4020/12 (rev 02) (prog-if ff)
        Subsystem: Measurement Computing: Unknown device 0000
        Flags: bus master, medium devsel, latency 64, IRQ 177
        Memory at f7a00000 (32-bit, non-prefetchable) [size=256]
        I/O ports at ec00 [size=256]
        Memory at f7900000 (32-bit, non-prefetchable) [size=4K]
        Memory at f7800000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at f7700000 [disabled] [size=2K]
...

info -f /dev/comedi0
overall info:
  version code: 0x000746
  driver name: cb_pcidas64
  board name: pci-das4020/12
  number of subdevices: 10
subdevice 0:
  type: 1 (analog input)
  number of channels: 4
  max data value: 4095
  ranges:
    all chans: [-5,5] [-1,1]
  command:
    start: now|ext
    scan_begin: timer|other
    convert: now|timer
    scan_end: count
    stop: none|count|ext
  command fast 1chan:
    start: now 0
    scan_begin: timer 0
    convert: timer 0
    scan_end: count 1
    stop: count 2
subdevice 1:
  type: 2 (analog output)
  number of channels: 2
  max data value: 4095
  ranges:
    all chans: [-5,5] [-10,10]
  command:
    not supported
subdevice 2:
  type: 0 (unused)
subdevice 3:
  type: 0 (unused)
subdevice 4:
  type: 5 (digital I/O)
  number of channels: 24
  max data value: 1
  ranges:
    all chans: [0,5]
  command:
    not supported
subdevice 5:
  type: 0 (unused)
subdevice 6:
  type: 9 (calibration)
  number of channels: 8
  max data value: 4095
  ranges:
    all chans: [0,1]
  command:
    not supported
subdevice 7:
  type: 0 (unused)
subdevice 8:
  type: 8 (memory)
  number of channels: 128
  max data value: 65535
  ranges:
    all chans: [0,1]
  command:
    not supported
subdevice 9:
  type: 0 (unused)

cat /proc/comedi
comedi version 0.7.70
format string: "%2d: %-20s %-20s %4d",i,driver_name,board_name,n_subdevices
 0: cb_pcidas64          pci-das4020/12         10
 1: 8255                 8255                    1
cb_pcidas64:
 cb_pcidas64
8255:
 8255

/sbin/lsmod
Module                  Size  Used by
cb_pcidas64            32004  0
8255                    6016  1 cb_pcidas64
comedi_fc               3456  1 cb_pcidas64
comedi                 31776  3 cb_pcidas64,8255,comedi_fc

Received on 2005-08-14Z11:34:37