- From: Szabo B, Gabor (MED, Student) <"Szabo>
- Date: Thu, 20 Feb 2003 13:55:56 +0100
Hi!
I want to try the streaming analog input with my AT-MIO64E-3 card. Firstly I
try the comedi_test which is in the comedilib/testing directory.
The result:
I: Comedi version: 0.7.66
I: Comedilib version: unknown =)
I: driver name: ni_atmio
I: device name: at-mio-64e-3
I:
I: subdevice 0
I: testing info...
rev 1
I: subdevice type: 1 (analog input)
number of channels: 64
max data value: 4095
ranges:
all chans: [-10,10] [-5,5] [-2.5,2.5] [-1,1] [-0.5,0.5] [-0.25,0.25]
[-0.1,0.1] [-0.05,0.05] [0,20] [0,10] [0,5] [0,2] [0,1] [0,0.5] [0,0.2]
[0,0.1]
I: testing insn_read...
rev 1
comedi_do_insn returned 1, good
I: testing insn_read_0...
comedi_do_insn returned 0, good
I: testing insn_read_time...
rev 1
comedi_do_insn: 3
read time: 8 us
I: testing cmd_no_cmd...
not applicable
I: testing cmd_probe_src_mask...
rev 1
command source mask:
start: now|ext|int
scan_begin: timer|ext
convert: timer|ext
scan_end: count
stop: none|count
I: testing cmd_probe_fast_1chan...
command fast 1chan:
start: now 0
scan_begin: timer 2000
convert: timer 2000
scan_end: count 1
stop: count 2
I: testing cmd_read_fast_1chan...
What is the problem?
My configuration:
Debian Woody 3.0
2.4.17-rthal5
RTAI 24.1.10
I load the following modules successfully:
rtai
comedi
8255
ni_atmio
After I run the comedi_config /dev/comedi0 ni_atmio 100,12
The single ai working. The application frozen when I read the device.
Best regards,
Gabor Szabo
Received on 2003-02-20Z12:55:56