From: Daniele Nicolodi <daniele@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] COMEDI vs Analogy
Date: Wed, 10 Mar 2010 20:19:08 +0100 [thread overview]
Message-ID: <4B97F0AC.2060003@domain.hid> (raw)
In-Reply-To: <4B97A662.3040004@domain.hid>
Daniele Nicolodi wrote:
> Philippe Gerum wrote:
>> If you do want to help, you may want investing your time in developing
>> and testing a better code base like Analogy with other people, instead
>> of re-opening a dead development effort all alone.
>
> Let's try to have a more constructive approach. What is required to
> support the TRIG_WAKE_EOS command functionality in the ni pcimio driver
> in Analogy?
Well. After playing a bit with Analogy, it looks like TRIG_WAKE_EOS is
not unsupported (as is stated in the documentation). It works!
I'm using a NI 6251 PCI ADC. I have verified that TRIG_WAKE_EOS works as
expected up to a sampling frequency of 800-1000 Hz, sampling 8 channels
at time. If I use an higher sampling rate, my acquisition loops
receives, at each iteration, more data than the data corresponding at
one scan, but always in multiples of one scan.
I guess this is due to the fact that the reading process is not able to
keep peace with the ADC board. It is however strange that I'm unable to
go to higher sampling rates. I'm able to have, easily, periodic tasks
running up to more than 10 kHz. There is a way to improve the performance?
I tried to directly mmap the acqusition buffer, instead of doing copies
through reads, but it turned out that there are no Analogy drivers that
support mmap acces to the data buffer (not in xenomai 2.5.1 sources at
least). Can I somehow help in implementing this missing feature?
Thanks. Cheers,
--
Daniele
next prev parent reply other threads:[~2010-03-10 19:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-09 17:28 [Xenomai-help] COMEDI vs Analogy Daniele Nicolodi
2010-03-09 17:55 ` Stefan Kisdaroczi
2010-03-10 11:14 ` Daniele Nicolodi
2010-03-10 11:33 ` Philippe Gerum
2010-03-10 11:45 ` Daniele Nicolodi
2010-03-10 14:12 ` Gilles Chanteperdrix
2010-03-10 14:26 ` Daniele Nicolodi
2010-03-10 14:02 ` Daniele Nicolodi
2010-03-10 19:19 ` Daniele Nicolodi [this message]
2010-03-13 0:29 ` Alexis Berlemont
2010-03-15 8:56 ` Daniele Nicolodi
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=4B97F0AC.2060003@domain.hid \
--to=daniele@domain.hid \
--cc=rpm@xenomai.org \
--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.