All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] NI 6251 "wrong" samples
@ 2010-06-04 17:49 Daniele Nicolodi
       [not found] ` <4C0CEC7E.6080408@domain.hid>
  0 siblings, 1 reply; 6+ messages in thread
From: Daniele Nicolodi @ 2010-06-04 17:49 UTC (permalink / raw)
  To: Comedi, comedi_list; +Cc: xenomai@xenomai.org

Hello.

I'm working with a NI PCI 6251 ADC board. I configured it to sample
channels 6 and 7, configured as differential analog inputs, at 50 kHz
with a conversion time of 2000 ns. I'm using a Xenomai kernel and the
Analogy drivers, a port of comedi drivers over the Xenomai real time
device driver abstraction layer.

The systems works well (I do not fully understand the properties fo the
noise spectrum of the sample data, see my other email to the mailing
list, but this is quite mynor) except that now and then I receive a
clearly "wrong" sample from the board.

I think I receive a wrong sample because I'm testing the system
acquiring a simple sine wave generated from a function generator, and
sometimes I obtain a sample that is clearly not where expected and I I
hardly believe that the discrepancy is due to physical noise.

I'm unable to identify a pattern of when those "wrong" samples appear in
my output, so I do not believe the issue is due to wrong FIFO
synchronization.

Has someone ever observed a similar behavior? Does someone has a
suggestion on how I can try to investigate it?

Thanks. Cheers,
-- 
Daniele


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-06-21 22:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-04 17:49 [Xenomai-help] NI 6251 "wrong" samples Daniele Nicolodi
     [not found] ` <4C0CEC7E.6080408@domain.hid>
     [not found]   ` <4C0CF99F.1090700@domain.hid>
2010-06-17  9:07     ` [Xenomai-help] [comedi] " Daniele Nicolodi
2010-06-21  9:03       ` Daniele Nicolodi
2010-06-21 11:59         ` Alexis Berlemont
2010-06-21 18:14           ` Daniele Nicolodi
2010-06-21 22:52             ` Alexis Berlemont

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.