- From: Martin Langteigen <martin_at_rocketrange.no>
- Date: Mon, 30 Aug 2004 10:29:23 +0200
Hi,
I'm new to the world of comedi and my first results looks kinda
confusing. To my wonder- this is the output of the second tutorial
program:
#####
LoCoHost:/home/martin/software/comedilib-0.7.21/demo# ./tut2.bin
1073833120 2.6223e+06
#####
When I run the program I also tend to get the following in
/var/log/messages:
Aug 30 10:09:58 localhost kernel: comedi0: pcl711: 0x0300
Aug 30 10:13:38 localhost kernel: comedi0: pcl711: A/D timeout
Aug 30 10:14:21 localhost last message repeated 2 times
Aug 30 10:15:38 localhost kernel: comedi0: pcl711: A/D timeout
Aug 30 10:15:48 localhost kernel: comedi0: pcl711: A/D timeout
Aug 30 10:16:00 localhost kernel: bad chanlist[0]=0x00000008 n_chan=8
range length=5 (After trying channel 8:)
Aug 30 10:16:15 localhost kernel: comedi0: pcl711: A/D timeout
Aug 30 10:17:13 localhost kernel: comedi0: pcl711: A/D timeout
Clearly there is something wrong with my setup:/ Do you people have any
idea as to what might be wrong?
#####
my setup:
Debian sarge testing. 1:3.3.4-3)
Linux 2.4.26-1-386
comedilib-0.7.21
comedi-0.7.68
PC-LabCard Advantech PCL-711B Rev. A1
#####
Module Size Used by Not tainted
pcl711 3680 0
comedi 18072 0 [pcl711]
#####
LoCoHost:/home/martin/software/comedilib-0.7.21/demo# ./info
overall info:
version code: 0x000744
driver name: pcl711
board name: pcl711b
number of subdevices: 4
subdevice 0:
type: 1 (analog input)
number of channels: 8
max data value: 4095
ranges:
all chans: [-5,5] [-2.5,2.5] [-1.25,1.25] [-0.625,0.625]
[-0.3125,0.3125]
command:
not supported
subdevice 1:
type: 2 (analog output)
number of channels: 1
max data value: 4095
ranges:
all chans: [-5,5]
command:
not supported
subdevice 2:
type: 3 (digital input)
number of channels: 16
max data value: 1
ranges:
all chans: [0,5]
command:
not supported
subdevice 3:
type: 4 (digital output)
number of channels: 16
max data value: 1
ranges:
all chans: [0,5]
command:
not supported
Received on 2004-08-30Z07:29:23