Re: ... ni_atmio driver modification ...

On Wed, Jun 19, 2002 at 03:55:55PM -0500, MATTKOCH_at_prodigy.net wrote:
> I noticed that ./info gives apparently slightly incorrect
> results. The above card is also known as 6030E, for which
> National instruments specifies the following information, which
> deviates from the ./info output:
> 
> Analog Output:
> 1) FIFO size 2048 samples (vs. unknown from ./info)
> 2) Resolution 16 bit or 65536 (vs. 12 bit or 4095 from ./info)
> 3) Range [-10,10] & [0,10] (vs. [-10,10] from ./info)

Thanks.  I don't know why that hadn't been noticed earlier.



dave...


Index: ni_atmio.c
===================================================================
RCS file: /var/cvs/comedi/comedi/drivers/ni_atmio.c,v
retrieving revision 1.37
diff -u -r1.37 ni_atmio.c
--- ni_atmio.c	7 Jun 2002 19:55:10 -0000	1.37
+++ ni_atmio.c	20 Jun 2002 18:29:53 -0000
_at__at_ -208,13 +208,13 _at__at_
 		n_adchan:	16,
 		adbits:		16,
 		ai_fifo_depth:	512,
-		alwaysdither:	1,	/* unknown */
+		alwaysdither:	1,
 		gainlkup:	ai_gain_14,
 		ai_speed:	10000,
 		n_aochan:	2,
-		aobits:		12,
-		ao_fifo_depth:	0,	/* unknown */
-		ao_unipolar:	0,	/* unknown */
+		aobits:		16,
+		ao_fifo_depth:	2048,
+		ao_unipolar:	1,
 		caldac:		{dac8800,dac8043,ad8522},
 		has_8255:	0,
 	},

Received on 2002-06-20Z17:35:44