[Xenomai-help] error with rt_pipe

2012-03-26 Thread Daniele
'rt_pipe_free' thanks Daniele ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

[Xenomai-help] Xenomai 3 documentation

2012-02-02 Thread Daniele Nicolodi
not have documentation in the form of comment blocks. There is some other place where I can learn about Xenomai 3 ? Thank you. Cheers, -- Daniele ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] Xenomai 3 documentation

2012-02-02 Thread Daniele Nicolodi
On 02/02/12 19:01, Philippe Gerum wrote: On 02/02/2012 06:29 PM, Daniele Nicolodi wrote: Hello, I'm looking with curiosity to the development of Xenomai 3 skimming through the GIT commits. I'm a physicist writing data acquisition code, looking at how experienced programmers solve problems

[Xenomai-help] error compiling pipe function

2012-01-19 Thread Daniele
which seem not to be recognized, although we included native/pipe.h in our C file. Maybe it is necessary to modify also Makefile in oder to use pipe stuff? Thank you in advance and best regards Daniele ___ Xenomai-help mailing list Xenomai-help@gna.org

[Xenomai-help] troubles with library inclusion

2012-01-11 Thread Daniele
Hello, We are trying to use xenomai with analogy library [xenomai 2.6.0, kernel 2.6.38.8] Compiling the program we got the following error: undefined reference to a4l_openhttp://www.xenomai.org/documentation/trunk/html/api/group__descriptor1__lib.html#ga810401871fe8005ee0157c6910f94466 The

[Xenomai-help] compilation problems

2012-01-04 Thread Daniele
I'm trying to compile an example of Xenomai, but gives me this error: /usr/bin/ld : cannot find -lrtdk thanks ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] rt_task_wait_period returns an undocumented value

2011-10-21 Thread Daniele Nicolodi
code). I have acquisitions running at over 200 kHz for weeks without a glitch. Cheers, -- Daniele ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] Xenomai on x86 Asus P5LD2 mb Intel 945P chipset

2011-08-03 Thread Daniele Nicolodi
On 02/08/11 21:23, Theo Veenker wrote: On 08/02/2011 07:01 PM, Daniele Nicolodi wrote: I need to migrate one of my data acquisition system to more recent hardware to support a PCI-Express data acquisition board. The hardware I may use is an x86 box built on an Asus P5LD2 motherboard: Intel

[Xenomai-help] Xenomai on x86 Asus P5LD2 mb Intel 945P chipset

2011-08-02 Thread Daniele Nicolodi
-02/msg00308.html where latency problems, probably related to SMI, are reported, but with an old version of Xenomai. Does someone have another data point that I may interpolate from? Thank you. Cheers, -- Daniele ___ Xenomai-help mailing list Xenomai

[Xenomai-help] Xenomai 2.6.5 with Linux 2.6.38.8 kernel

2011-06-28 Thread Daniele Nicolodi
are not defined anywhere in the kernel or xenomai source tree. Thank you. Cheers, -- Daniele ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] Xenomai 2.6.5 with Linux 2.6.38.8 kernel

2011-06-28 Thread Daniele Nicolodi
On 28/06/11 15:48, Gilles Chanteperdrix wrote: On 06/28/2011 03:00 PM, Daniele Nicolodi wrote: Hello, is the Xenomai 2.6.5 supposed to work with Linux 2.6.38.8 kernel and adeos patch 2.6.38.8-x86-2.10 supposed to work? The above combination gives me an error compiling arch/x86/xenomai

Re: [Xenomai-help] Xenomai 2.6.5 with Linux 2.6.38.8 kernel

2011-06-28 Thread Daniele Nicolodi
, https://mail.gna.org/public/xenomai-help/2011-06/msg00142.html Thank you Philippe. I should follow the mailing list more closely. Cheers, -- Daniele ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] [comedi] NI 6251 wrong samples

2010-06-21 Thread Daniele Nicolodi
On 17/06/10 11:07, Daniele Nicolodi wrote: No. I'm running a continuous memory mapped acquisition. The only maybe uncommon thing I'm doing is that I'm reading the mmapped buffer in fixed chunks, rather than reading all the samples available each time. The number of samples I read each time

Re: [Xenomai-help] [comedi] NI 6251 wrong samples

2010-06-21 Thread Daniele Nicolodi
take a little bit to have it to compile stand alone. The bug shows usually after some minutes to half an hour of data taking at 10 to 50 kHz. It would be unpractical to save all that data to disk for inspection. Thanks. Cheers, -- Daniele ___ Xenomai

Re: [Xenomai-help] [comedi] NI 6251 wrong samples

2010-06-17 Thread Daniele Nicolodi
, rather than reading all the samples available each time. The number of samples I read each time is larger than the 4095 samples after which the hardware sends the FIFO half full trigger event. Suggestions? Thanks. Cheers, -- Daniele ___ Xenomai-help

Re: [Xenomai-help] How to avoid a tight real time loop

2010-06-16 Thread Daniele Nicolodi
idea on how to extend the API without breaking it ? I do not see any way rather than augmenting the function signature with an additional parameter. If you want to maintain API compatibility the only thing to do is to add a different function. Cheers, -- Daniele

[Xenomai-help] How to avoid a tight real time loop

2010-06-15 Thread Daniele Nicolodi
that can be used to require a certain amount of data to the ADC driver. How can I code this loop to let other processes to run? Thanks. Cheers, -- Daniele ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

[Xenomai-help] NI 6251 wrong samples

2010-06-04 Thread Daniele Nicolodi
appear in my output, so I do not believe the issue is due to wrong FIFO synchronization. Has someone ever observed a similar behavior? Does someone has a suggestion on how I can try to investigate it? Thanks. Cheers, -- Daniele ___ Xenomai-help mailing

Re: [Xenomai-help] Linux kernel 2.6.32.14 and Xenomai 2.5.2 does not boot

2010-06-03 Thread Daniele Nicolodi
On 02/06/10 08:58, Jan Kiszka wrote: Jan Kiszka wrote: Daniele Nicolodi wrote: On 01/06/10 16:50, Jan Kiszka wrote: Daniele Nicolodi wrote: On 01/06/10 13:23, Jan Kiszka wrote: Daniele Nicolodi wrote: Hello. In the process of upgrading my data acquisition system from Xenomai 2.5.0

Re: [Xenomai-help] Linux kernel 2.6.32.14 and Xenomai 2.5.2 does not boot

2010-06-03 Thread Daniele Nicolodi
Booting a working 2.6.30 kernel I noticed this error message as first output on the console. Can it be related to my issue with more modern kernels and ipipe patches? ERROR: 8254 timer not connected to IO-APIC I have no idea of what it means. -- Daniele

Re: [Xenomai-help] Handling Linux Signals in primary domain context

2010-06-02 Thread Daniele Nicolodi
can do, but it would be a nice feature for debugging and for solving application specific issues. Cheers, -- Daniele ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

[Xenomai-help] Linux kernel 2.6.32.14 and Xenomai 2.5.2 does not boot

2010-06-01 Thread Daniele Nicolodi
. After the boot loader I'm left with a black screen. I have noticed that going from the 2.6.30 to the 2.6.32 kernel the Adeos Ipipe patch goes from version 2.4 to 2.6. Can this be related to my problem? How can I investigate, and eventually solve, this problem? Thanks. Cheers, -- Daniele

Re: [Xenomai-help] Linux kernel 2.6.32.14 and Xenomai 2.5.2 does not boot

2010-06-01 Thread Daniele Nicolodi
On 01/06/10 13:23, Jan Kiszka wrote: Daniele Nicolodi wrote: Hello. In the process of upgrading my data acquisition system from Xenomai 2.5.0 to Xenomai 2.5.2, I also upgraded the kernel from the 2.6.30 release to 2.6.32.14. Latest Xenomai is 2.5.3, latest 2.6.32 patch is adeos-ipipe

Re: [Xenomai-help] Linux kernel 2.6.32.14 and Xenomai 2.5.2 does not boot

2010-06-01 Thread Daniele Nicolodi
On 01/06/10 16:50, Jan Kiszka wrote: Daniele Nicolodi wrote: On 01/06/10 13:23, Jan Kiszka wrote: Daniele Nicolodi wrote: Hello. In the process of upgrading my data acquisition system from Xenomai 2.5.0 to Xenomai 2.5.2, I also upgraded the kernel from the 2.6.30 release to 2.6.32.14

Re: [Xenomai-help] How to generate a waveform / digital output (Alexis)

2010-05-31 Thread Daniele Nicolodi
the same technique, therefore I continuously compute new data points. I hope those examples will be useful to you. Cheers, -- Daniele /* Use an analog output subdevice with an asynchronous command to * generate a phase modulated sine wave. */ #include stdio.h #include fcntl.h #include stdlib.h

[Xenomai-help] Analogy: unable to use sampling frequency higher that 10kHz

2010-05-31 Thread Daniele Nicolodi
up to 100 kHz. However I need my data in real time, and therefore I need to specify this flag. Cheers, -- Daniele ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] Experimenting with Analogy. Bugs found?

2010-03-18 Thread Daniele Nicolodi
! -- Daniele ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] xenomai/asm/xenomai/syscall.h is not c99 aware

2010-03-17 Thread Daniele Nicolodi
Gilles Chanteperdrix wrote: Daniele Nicolodi wrote: Daniele Nicolodi wrote: It probably can be made to work. But... do you realy need -std=c99 ? I didn't know about -std=gnu99. I can certainly use this extension. It looks like using -std=gnu99 causes somehow the compilation to fail

Re: [Xenomai-help] Experimenting with Analogy. Bugs found?

2010-03-15 Thread Daniele Nicolodi
Alexis Berlemont wrote: Hi, Daniele Nicolodi wrote: Hello. I'm testing Analogy on my x86 system with a NI 6251 ADC board (I can test with other NI ADCs if it useful to someone). The lack of overview documentation is making my progress slow, but I have a couple of acquisition routines

Re: [Xenomai-help] COMEDI vs Analogy

2010-03-15 Thread Daniele Nicolodi
Alexis Berlemont wrote: Hi, Daniele Nicolodi wrote: Daniele Nicolodi wrote: Philippe Gerum wrote: If you do want to help, you may want investing your time in developing and testing a better code base like Analogy with other people, instead of re-opening a dead development effort all alone

Re: [Xenomai-help] [Xenomai-core] Experimenting with Analogy. Bugs found?

2010-03-12 Thread Daniele Nicolodi
Daniele Nicolodi wrote: 2. Looks like it is not possible to setup an endless acquisition. If I set .stop_src = TRIG_NONE and .stop_arg = 0, the command submission goes fine, but I obtain an ENOENT error at the first a4l_sys_read(). I have no idea on where to look to track down this issue

[Xenomai-help] Experimenting with Analogy. Bugs found?

2010-03-11 Thread Daniele Nicolodi
.stop_src = TRIG_NONE and .stop_arg = 0, the command submission goes fine, but I obtain an ENOENT error at the first a4l_sys_read(). I have no idea on where to look to track down this issue. Thanks. Cheers, -- Daniele ___ Xenomai-help mailing list Xenomai-help

Re: [Xenomai-help] Experimenting with Analogy. Bugs found?

2010-03-11 Thread Daniele Nicolodi
. Thanks. Cheers, -- Daniele ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] COMEDI vs Analogy

2010-03-10 Thread Daniele Nicolodi
Stefan Kisdaroczi wrote: Hi Daniele, https://mail.gna.org/public/xenomai-core/2009-09/msg00016.html regards, Stefan Thanks Stefan for the pointer. Your link contains almost everything I want to know. I agree that Comedi design is far from perfect and I appreciate the effort of coding

Re: [Xenomai-help] COMEDI vs Analogy

2010-03-10 Thread Daniele Nicolodi
not have so much time to invest into this activity. I'll simply check if the PREEMP_RT patch gives me low enough latencies, otherwise I'll switch to use Comedi on top of RTAI (sadly, because I prefer Xenomai and its posix api). Thanks. Cheers, -- Daniele

Re: [Xenomai-help] COMEDI vs Analogy

2010-03-10 Thread Daniele Nicolodi
the TRIG_WAKE_EOS command functionality in the ni pcimio driver in Analogy? Cheers, -- Daniele ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

[Xenomai-help] Analogy cmd_write example explanation

2010-03-10 Thread Daniele Nicolodi
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? Thanks. Cheers, -- Daniele ___ Xenomai-help mailing list

Re: [Xenomai-help] COMEDI vs Analogy

2010-03-10 Thread Daniele Nicolodi
Daniele Nicolodi wrote: Philippe Gerum wrote: If you do want to help, you may want investing your time in developing and testing a better code base like Analogy with other people, instead of re-opening a dead development effort all alone. Let's try to have a more constructive approach. What

[Xenomai-help] COMEDI vs Analogy

2010-03-09 Thread Daniele Nicolodi
and Comedi efforts? It would be unfortunate to end up with two independent sets of drivers and user land libraries. Thanks. Cheers, -- Daniele ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

[Xenomai-help] First loop iteration increased latency

2010-03-08 Thread Daniele Nicolodi
support MAP_POPULATE mmap() flag. How can I track the source of this increased latency? Thanks. Cheers, -- Daniele ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

[Xenomai-help] xenomai/asm/xenomai/syscall.h is not c99 aware

2010-03-06 Thread Daniele Nicolodi
: statement with no effect Of course i do not obtain any error it i remove the xenomai specific include directories options from the gcc command line. Can this problem be solved? Can I help somehow? Thanks. Cheers, -- Daniele ___ Xenomai-help mailing list

Re: [Xenomai-help] xenomai/asm/xenomai/syscall.h is not c99 aware

2010-03-06 Thread Daniele Nicolodi
Gilles Chanteperdrix wrote: Daniele Nicolodi wrote: Hello. I'm compiling my programs with the -std=c99 switch. However the inclusion of pthread.h from xenomai distribution causes the compilation to fail with syntax errors. What version of Xenomai, what platforms? Chances are that Xenomai

[Xenomai-help] Which process synchronization primitive?

2010-03-02 Thread Daniele Nicolodi
do not have to communicate any message. Would be semaphores best suited to my needs? Thanks. Cheers, -- Daniele ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

[Xenomai-help] Xenomai kernel hanging at boot

2010-02-17 Thread Daniele Nicolodi
the boot loader dives up the control to the kernel, I think. I'm left with a blinking _ and nothing more. A kernel without xenomai patches and with the same configuration boots just fine on the same machine. Does someone know what can cause this behavior? Thanks. Best regards, -- Daniele

Re: [Xenomai-help] Xenomai kernel hanging at boot

2010-02-17 Thread Daniele Nicolodi
Daniele Nicolodi wrote: Hello. I'm new to Xenomai and I'm unable to make my first Xenomai kernel to boot. I downloaded linux-2.6.32.7 sources from kernel.org and xenomai 2.5.1. I patched the kernel, configured and compiled it. All went fine. However when i try to boot this kernel it hangs

Re: [Xenomai-help] Blackfin BF537 userspace - kernelspace strategy

2008-12-05 Thread Daniele Pagani
if in Xenomai context I can set the Blackfin register from a userspace application or if in Xenomai context has no sense to speak about user/kernel space. Sorry for my confusion. Best regards, Daniele. ___ Xenomai-help mailing list Xenomai-help@gna.org https

Re: [Xenomai-help] xenomai on Blackfin BF537

2008-12-02 Thread Daniele Pagani
Dear Philippe, I've tried, anyway I receive errors. In attachment, my makefile and error executing it. Bf537 - uClinux-dist-2008R1.5-RC3. Best regards, Daniele. - Original Message - From: Philippe Gerum [EMAIL PROTECTED] To: Daniele Pagani [EMAIL PROTECTED] Cc: xenomai-help

Re: [Xenomai-help] xenomai on Blackfin BF537

2008-12-02 Thread Daniele Pagani
Dear Philippe, I've received the same error. Any suggestions or tests to do? Thanks, Daniele. - Original Message - From: Philippe Gerum [EMAIL PROTECTED] To: Daniele Pagani [EMAIL PROTECTED] Cc: xenomai-help@gna.org Sent: Tuesday, December 02, 2008 10:15 AM Subject: Re: [Xenomai-help

Re: [Xenomai-help] xenomai on Blackfin BF537

2008-12-01 Thread Daniele Pagani
works fine when I use flat format, but now I need to use fdpic elf format and I receive errors.x Best regards, Daniele. ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

Re: [Xenomai-help] xenomai on Blackfin BF537

2008-12-01 Thread Daniele Pagani
-config --xeno-ldflags Then, what I need to do? Do I need to recompile the kernel? Best regards, Daniele. - Original Message - From: Philippe Gerum [EMAIL PROTECTED] To: Daniele Pagani [EMAIL PROTECTED] Cc: xenomai-help@gna.org Sent: Monday, December 01, 2008 3:11 PM Subject: Re: [Xenomai

[Xenomai-help] test

2007-09-09 Thread Daniele Lugli
test, please ignore ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help

[Xenomai-help] newbie question

2006-03-16 Thread Daniele Lugli
Hello all, I am new to xenomai although I have already used rtai. I see that xenomai has a user mode which looks equivalent to rtai's lxrt. What about calling real-time functions implemented in a module (rtai_lxrt call, rt_fun_entry table and so on)? Thank you, Daniele Lugli