Re: range setting, continuous streaming with PCI-DAS4020/12

On Sat, Jul 28, 2007 at 10:13:14PM -0400, Frank Mori Hess wrote:
> On Saturday 28 July 2007 15:53, Kurt Rosenfeld wrote:
> > Hello Everyone,
> >
> > We have here a Computer Boards PCI-DAS4020/12 card.  The cmd.c
> > demo program works as is (Comedi version 0.7.73, Linux 2.6.18.8),
> > but I have had trouble modifying it to do what we need it to do.
> >
> > Problem 1: The range setting doesn't seem to do anything.
> > The demo/info program reports two range settings, like so:
> 
> Does this patch fix the 1V range?
> 
> http://www.comedi.org/cgi-bin/viewcvs.cgi/comedi/comedi/drivers/cb_pcidas64.c?sortby=date&r2=1.142&r1=1.141
> Frank

We pulled down comedi and comedilib from CVS and compiled them.  The
new driver loads, but this is what we get:

# comedi_test -t info -f /dev/comedi0
I: Comedi version: 0.7.73
I: Comedilib version: unknown =)
I: driver name: cb_pcidas64
I: device name: BUG

And also, when running demo/inp, we get: 

# ./inp -v
measuring device=/dev/comedi0 subdevice=0 channel=0 range=0 analog reference=0
/dev/comedi0: Invalid subdevice

Any ideas?  thanks, -kurt

Received on 2007-07-30Z17:31:15