Re: [Xenomai-core] Analogy DIO data acquisition with NI6259

2011-09-13 Thread Stefan Schaal
This is a summary and conclusion of using a NI6259 with Xenomai/Analogy for digital data I/O. First of all, many thanks to Alexis whose Analogy branch really allowed us to succeed! We would just like share the final results of our implementation with the hope that this might help others.

Re: [Xenomai-core] analogy: wake-up threshold

2011-05-12 Thread Stefan Schaal
Hi Alexis, thanks so much for the new feature! I will try it and report back. In the last months, I actually did run some comparisons between Comedi and Analogy, and in all cases found that your Analogy implementation performs exactly the same as Comedi, actually, for CMD-based streaming, I

[Xenomai-core] CMD based acquisition with Analogy

2011-01-07 Thread Stefan Schaal
Hi Alexis, here is an observation with CMD-based acquisition that puzzles me. Just to recall, we use an NI6259 board, using your latest analogy branch of xenomai on a 2.6.29.5 kernel in Ubuntu 9.10. Our computer is a 32bit Dell Precision with 8 core Xeon processors. A normal CMD based

Re: [Xenomai-core] hanging in Xenomai 2.5.5

2011-01-06 Thread Stefan Schaal
help! Best wishes, -Stefan On Jan 5, 2011, at 7:53, Philippe Gerum wrote: On Wed, 2011-01-05 at 07:41 -0800, Stefan Schaal wrote: HI Philippe, sorry, I must have mis-communicated. This was, of course, a xenomai commit that I tried, and the errors I sent you resulted when recompiling

[Xenomai-core] Analogy DIO data acquisition

2010-12-29 Thread Stefan Schaal
Hi Alexis, I was wondering whether you could help me with some information about CMD based data acquisition in analogy. You might recall from previous emails with you, we are trying to implement high speed data DIO communication with a NI6259 board. We use the CMD structure to create a

Re: [Xenomai-core] hanging in Xenomai 2.5.5

2010-12-25 Thread Stefan Schaal
test_xeno_sem.c Description: Binary data On Oct 16, 2010, at 1:48, Philippe Gerum wrote: On Fri, 2010-10-15 at 22:43 -0700, Stefan

[Xenomai-core] hanging in Xenomai 2.5.5

2010-10-15 Thread Stefan Schaal
Hi everybody, here is a quick first report on an issue that appeared with Xenomai 2.5.5 --- NOTE: 2.5.4 (and earlier) DOES NOT have this issue. We run multiple real-time processes, synchronized by semaphores and interprocess communication using shared memory. All is cleanly implemented

Re: [Xenomai-core] analogy - experimental branch

2010-09-08 Thread Stefan Schaal
, 2010, at 14:45, Alexis Berlemont wrote: Hi, Stefan Schaal wrote: Hi Alexis, we are making great progress with our work. One issue that came up is whether it would be possible to add .stop_src = TRIG_COUNT, .stop_arg = n, in the command structure, i.e., that the command

Re: [Xenomai-core] analogy - experimental branch

2010-09-02 Thread Stefan Schaal
that this method is not supported. Best wishes, -Stefan On Aug 23, 2010, at 23:49, Stefan Schaal wrote: Hi Alexis, amazing progress!! And it works! I just ran my test program on our NI6259 board and got perfect performance. I quickly tested 5MHz DIO rate, and it appeared to work fine according

Re: [Xenomai-core] analogy - experimental branch

2010-08-24 Thread Stefan Schaal
, and report back to the Xenomai list about performance. Thanks so much Best wishes, -Stefan On Aug 23, 2010, at 16:09, Alexis Berlemont wrote: Hi, Stefan Schaal wrote: Hi Alexis, as usually, we are more than grateful that you are willing to spend time on this issue. Here are answers

Re: [Xenomai-core] analogy - experimental branch

2010-07-19 Thread Stefan Schaal
to generate a square wave on the oscilloscope. I cannot see anything of the square wave executed. Best wishes, -Stefan On Jul 19, 2010, at 15:01, Alexis Berlemont wrote: Hi, Sorry for answering late. Stefan Schaal wrote: Hi Alexis, I managed to port some of the Comedi examples

Re: [Xenomai-core] analogy - experimental branch

2010-07-15 Thread Stefan Schaal
with cmd_bits.c on my board. Best wishes, -Stefan On Jul 14, 2010, at 17:46, Stefan Schaal wrote: Hi Alexis, in the Comedi examples (http://www.comedi.org/download/comedilib-0.8.1.tar.gz, the do_waveform.c example), they suggest to use a general purpose counter as clocking input

Re: [Xenomai-core] analogy - experimental branch

2010-07-14 Thread Stefan Schaal
a variety of function calls that I cannot directly map to the current Analogy functionality. Or, do you happen to know whether there is another, easier to access, clock source? Best wishes, -Stefan On Jul 14, 2010, at 14:03, Alexis Berlemont wrote: Stefan Schaal wrote: Hi Alexis, maybe

Re: [Xenomai-core] analogy - experimental branch

2010-07-13 Thread Stefan Schaal
this fast writing of the scans in the FIFO with the current analogy functionality? Thanks a lot! -Stefan On Jul 12, 2010, at 22:51, Stefan Schaal wrote: Hi Alexis, thanks a lot for the explanations. One item I am confused about is that you write that TRIG_TIMER is not suitable for DIO

Re: [Xenomai-core] analogy - experimental branch

2010-07-12 Thread Stefan Schaal
:10, Stefan Schaal wrote: Hi Alexis, thanks a lot for the clarification. Thus, scan_begin_arg is set to the digital line that I would like to use as a trigger. The triggering itself has to happen by flipping the bit on this specific digital line, e.g., using a4l_sync_dio

Re: [Xenomai-core] analogy - experimental branch

2010-07-12 Thread Stefan Schaal
as in analogue I/O? Best wishes, -Stefan On Jul 12, 2010, at 15:29, Alexis Berlemont wrote: Hi, Stefan Schaal wrote: Hi Alexis, I guess I slowly understand that my clocking signal connected to scan_begin_arg has to come from an external DIO input, if scan_bigin_src = TRIG_EXT

Re: [Xenomai-core] analogy - experimental branch

2010-07-09 Thread Stefan Schaal
not need to re-wire anything on my board. In your cmd_bits.c code, you use the a4l_insn_t insn structure below for triggering, which is what I have to replace with a4l_sync_dio(), I guess? Best wishes, -Stefan On Jul 9, 2010, at 15:17, Alexis Berlemont wrote: Stefan Schaal wrote: Hi Alexis

Re: [Xenomai-core] analogy - experimental branch

2010-07-06 Thread Stefan Schaal
a bit at a loss how to proceed. Best wishes, -Stefan On Jul 5, 2010, at 15:02, Alexis Berlemont wrote: Hi, Alexis Berlemont wrote: Hi, Stefan Schaal wrote: Hi Alexis, thanks for the feedback. We have 32 bit DIO on subdevice #2, and I am not sure that there is anything special

Re: [Xenomai-core] analogy - experimental branch

2010-06-27 Thread Stefan Schaal
an interrupt ? Could you send a dump of cat /proc/xenomai/irq after having made the test program hang ? Many thanks, Best wishes, -Stefan On Jun 24, 2010, at 15:43, Alexis Berlemont wrote: Hi, Alexis Berlemont wrote: Hi Stefan, Stefan Schaal wrote: Hi Alexis, I was just wondering

Re: [Xenomai-core] analogy - experimental branch

2010-06-25 Thread Stefan Schaal
, Alexis Berlemont wrote: Hi Stefan, Stefan Schaal wrote: Hi Alexis, I was just wondering whether the new experimental branch in your git repository is something that can be tried already. No. Not yet. This branch is aimed at temporarily holding the corrections I am trying to do

[Xenomai-core] analogy - experimental branch

2010-06-02 Thread Stefan Schaal
Hi Alexis, I was just wondering whether the new experimental branch in your git repository is something that can be tried already. Best wishes, -Stefan ___ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core

Re: [Xenomai-core] Analogy DIO speed

2010-03-03 Thread Stefan Schaal
, at 15:58, Alexis Berlemont wrote: Hi Stefan, Sorry for the late reply, I was unavailable yesterday. Stefan Schaal wrote: Hi Alexis, we pulled your analogy branch, and now cmd_write works. Great, and thanks a lot! Next, I tried to use commands with the digital IO subdevice on our board

Re: [Xenomai-core] Analogy DIO speed

2010-03-02 Thread Stefan Schaal
Berlemont wrote: Hi, Stefan Schaal wrote: Hi Alexis, On Feb 18, 2010, at 14:34, Alexis Berlemont wrote: I have some problems with implementing commands on my NI6259 so far. Could you remind me what was the problem ? See the print-outs below for the problem we have. Thanks so much

Re: [Xenomai-core] Analogy DIO speed

2010-02-18 Thread Stefan Schaal
Hi Alexis, On Feb 18, 2010, at 14:34, Alexis Berlemont wrote: I have some problems with implementing commands on my NI6259 so far. Could you remind me what was the problem ? See the print-outs below for the problem we have. Thanks so much for looking into this! -Stefan Using the

[Xenomai-core] cmd_write

2009-12-22 Thread Stefan Schaal
Hi, I have been trying to test the functionality of the analogy_ni_pcimio driver on a NI6259 board. I am using a linux kernel 2.6.29.5 with the xenomai-head (rc5). Doing an a4l_sync_write to an analog output channel works fine. Now I am trying to use the cmd structure for writing to the same

Re: [Xenomai-core] cmd_write

2009-12-22 Thread Stefan Schaal
dmesg: Analogy: analogy_ni_pcimio: ni_mio_common: interrupt: b_status=0002 m1_status=80a8 [15619.322973] Analogy: analogy_ni_pcimio: ni_ao_wait_for_dma_load: timed out waiting for dma load -Stefan On Dec 22, 2009, at 16:52, Alexis Berlemont wrote: Hi, Stefan Schaal wrote: Hi, I

Re: [Xenomai-core] digital I/O with analgoy using ni_pcmcia

2009-12-21 Thread Stefan Schaal
. The protocol I use requires 16 data bits, and 3 additional control lines. It was originally implemented under vxWorks. Nothing fancy at all. Thanks a lot for your kind help! -Stefan On Dec 21, 2009, at 15:23, Alexis Berlemont wrote: Hi, Stefan Schaal wrote: Hi everybody, we have an NI6259 board

Re: [Xenomai-core] lots of mode switches in xenomai-head tree?

2009-11-02 Thread Stefan Schaal
On Nov 1, 2009, at 23:43, Jan Kiszka wrote: Stefan Schaal wrote: Hi, I am working with the latest xenomai-head tree (we need analogy for our NI board ...). Under Xenomai 2.4.8 our code did not have any mode switches. Using the xenomai-head, we get a lot of mode switches. Using he

Re: [Xenomai-core] lots of mode switches in xenomai-head tree?

2009-11-02 Thread Stefan Schaal
Hi Jan, you pointer to the 4a2cb7b817 help! We had -lrtdk before - lpthread -lpthread_rt in our compile statement. Just in 2.4.8, this seems to make no difference. -Stefan On Nov 2, 2009, at 10:42, Stefan Schaal wrote: Hi Jan, we updated the git on Oct. 29 (3 days ago). We do use

[Xenomai-core] lots of mode switches in xenomai-head tree?

2009-11-01 Thread Stefan Schaal
Hi, I am working with the latest xenomai-head tree (we need analogy for our NI board ...). Under Xenomai 2.4.8 our code did not have any mode switches. Using the xenomai-head, we get a lot of mode switches. Using he backtrace_symbols_fd, we get print-outs like: xsimulation[0x808553b]

Re: [Xenomai-core] [PATCH v2] build system: Fix shared libs generation

2009-10-29 Thread Stefan Schaal
I tried the modified configure.in from the xenomai-head.git tree, but still the *.so libraries are not generated. This is on a x86 running the xenomai-2.5.rc4 under kernel 2.6.29.5. -Stefan Posted by Jan Kiszka on October 29, 2009 - 15:05: Philippe Gerum wrote: On Thu, 2009-10-29 at