Re: [Xenomai-help] the same error-solution

2006-03-15 Thread Jan Kiszka
Jeff Webb wrote: > marcellin wrote: >> -I've forgot rt_task_shadow() in the main Linux thread > > It would be helpful to add a note to the API docs for rt_task_shadow() > explaining this usage. It would also be good to note that tasks created > in this way must also be cleaned up using rt_task_de

Re: [Xenomai-help] the same error-solution

2006-03-15 Thread Jeff Webb
marcellin wrote: -I've forgot rt_task_shadow() in the main Linux thread It would be helpful to add a note to the API docs for rt_task_shadow() explaining this usage. It would also be good to note that tasks created in this way must also be cleaned up using rt_task_delete(). rt_task_shadow()

Re: [Xenomai-help] the same error-solution

2006-03-14 Thread marcellin
Hi , Now it works fine, in fact there was two mistakes : -I've forgot to link with librtdm (-lrtsm) -I've forgot rt_task_shadow() in the main Linux thread thanks everybody. Best regards Marcell1 ___ Xenomai-help mailing list Xenomai-help@gna.org h

Re: [Xenomai-help] the same error

2006-03-14 Thread Gilles Chanteperdrix
marcellin wrote: > About rt_task_set_periodic()/rt_task_wait_periode() is there a > drift with the "second time top" of the RTC IRQ ? The RTC probably drift less than Xenomai system clock, but according to an FAQ (http://www.beaglesoft.com/mainfaqclock.htm), the RTC drift is typically 5 or 6 se

Re: [Xenomai-help] the same error

2006-03-14 Thread marcellin
Hi Gilles, lsmod say nothing because Xenomai is configured in Static with the kernel. About rt_task_set_periodic()/rt_task_wait_periode() is there a drift with the "second time top" of the RTC IRQ ? because my acquisition works the for time stamping of sample electrical values. If after a few

Re: [Xenomai-help] the same error

2006-03-14 Thread Jan Kiszka
marcellin wrote: > well, I've made some little modifications, now i use the > "rt_task_shadow() function", but from the "rt_intr_wait() function" > the numerical error is "-1". To answer to Gilles, i use the RTC irq > because i work on a (slow) acquisition system wich works continuously, >

Re: [Xenomai-help] the same error

2006-03-14 Thread Gilles Chanteperdrix
marcellin wrote: > well, I've made some little modifications, now i use the > "rt_task_shadow() function", but from the "rt_intr_wait() function" > the numerical error is "-1". What does lsmod say, did you compile the native skin as a module, is the module loaded ? Did you try the l

[Xenomai-help] the same error

2006-03-14 Thread marcellin
well, I've made some little modifications, now i use the "rt_task_shadow() function", but from the "rt_intr_wait() function" the numerical error is "-1". To answer to Gilles, i use the RTC irq because i work on a (slow) acquisition system wich works continuously, and don't allow time d