1 Apr 2010 23:13
Re: Analogy cmd_write example explanation
Jan Kiszka <jan.kiszka <at> web.de>
2010-04-01 21:13:47 GMT
2010-04-01 21:13:47 GMT
Gilles Chanteperdrix wrote: > Philippe Gerum wrote: >> On Sun, 2010-03-14 at 00:34 +0100, Alexis Berlemont wrote: >>> Philippe Gerum wrote: >>>> On Sat, 2010-03-13 at 17:13 +0100, Alexis Berlemont wrote: >>>>> Hi, >>>>> >>>>> Philippe Gerum wrote: >>>>>> On Sat, 2010-03-13 at 00:40 +0100, Alexis Berlemont wrote: >>>>>>> Hi, >>>>>>> >>>>>>> Sorry for answering so late. I took a few days off far from any internet >>>>>>> connection. >>>>>>> >>>>>>> It seems you sent many mails related with Analogy. Many thanks for your >>>>>>> interest. I have not read all of them yet. However, I am beginning by >>>>>>> this one (which seems unanswered). The answer is quick and easy :) >>>>>>> >>>>>>> Daniele Nicolodi wrote: >>>>>>>> Hello. I'm looking into the analogy cmd_write example. >>>>>>>> >>>>>>>> I'm not sure I understand the reason for the rt_task_set_mode() function >>>>>>>> call into the data acquisition loop (lines 413 or 464 in the code >>>>>>>> shipped with xenomai 2.5.1). >>>>>>>> >>>>>>>> I do not understand why we have to set the primary mode at every >>>>>>>> iteration, when we set it before for the task (line 380). >>>>>>>> >>>>>>>> Is it because the dump_function() uses system calls that can make the >>>>>>>> task to switch to secondary mode, or there is a deeper reason I'm missing?(Continue reading)
RSS Feed