- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Sun, 18 Apr 2004 13:11:21 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nzoji,
Would you try the following patch and see if it helps?
- --- comedi/drivers/cb_pcidas64.c 30 Oct 2003 23:00:26 -0000 1.113
+++ comedi/drivers/cb_pcidas64.c 18 Apr 2004 17:07:30 -0000
_at__at_ -1485,7 +1485,7 _at__at_
comedi_spin_lock_irqsave( &dev->spinlock, flags );
// bit should be set for 6025, although docs say boards with <= 16 chans should be cleared XXX
- - if( 1 )
+ if(board(dev)->ai_se_chans <= 16)
priv(dev)->adc_control1_bits |= ADC_QUEUE_CONFIG_BIT;
writew( priv(dev)->adc_control1_bits, priv(dev)->main_iobase + ADC_CONTROL1_REG );
On Wednesday 14 April 2004 12:22 pm, nzoji_at_portugalmail.pt wrote:
> Hello,
>
> I have a PCI-DAS6031 board from Measurement Computing and I'm working
> with the comedi driver module cb_pcidas64.
>
> The problem is that I only can read input voltages between -0.1 and
> 0.1V. Below this range I read 0 and above this range I read 65535 for
> any range (0 to 13) I choose.
>
> Has anyone worked successfully with this board and comedi drivers?
>
> Thanks in advance.
>
>
> Nzoji Hipolito
> Electronics Eng. / PhD Student
> Universidade do Minho - Portugal
> __________________________________________________________
> Continua a preferir gastar mais? Adira à ligação Portugalmail.
> http://acesso.portugalmail.pt/compare
>
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
- --
Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQFAgra55vihyNWuA4URAgM6AJ98Z3hPIYoh2Z1iwksYNhqHXYU5lACfYtHO
whzj1VuCQ56+jFwfr6a8y/c=
=a+nk
-----END PGP SIGNATURE-----
Received on 2004-04-18Z16:11:21