- From: <rhamelin_at_lycee-ledantec.ac-rennes.fr>
- Date: Tue, 09 Sep 2003 12:53:20 +0200 (CEST)
Hello --
I have successfully been using the ni_pcimio driver with my 6025
card, and now wish to begin using the digital I/O features as well.
the following output from the "lsmod" program is:
-bash-2.05b# lsmod
Module Size Used by Not tainted
ni_pcimio 28544 0
mite 4684 0 [ni_pcimio]
8255 3520 0
comedi 23956 0 [ni_pcimio 8255]
the following output from the "info" program is:
-bash-2.05b# ./info
overall info:
version code: 0x010000
driver name: ni_pcimio
board name: pci-6025e
number of subdevices: 8
subdevice 0:
type: 1 (analog input)
number of channels: 16
max data value: 4095
ranges:
all chans: [-10,10] [-5,5] [-0.5,0.5] [-0.05,0.05]
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 5000
convert: timer 5000
scan_end: count 1
stop: count 2
subdevice 1:
type: 2 (analog output)
number of channels: 2
max data value: 4095
ranges:
all chans: [-10,10]
command:
not supported
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: 12
max data value: 255
ranges:
all chans: [0,1]
command:
not supported
subdevice 6:
type: 8 (memory)
number of channels: 512
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
-bash-2.05b#
how can I gain access to the 8255 subdevice? Does it is subdevice 3 ?
Thanks,
Remi Hamelin
Received on 2003-09-09Z09:53:20