[Xenomai] Programming Xenomai+analogy

Jorge Ramirez Ortiz jro at xenomai.org
Wed Dec 23 00:45:26 CET 2015


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



More information about the Xenomai mailing list