All of lore.kernel.org
 help / color / mirror / Atom feed
From: GianPiero Puccioni <gianpiero.puccioni@isc.cnr.it>
To: xenomai@xenomai.org
Subject: [Xenomai] Programming Xenomai+analogy
Date: Tue, 22 Dec 2015 15:28:48 +0100	[thread overview]
Message-ID: <56795E20.1010102@isc.cnr.it> (raw)

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?

Thanks,

GianPiero
-- 
GianPiero Puccioni               |Istituto dei Sistemi Complessi-CNR
gianpiero.puccioni@isc.cnr.it    |Via Madonna del Piano, 10
T:+39 0555226682 F:+39 0555226683|50019 Sesto F. (Firenze) ITALY


             reply	other threads:[~2015-12-22 14:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-22 14:28 GianPiero Puccioni [this message]
2015-12-22 23:45 ` [Xenomai] Programming Xenomai+analogy Jorge Ramirez Ortiz
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=56795E20.1010102@isc.cnr.it \
    --to=gianpiero.puccioni@isc.cnr.it \
    --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.