Hello, thank for your advice, my other question is that i should use the POSIX API instead of Native API in Xenomai for my application because it will be more portable, but it seems easier with Native API for development, i'm wrong? In conclusion, it will be better that i develop my project (data acquision for example) with Analogy and POSIX API.
On Sat, Mar 31, 2012 at 9:10 PM, Gilles Chanteperdrix < [email protected]> wrote: > On 03/30/2012 03:45 PM, Minh GIANG wrote: > > hello everybody, > > > > i have a small question, which is the difference between the analogy API > > and rtdm API in xenomai. for exemple, i think that i can open a port for > > data transmission in the two api. > > The RTDM API is an API allowing to implement drivers for xenomai using > the usual POSIX open/close/ioctl/etc... API. > > Analogy is a driver implemented using the RTDM API. So, you can access > it using either the usual POSIX open/close/ioctl/etc... API, or using > the analogy library provided. > > So, yes, you can use the two APIs, but using the analogy library is > probably simpler. > > -- > Gilles. >
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
