All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniele Nicolodi <daniele@domain.hid>
To: Comedi@domain.hidControlandMeasurementDeviceInterface,
	comedi_list@domain.hid
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: [Xenomai-help] NI 6251 "wrong" samples
Date: Fri, 04 Jun 2010 19:49:07 +0200	[thread overview]
Message-ID: <4C093C93.4000907@domain.hid> (raw)

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


             reply	other threads:[~2010-06-04 17:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-04 17:49 Daniele Nicolodi [this message]
     [not found] ` <4C0CEC7E.6080408@domain.hid>
     [not found]   ` <4C0CF99F.1090700@domain.hid>
2010-06-17  9:07     ` [Xenomai-help] [comedi] NI 6251 "wrong" samples 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C093C93.4000907@domain.hid \
    --to=daniele@domain.hid \
    --cc=Comedi@domain.hidControlandMeasurementDeviceInterface \
    --cc=comedi_list@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.