- From: Daniele Verrocchio <daniele.verrocchio_at_diei.unipg.it>
- Date: Mon, 12 Feb 2007 16:23:28 +0100
I have solve this problem whit comedi cvs version.
Installing on ubuntu 6.06 lts, kernel 2.6.15 whit rtai 3.4 patches
DAQ type : NI-6220
--
Ing. Daniele Verrocchio
Dipartimento di Ing. Elettronica e dell'Informazione
Università di Perugia
Via Duranti, 93 – 06125 Perugia - IT
Tel: 0755853648 - Cell: 3462348406
-----Messaggio originale-----
Da: comedi-admin_at_comedi.org [mailto:comedi-admin_at_comedi.org] Per conto di
comedi-request_at_comedi.org
Inviato: mercoledì 7 febbraio 2007 15.36
A: comedi_at_comedi.org
Oggetto: comedi digest, Vol 1 #1974 - 1 msg
Send comedi mailing list submissions to
comedi_at_comedi.org
To subscribe or unsubscribe via the World Wide Web, visit
https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
or, via email, send a message with subject or body 'help' to
comedi-request_at_comedi.org
You can reach the person managing the list at
comedi-admin_at_comedi.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of comedi digest..."
Today's Topics:
1. Comedi demo and tut program problems (Daniele Verrocchio)
--__--__--
Message: 1
Date: Wed, 7 Feb 2007 13:23:07 +0100 (CET)
Subject: Comedi demo and tut program problems
From: "Daniele Verrocchio" <daniele.verrocchio_at_diei.unipg.it>
To: comedi_at_comedi.org
Reply-To: daniele.verrocchio_at_diei.unipg.it
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.
--=20
Daniele Verrocchio
Dipartimento di Ingegneria Elettronica e dell'Informazione
Universit=E0 degli studi di Perugia
--__--__--
_______________________________________________
comedi mailing list
comedi_at_comedi.org
https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
End of comedi Digest
Received on 2007-02-12Z15:23:28