On 06/30/2011 05:12 PM, Carlos Eduardo de Brito Novaes wrote:
> Hello all!
> Hope this question fits to the scope of the list.
>
> I got a PCI acquisition board and wish to write a xenomai driver for it. I
> had
> did this before with an old ISA board and used memory heaps to exchange data
> from kernel (configuration and mainly acquisition routines) and the real time
> processing task.
>
> Now, I would like to know if I can use only message pipes for this kind of
> application. I would like to use it so the entire proccess became more "unix
> like", using memory heaps I think that the internals of the driver are
> exposed
> and the any misfuncion can arise due to bad data passed from programmers. Is
> this right?
>
> Can message pipes provide hard real time timings, about 1K/10K samples per
> second and about 100 bytes on each sample?
Hi,
you probably should use the RTDM skin to write a driver. So, use the
"read" call to get data, or if there is a big volume, use some mmaped
aread, using rtdm_mmap_to_user.
Regards.
--
Gilles.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help