Re: Advantage pci-1711

On 09/01/06 15:09, Per Arlock wrote:
> Hi all,
> 
> I still have not got an answer if the pci-1711's counter is available from comedi?
> I would be very grateful for some information on this!

The Comedi driver provides no counter subdevice for the pci-1711 at present,
but I see no reason why it can't be supported.  Try the appended patch -
it's just a one-line change, so you can edit it manually if you like!

I think you are also using my earlier patch to make the counter count the
external source instead of the internal 100 kHz source on the pci-1710.
I'm assuming this also applies to the pci-1711.  There's a bug filed in
bugzilla already for that (bug #194, but the bugzilla interface hasn't
been working for a while...).

Index: comedi/drivers/adv_pci1710.c
===================================================================
RCS file: /cvs/comedi/comedi/comedi/drivers/adv_pci1710.c,v
retrieving revision 1.28
diff -u -r1.28 adv_pci1710.c
--- comedi/drivers/adv_pci1710.c	6 Oct 2005 17:42:02 -0000	1.28
+++ comedi/drivers/adv_pci1710.c	10 Jan 2006 12:49:04 -0000
_at__at_ -229,7 +229,7 _at__at_
  	 10000, 2048 },
  	{"pci1711", 0x1711,
  	 IORANGE_171x, 1, TYPE_PCI171X,
-	 16, 0, 2, 16, 16, 0,  0x0fff, 0x0fff,
+	 16, 0, 2, 16, 16, 1,  0x0fff, 0x0fff,
  	 &range_pci17x1, range_codes_pci17x1, &range_pci171x_da,
  	 10000, 512 },
  	{"pci1713", 0x1713,

Received on 2006-01-10Z12:59:22