- From: Fredrik Lingvall <fl_at_signal.uu.se>
- Date: Mon, 18 Nov 2002 20:39:47 +0100
> >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >On Monday 18 November 2002 01:55 am, Fredik Lingvall wrote: >> >> The voltage is sometimes measured correctly and sometimes not (when I run >> the mex-file several times). >> > >Your analog input problems are probably due to not letting the inputs settle >after changing channels. Try using comedi_read_delayed(). > I get a lot of timeout messages in the kernel log. This is an example: Nov 18 20:18:48 fllap kernel: comedi0: ni_labpc: timeout Nov 18 20:19:19 fllap last message repeated 493 times Nov 18 20:20:20 fllap last message repeated 1519 times Nov 18 20:21:25 fllap last message repeated 1542 times Nov 18 20:22:26 fllap last message repeated 1511 times I tried comedi_read_delayed() with a delay of 20 us. It got better but sometimes I get this error (using comedi_perror): comedi_data_read: Timer expired comedi_perror(): __comedi_errno=62 comedi_data_read: Timer expired comedi_perror(): __comedi_errno=62 comedi_data_read: Timer expired comedi_perror(): __comedi_errno=62 Is there a way to determine exactly how fast I can sample? > >The analog output does seem to be broken for the daqcard-1200, as I've gotten >a few reports on it now. I'm not sure why yet, the programming of the analog >output is simple, and according to the manual is the same as the other board >models (which work). Have you tried using the unipolar output range (range >1)? > I have tried both bipolar and unipolar range - none works. Fredrik
Received on 2002-11-18Z19:39:47