[Xenomai] Analogy Calibrate NI-DAQ

2014-01-11 Thread Yogi A. Patel
at we use. Was such a tool ever made? If not, would anyone be able to point me in the direction to making such a tool for the Analogy drivers? I've written low-level drivers before (somewhat) - and wouldn't mind writing this - just need some guidance. --

Re: [Xenomai] Analogy Calibrate NI-DAQ

2014-01-14 Thread Yogi A. Patel
to? That should get me started - thank you! -- Yogi A. Patel (url): www.yapatel.org | @yapatel525 > On Jan 14, 2014, at 2:01, Alexis Berlemont wrote: > > Hi, > > Sorry for answering so late. Here is a short mail of apology. > > My free time has been drastically reduced

[Xenomai] analogy calibration issue(s)

2015-08-04 Thread Yogi A. Patel
Hi - I am migrating a xenomai 2.5.4 application to the cobalt core. I have xenomai 3.0-rc5 installed with 3.18.12. I have a NI PCI 6250 card that is attached via analogy_config. I can successfully run the insn_read command that is installed with the user space support by running: sudo ./in

Re: [Xenomai] analogy calibration issue(s)

2015-08-04 Thread Yogi A. Patel
On 08/05/2015 01:00 AM, Jorge Ramirez Ortiz wrote: On 08/04/2015 11:01 PM, Yogi A. Patel wrote: Hi - I am migrating a xenomai 2.5.4 application to the cobalt core. I have xenomai 3.0-rc5 installed with 3.18.12. I have a NI PCI 6250 card that is attached via analogy_config. I can successfully

Re: [Xenomai] analogy calibration issue(s)

2015-08-06 Thread Yogi A. Patel
When I run sudo ./analogy_calibrate --device=analogy0 --output=file I see [ 1124.191097] analogy_calibra[2822]: segfault at 7 ip 7f10b88c6a03 sp 7fffaee2bb40 error 4 in libc-2.19.so[7f10b887b000+1bb000] on two computers running Xenomai RC5 with Linux 3.18.12 both with NI DAQs instal

Re: [Xenomai] analogy calibration issue(s)

2015-08-06 Thread Yogi A. Patel
> On Aug 6, 2015, at 16:47, Jorge Ramirez Ortiz wrote: > > On 08/06/2015 04:30 PM, Yogi A. Patel wrote: >> When I run >> >> sudo ./analogy_calibrate --device=analogy0 --output=file >> >> I see >> >> [ 1124.191097] analogy_

Re: [Xenomai] analogy calibration issue(s)

2015-08-07 Thread Yogi A. Patel
>> I did - and it turns out the error was due to this line: >> >> __debug("Calibrating AI: %s \n", cal_info[i]); >> >> changing this to: >> >> __debug("Calibrating AI: %s \n", cal_info[i].message); > > I already sent you a patch for this This patch needs to be applied to 3.0-rc6. > can you se

Re: [Xenomai] analogy calibration issue(s)

2015-08-07 Thread Yogi A. Patel
> On Aug 7, 2015, at 10:13, Jorge Ramirez Ortiz wrote: > > This is because it is looking for the elements string under “analog_output” in the calibration file, however there is no such section in the calibration file. > > please pull from here for updates: > http://

Re: [Xenomai] analogy calibration issue(s)

2015-08-07 Thread Yogi A. Patel
> any errors while generating it? no. > post the file please and I can have a look. attached. just generated it again. > -- > jro Yogi ___ Xenomai mailing list Xenomai@xenomai.org http://xenomai.org/mailman/listinfo/xenomai

Re: [Xenomai] analogy calibration issue(s)

2015-08-07 Thread Yogi A. Patel
Yes. I've tried it. I get the error I previously sent Yogi A. Patel @yapatel525 > On Aug 7, 2015, at 16:47, Jorge Ramirez Ortiz wrote: > > On 08/07/2015 04:35 PM, Yogi A. Patel wrote: >>> any errors while generating it? >>> >>> no. >>>

Re: [Xenomai] analogy calibration issue(s)

2015-08-11 Thread Yogi A. Patel
The attachment did not reach the mailing list. What was its mime type? $ mimetype file file: text/plain -- Yogi ___ Xenomai mailing list Xenomai@xenomai.org http://xenomai.org/mailman/listinfo/xenomai

Re: [Xenomai] analogy calibration issue(s)

2015-08-11 Thread Yogi A. Patel
On 08/07/2015 05:27 PM, Jorge Ramirez Ortiz wrote: On 08/07/2015 04:48 PM, Yogi A. Patel wrote: Yes. I've tried it. I get the error I previously sent you dont have an AO? it seems to be missing from the calibration file. having said that, AO calibration should be optional. Yes, all

Re: [Xenomai] analogy calibration issue(s)

2015-08-16 Thread Yogi A. Patel
please pull again from http://git.xenomai.org/xenomai-jro.git/log/?h=devel It took some time, but I was able to get the process to *run* - but not work. I had to make the following modifications to the calibration.c file to get this to work on 3 different machines: diff --git a/lib/analogy

Re: [Xenomai] analogy calibration issue(s)

2015-08-17 Thread Yogi A. Patel
diff --git a/lib/analogy/calibration.c b/lib/analogy/calibration.c index b50cb2f..d062a00 100644 --- a/lib/analogy/calibration.c +++ b/lib/analogy/calibration.c @@ -105,7 +105,10 @@ static inline int read_int(int *val, struct _dictionary_ *f, const char *subd, *val = iniparser_getint(f

[Xenomai] cmd_write example 2.6.4

2016-01-25 Thread Yogi A. Patel
Hi - I'm trying to use the cmd_write example (as is provided with 2.6.4) to test asynchronous writing to analog outputs on my NI card however am having trouble running the example. cat /proc/analogy/00-analogy_ni_pcimio -- Subdevices -- | idx | type | 00 | Analog input subdevice | 01 | An

[Xenomai] Missing ipipe files in tarballs

2017-07-04 Thread Yogi A. Patel
FYI - The tarballs for 3.0.4 and 3.0.5 are missing the patch folder. ___ Xenomai mailing list Xenomai@xenomai.org https://xenomai.org/mailman/listinfo/xenomai

Re: [Xenomai] Latency Issues with Xenomai and Ubuntu

2014-02-18 Thread Yogi A. Patel
etter performance/other things I don't understand or know. Thank you! -- Yogi A. Patel (c): (828) 291-6715 (url): www.yapatel.org | @yapatel525 On 02/18/2014 10:57 AM, Gilles Chanteperdrix wrote: On 02/18/2014 04:39 PM, Yogi A. Patel wrote: Hi - I have patched Scientific Linux 6.5 (Linu

Re: [Xenomai] Latency Issues with Xenomai and Ubuntu

2014-02-18 Thread Yogi A. Patel
Sorry, answers below. > On Feb 18, 2014, at 10:57, Gilles Chanteperdrix > wrote: > >> On 02/18/2014 04:39 PM, Yogi A. Patel wrote: >> Hi - >> >> I have patched Scientific Linux 6.5 (Linux kernel v 2.6.32.20) with > > 2.6.32 is very old. > > &g

Re: [Xenomai] Latency Issues with Xenomai and Ubuntu

2014-02-18 Thread Yogi A . Patel
On Feb 18, 2014, at 3:57 PM, Gilles Chanteperdrix wrote: > On 02/18/2014 07:13 PM, Yogi A. Patel wrote: >> Sorry, answers below. >> >>> On Feb 18, 2014, at 10:57, Gilles Chanteperdrix >>> wrote: >>> >>>> On 02/18/2014 04:39 PM, Yogi A.

Re: [Xenomai] Latency Issues with Xenomai and Ubuntu

2014-02-19 Thread Yogi A. Patel
> On 02/19/2014 03:17 AM, Yogi A. Patel wrote: >> On Feb 18, 2014, at 3:57 PM, Gilles Chanteperdrix >> wrote: >> >>> On 02/18/2014 07:13 PM, Yogi A. Patel wrote: >>>> Sorry, answers below. >>>> >>>>> On Feb 18, 2014, at 10:5

Re: [Xenomai] Build Xenomai Lib native on the Beaglebone Black

2014-03-11 Thread Yogi A. Patel
Flavio - Would you mind sharing what latencies you are seeing on your Beaglebone black with xenomai? -- Yogi A. Patel (c): (828) 291-6715 (url): www.yapatel.org | @yapatel525 ___ Xenomai mailing list Xenomai@xenomai.org http://www.xenomai.org/mailman

Re: [Xenomai] Build Xenomai Lib native on the Beaglebone Black

2014-03-16 Thread Yogi A. Patel
“make menuconfig” to disable the L2 cache write-allocate bit? I’ll post any results I have for comparison, if it helps. -- Yogi A. Patel (c): (828) 291-6715 (url): www.yapatel.org | @yapatel525 On Mar 12, 2014, at 8:29 AM, Gilles Chanteperdrix wrote: > On 03/12/2014 12:59 AM, Yogi A. Patel wr

[Xenomai] Analogy with new NI DAQs

2014-04-02 Thread Yogi A. Patel
Hi - Does anyone know the development roadmap for Analogy? I recently purchased a new NI X-series card (PCIe-6353) and realized (through attempts of loading it using analogy_config) that it is not recognized. I am trying to assess the feasibility of continuing with NI cards/Analogy and want

[Xenomai] Analogy Reference Issue with NI PCIMIO

2014-07-06 Thread Yogi A. Patel
Hi - I’ve attempted to debug this issue for the past week but can’t seem to figure out what is going on. I have an NI-6259 DAQ card and am using Analogy NI_PCIMIO to control the DAQ. When I set a channel’s reference to “GROUND”, the values acquired hit the voltage rails (-10V, range is set to

Re: [Xenomai] Analogy Reference Issue with NI PCIMIO

2014-07-06 Thread Yogi A. Patel
Jul 6, 2014, at 11:02 PM, Paul Janzen wrote: > "Yogi A. Patel" writes: > >> When I set the reference to COMMON, I get the signal that I am >> feeding in (sine wave from function generator using BNC) at the >> right frequency and amplitude. > > Can yo

[Xenomai] NI PCIe-1433

2014-07-18 Thread Yogi A. Patel
Hi - We’re interested in using the NI PCIe-1433 to capture data from a camera and pull into our software. Has anyone used Analogy to control one of these cards? Yogi ___ Xenomai mailing list Xenomai@xenomai.org http://www.xenomai.org/mailman/listinfo

[Xenomai] Parallel Computing?

2014-08-12 Thread Yogi A. Patel
Hi - I am interested in using Xenomai with multiple cores. When I run “cat /proc/cpuinfo | grep “model name” I see that there are two CPUs listed. My system using data acquisition from a NI DAQ (using ANALOGY driver), processes it with some model, and then provides some output through the NI DA

Re: [Xenomai] Parallel Computing?

2014-08-16 Thread Yogi A. Patel
Will this approach work with Xenomai 3.x, too? Yogi On Aug 12, 2014, at 3:20 PM, Gilles Chanteperdrix wrote: > On 08/12/2014 08:56 PM, Yogi A. Patel wrote: >> Hi - >> >> I am interested in using Xenomai with multiple cores. When I run “cat >> /proc/cpuinfo | g

Re: [Xenomai] Parallel Computing?

2014-08-16 Thread Yogi A. Patel
I am in the process of testing it on our current system (xenomai 2.6.3) however wanted to know if it ports or if it will have to be undone. Yogi On Aug 16, 2014, at 5:34 PM, Gilles Chanteperdrix wrote: > On 08/16/2014 10:59 PM, Yogi A. Patel wrote: >> Will this approach work with Xe

Re: [Xenomai] Parallel Computing?

2014-08-21 Thread Yogi A. Patel
similar error? Yogi On Aug 17, 2014, at 2:30 AM, Philippe Gerum wrote: > On 08/16/2014 10:59 PM, Yogi A. Patel wrote: >> Will this approach work with Xenomai 3.x, too? >> > > Yes. > >> Yogi >> >> On Aug 12, 2014, at 3:20 PM, Gilles Chanteperdrix >&

[Xenomai] Overrun error

2014-08-26 Thread Yogi A. Patel
Hi - I have ubuntu 14.04 running kernel 3.8 patched with xenomai 2.6.3. I have the kernel configured with: Processor type -> core 2/newer xenon Preemption model -> low-latency desktop ACPI -> Processor (disabled) When I run the latency test, things are great (for hours at a time). Average late

[Xenomai] Computing real time benchmarks

2014-08-26 Thread Yogi A. Patel
Hi - I am interested in computing the real time performance (computation time, period, jitter) of my application while it is running and display it within the application. Is there a "smart" way to do this without imposing a large burden on the systems performance? Thanks! Yogi _

[Xenomai] Low-latency desktop setting

2014-08-28 Thread Yogi A. Patel
a xenomai enabled kernel? -- Yogi A. Patel (828) 291.6715 yapatel.org | @yapatel525 ___ Xenomai mailing list Xenomai@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai

[Xenomai] Analogy PCI Slot issues?

2014-08-28 Thread Yogi A. Patel
Hi - We’ve been using analogy_config to load our NI DAQ cards for quite some time. Recently, we ran into a strange issue and can’t figure out what the problem is. The DAQ card we have is PCI-6036E. We use analogy_ni_pcimio. We have other machines that work with this DAQ and the same analogy dri

Re: [Xenomai] Analogy PCI Slot issues?

2014-08-28 Thread Yogi A. Patel
Forgot to add - the lspci output shows the following for the NI DAQ: 01:0a.0 Unassigned class [ff00]: National Instruments PCI-6036E Yogi ___ Xenomai mailing list Xenomai@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai

Re: [Xenomai] Analogy PCI Slot issues?

2014-08-28 Thread Yogi A. Patel
Sorry to spam the email. Just found the solution and posting incase it helps anyone else. For some reason the following works without specifying a bus address. $ sudo analogy_config analogy0 analogy_ni_pcimio Yogi ___ Xenomai mailing list Xenomai@xen

Re: [Xenomai] Analogy PCI Slot issues?

2014-08-29 Thread Yogi A. Patel
47 PM, Paul Janzen wrote: > "Yogi A. Patel" writes: > >> We run $ sudo analogy_config analogy0 analogy_ni_pcimio 0x1,0a >> >> and get: $ analogy_config: attach failed err=-2 ERROR: Analogy device >> loading failed. > > What happens if you use "1,

[Xenomai] Error compiling on P4 machine

2014-09-04 Thread Yogi A. Patel
Hi - Compiling 32 bit machine with Ubuntu 14.04 and getting the following error during the kernel compile - can't seem to make sense of it: CC kernel/trace/trace_event_perf.o CC kernel/trace/trace_events_filter.o CC kernel/trace/trace_kprobe.o CC kernel/trace/power-t

Re: [Xenomai] Error compiling on P4 machine

2014-09-04 Thread Yogi A. Patel
Using Xenomai 2.6.3 and ipipe-core-3.8.13-x86-4.patch ___ Xenomai mailing list Xenomai@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai

[Xenomai] mlockall and dlopenskins?

2014-09-07 Thread Yogi A. Patel
Hi - I used to provide --enable-posix-auto-mlockall --enable-dlopen-skins as options to the configure script when compiling user space support. However in 2.6.3 I get a warning saying those are unrecognized options. Now. I was looking online at the documentation and found the following: /Xen

Re: [Xenomai] mlockall and dlopenskins?

2014-09-07 Thread Yogi A. Patel
On 09/07/2014 12:37 PM, Gilles Chanteperdrix wrote: On 09/07/2014 06:21 PM, Yogi A. Patel wrote: The section named: MLOCKALL AND STACK SIZE says: As part of its initialization, Xenomai libraries call mlockall to commit and lock the whole application memory. How can that be made more clear

Re: [Xenomai] mlockall and dlopenskins?

2014-09-07 Thread Yogi A. Patel
On 09/07/2014 12:41 PM, Gilles Chanteperdrix wrote: On 09/07/2014 06:39 PM, Yogi A. Patel wrote: On 09/07/2014 12:37 PM, Gilles Chanteperdrix wrote: On 09/07/2014 06:21 PM, Yogi A. Patel wrote: The section named: MLOCKALL AND STACK SIZE says: As part of its initialization, Xenomai libraries

Re: [Xenomai] mlockall and dlopenskins?

2014-09-07 Thread Yogi A. Patel
On 09/07/2014 12:46 PM, Gilles Chanteperdrix wrote: On 09/07/2014 06:39 PM, Yogi A. Patel wrote: On 09/07/2014 12:37 PM, Gilles Chanteperdrix wrote: On 09/07/2014 06:21 PM, Yogi A. Patel wrote: The section named: MLOCKALL AND STACK SIZE says: As part of its initialization, Xenomai libraries

Re: [Xenomai] Error compiling on P4 machine

2014-09-07 Thread Yogi A. Patel
On 09/07/2014 12:59 PM, Gilles Chanteperdrix wrote: On 09/04/2014 10:10 PM, Gilles Chanteperdrix wrote: On 09/04/2014 10:01 PM, Yogi A. Patel wrote: Using Xenomai 2.6.3 and ipipe-core-3.8.13-x86-4.patch This combination works for me. This was a (failed) attempt to make you realize that you

[Xenomai] GPU Processing Question

2014-11-20 Thread Yogi A. Patel
Hi - I’m interested in using a GPU processing library (ArrayFire ) to run some computationally heavy models in our real-time framework (data acquired->run in model->generate some output via DAQ). I don’t know much about integrating GPU processing into the loop - and am l

Re: [Xenomai] GPU Processing Question

2014-11-22 Thread Yogi A. Patel
> On Nov 20, 2014, at 2:21 PM, Gilles Chanteperdrix > wrote: > >> On Thu, Nov 20, 2014 at 02:10:10PM -0500, Yogi A. Patel wrote: >> Hi - >> >> I’m interested in using a GPU processing library (ArrayFire >> <http://arrayfire.com/>) to run some com

Re: [Xenomai] GPU Processing Question

2014-11-23 Thread Yogi A. Patel
> On Nov 22, 2014, at 11:42, Gilles Chanteperdrix > wrote: > > On Sat, Nov 22, 2014 at 10:18:32AM -0500, Yogi A. Patel wrote: >> I understand your point about the primary mode issues with the Linux kernel >> based GPU drivers and needing to port them. However, the sol

[Xenomai] Spurious relax test?

2014-12-25 Thread Yogi A. Patel
Hi - I’ve implemented the code provided on the Xenomai website for finding spurious relaxes in Xenomai 2 - however I’m a bit skeptical about whether or not I’ve implemented it correctly since I don’t ever see any output to the terminal. Is there any way to “induce” a relax to test the implement

Re: [Xenomai] Spurious relax test?

2014-12-26 Thread Yogi A. Patel
> On Dec 26, 2014, at 10:58, Gilles Chanteperdrix > wrote: > > On Fri, Dec 26, 2014 at 12:46:58AM -0500, Yogi A. Patel wrote: >> Hi - >> >> I’ve implemented the code provided on the Xenomai website for finding >> spurious relaxes in Xenomai 2 - however

[Xenomai] Definition of latency

2015-02-17 Thread Yogi A. Patel
Hi - I am using the latency test provided with xenon on 2.6.3 and am curious what exactly the definition of “latency” is. Are the min, avg, and max values presented the time it took the thread to wake up, execute and go back to sleep or something else? Thanks! Yogi A. Patel @yapatel525

[Xenomai] Error trying to view Analogy subdevices

2015-03-05 Thread Yogi A. Patel
Hi - I see the following when I load a National Instruments DAQ with Analogy: Analogy: analogy_ni_pcimio: pcimio_attach: found pci-6259 board analogy_mite :06:04.0: setting latency timer to 64 Analogy: analogy_ni_pcimio: pcimio_attach: found irq 11 [ cut here ] WARNIN

[Xenomai] Graphics Iissues only after loading analogy

2015-03-15 Thread Yogi A. Patel
all of my machines, I have DRM/DKMS enabled for the appropriate graphics drivers and I’ve checked the DMESG and XORG logs - but nothing stands out/reveals why loading the DAQ leads to this behavior. Has anyone else experienced this? Yogi A. Patel @yapatel525 <https://twitter.com/yapatel

Re: [Xenomai] Graphics Iissues only after loading analogy

2015-03-15 Thread Yogi A. Patel
> On Mar 15, 2015, at 14:37, Gilles Chanteperdrix > wrote: > > On Sun, Mar 15, 2015 at 01:36:05PM -0400, Yogi A. Patel wrote: >> Hi - >> >> I have multiple systems running Ubuntu 14.04 with Xenomai 2.6.3 or 2.6.4. >> Each system has a PCI/PCIe graphics car

Re: [Xenomai] Graphics Iissues only after loading analogy

2015-03-15 Thread Yogi A. Patel
> On Mar 15, 2015, at 17:48, Lennart Sorensen > wrote: > > On Sun, Mar 15, 2015 at 03:32:24PM -0400, Yogi A. Patel wrote: >> >>> On Mar 15, 2015, at 14:37, Gilles Chanteperdrix >>> wrote: >>> >>> On Sun, Mar 15, 2015 at 01:36:05PM -

[Xenomai] 3.14.17 patch initial ram disk hangup

2015-05-22 Thread Yogi A. Patel
Hi - I have a Dell OptiPlex 9020 running 3.14.17. I am trying to get this system to run 3.14.17 with xenomai (using the 3.14.17 patch in the xenomai 2.6.4 source). The computer hangs when I select the kernel at “Loading initial ram disk”. I tried booting into recovery mode and go the following

Re: [Xenomai] 3.14.17 patch initial ram disk hangup

2015-05-22 Thread Yogi A. Patel
> On May 22, 2015, at 17:05, Gilles Chanteperdrix > wrote: > > On Fri, May 22, 2015 at 04:47:59PM -0400, Yogi A. Patel wrote: >> Hi - >> >> I have a Dell OptiPlex 9020 running 3.14.17. I am trying to get this system >> to run 3.14.17 with xenomai (using th

Re: [Xenomai] 3.14.17 patch initial ram disk hangup

2015-05-22 Thread Yogi A. Patel
> On May 22, 2015, at 17:05, Gilles Chanteperdrix > wrote: > > On Fri, May 22, 2015 at 04:47:59PM -0400, Yogi A. Patel wrote: >> Hi - >> >> I have a Dell OptiPlex 9020 running 3.14.17. I am trying to get this system >> to run 3.14.17 with xenomai (using th

Re: [Xenomai] 3.14.17 patch initial ram disk hangup

2015-05-22 Thread Yogi A. Patel
> On May 22, 2015, at 17:52, Gilles Chanteperdrix > wrote: > >> On Fri, May 22, 2015 at 05:37:16PM -0400, Yogi A. Patel wrote: >> >>> On May 22, 2015, at 17:05, Gilles Chanteperdrix >>> wrote: >>> >>> On Fri, May 22, 2015 at 04:47:59P

Re: [Xenomai] 3.14.17 patch initial ram disk hangup

2015-05-23 Thread Yogi A. Patel
> On May 22, 2015, at 18:26, Gilles Chanteperdrix > wrote: > > On Fri, May 22, 2015 at 06:00:56PM -0400, Yogi A. Patel wrote: >>> On May 22, 2015, at 17:52, Gilles Chanteperdrix >>> wrote: >>> >>>> On Fri, May 22, 2015 at 05:37:16PM -040

Re: [Xenomai] 3.14.17 patch initial ram disk hangup

2015-05-23 Thread Yogi A. Patel
> On May 23, 2015, at 14:26, Gilles Chanteperdrix > wrote: > > On Sat, May 23, 2015 at 02:14:10PM -0400, Yogi A. Patel wrote: >> >>> On May 22, 2015, at 18:26, Gilles Chanteperdrix >>> wrote: >>> >>> On Fri, May 22, 2015 at 06:00:56PM

Re: [Xenomai] 3.14.17 patch initial ram disk hangup

2015-05-25 Thread Yogi A. Patel
On 05/24/2015 03:01 AM, Jan Kiszka wrote: On 2015-05-22 22:47, Yogi A. Patel wrote: Hi - I have a Dell OptiPlex 9020 running 3.14.17. I am trying to get this system to run 3.14.17 with xenomai (using the 3.14.17 patch in the xenomai 2.6.4 source). The computer hangs when I select the kernel

Re: [Xenomai] 3.14.17 patch initial ram disk hangup

2015-05-25 Thread Yogi A. Patel
ite see what the problem could be except for something internal to the radeon driver. Jeroen. Yogi ___ Xenomai mailing list Xenomai@xenomai.org http://xenomai.org/mailman/listinfo/xenomai -- Yogi A. Patel @yapatel525 <https://twitte