Re: [Xenomai-help] difference Analogy API et rtdm API in xenomai
On 04/02/2012 01:30 AM, Minh GIANG wrote: > 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. The two APIs provide equivalent services, which one you prefer is largely a matter of taste. -- Gilles. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help
Re: [Xenomai-help] difference Analogy API et rtdm API in xenomai
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 < gilles.chanteperd...@xenomai.org> 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 Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help
Re: [Xenomai-help] difference Analogy API et rtdm API in xenomai
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 Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help
[Xenomai-help] difference Analogy API et rtdm API in xenomai
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. Thanks, ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help