- From: Daniele Verrocchio <daniele.verrocchio_at_diei.unipg.it>
- Date: Wed, 7 Feb 2007 13:23:07 +0100 (CET)
Hi to all,
I'm istalling comedi-0.7.72 whit the comedi-0.7.72 for use a NI-DAQ 6220
card whit the RTAI 3.4 system.
I have install the rt system and the comedi lybraries whit no problems
(apparently).
I'm successful execute the demo/info program, this is the output :
overall info:
version code: 0x000749
driver name: ni_pcimio
board name: pci-6220
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: 0 (unused)
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
but if I try to execute the "demo/tut1 0 0" program it's print -1 value.
any idea?
I try to compile the second Comedi program describe in the comedi
reference guide, but the compile return this error :
dereferencing pointer to incomplete type, related to
"comedi_data_read(cf->fd,subdev,chan,range,aref,&data);" code line.
It's generate from the some problem?
thanks,
D.
--
Daniele Verrocchio
Dipartimento di Ingegneria Elettronica e dell'Informazione
Università degli studi di Perugia
Received on 2007-02-07Z12:23:07