All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jorge Ramirez Ortiz <jro@xenomai.org>
To: xenomai@xenomai.org
Subject: Re: [Xenomai] Programming Xenomai+analogy
Date: Tue, 22 Dec 2015 18:45:26 -0500	[thread overview]
Message-ID: <5679E096.3030807@xenomai.org> (raw)
In-Reply-To: <56795E20.1010102@isc.cnr.it>

On 12/22/2015 09:28 AM, GianPiero Puccioni wrote:
> Hi,
> 
> I am trying to use xenomai to accomplish a, I think, simple task, but I
> have never used real time programs before so I have some problems.
> 
> What I need is to use a  National Instruments PCI-MIO-16E-4 AD/DA to
> read data from the AD, do some simple operations on it, and output the
> result on the DA at the fastest possible frequency, with as little jitter
> as possible.
> 
> I set up a machine for this with Xenomai3 (cobalt) and everything seems to work.
> I can run "latency" with max latency around 3-4 us. the analogy
> libraries are installed, the board is recognized and the test programs
> are able to read and write to it.
> 
> The problem is how to write a realtime program for this task. Is there
>  documentation at the basic level on howto do that or some place where I
> can find examples for similar programs?


have you tried reading the Xenomai demo code or the analogy utilities?
http://git.xenomai.org/xenomai-3.git/tree/utils/analogy


  reply	other threads:[~2015-12-22 23:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-22 14:28 [Xenomai] Programming Xenomai+analogy GianPiero Puccioni
2015-12-22 23:45 ` Jorge Ramirez Ortiz [this message]
2015-12-23  8:44   ` GianPiero Puccioni
2015-12-23 13:59     ` Jorge Ramirez Ortiz
2016-01-08 12:37       ` GianPiero Puccioni
2015-12-23 15:45 ` Orestes Mas
2015-12-23 15:58   ` Gilles Chanteperdrix

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=5679E096.3030807@xenomai.org \
    --to=jro@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.