Re: PXI-6713 ID is 0x2b80

On Thu, Dec 05, 2002 at 10:31:17AM -0600, Evan Carey wrote:
> Hi all,
> 
> How does one go about adding a card to ni_pcimio.c.  I've got a PXI-6713
> card (as apposed to a PCI-6713).  Is it a big deal to add it?  I was
> hoping it would be similar to the PCI version and would only need to be
> added to the ni_boards array.  What are (or how do I learn) the minimum
> set of ni_board datamembers that must be set when adding the PXI-6713
> element to the ni_boards array?

They probably are identical.  It's just a matter of copying the
entry.



dave...


Index: ni_pcimio.c
===================================================================
RCS file: /var/cvs/comedi/comedi/drivers/ni_pcimio.c,v
retrieving revision 1.83
diff -u -r1.83 ni_pcimio.c
--- ni_pcimio.c	24 Nov 2002 15:40:15 -0000	1.83
+++ ni_pcimio.c	5 Dec 2002 19:13:58 -0000
_at__at_ -505,6 +505,16 _at__at_
 		ao_671x:	1,
 		caldac:         {mb88341,mb88341},/* XXX */
 	},
+	{       device_id:      0x2b80,
+		name:           "pxi-6713",
+		n_adchan:       0, /* no analog input */
+		n_aochan:	8,
+		aobits:         12,
+		ao_unipolar:    0,
+		ao_fifo_depth:  16384,
+		ao_671x:	1,
+		caldac:         {mb88341,mb88341},/* XXX */
+	},
 #if 0
 	{       device_id:      0x1880,
 		name:           "pci-6731",

Received on 2002-12-05Z19:15:00