All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yogi A. Patel" <yapatel@gatech.edu>
To: Jorge Ramirez Ortiz <jro@xenomai.org>,
	"xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] analogy calibration issue(s)
Date: Thu, 06 Aug 2015 16:30:48 -0400	[thread overview]
Message-ID: <55C3C3F8.1090808@gatech.edu> (raw)
In-Reply-To: <55C3AEBE.9080603@xenomai.org>

When I run

sudo ./analogy_calibrate --device=analogy0 --output=file

I see

[ 1124.191097] analogy_calibra[2822]: segfault at 7 ip 00007f10b88c6a03 
sp 00007fffaee2bb40 error 4 in libc-2.19.so[7f10b887b000+1bb000]

on two computers running Xenomai RC5 with Linux 3.18.12 both with NI 
DAQs installed (M-Series).

On 08/06/2015 03:00 PM, Jorge Ramirez Ortiz wrote:
>> Has anyone successfully used the calibration feature?
>>
> Seems to be working on my end (the calibration file is always generated).
>
> # analogy_config analogy0 analogy_ni_pcimio
> # analogy_calibrate --device=analogy0 --output=file
> # insn_read -d analogy0 -c 0 -R 0 -y /root/file
> Calibrated values:
> 9.116142
> 9.115817
> 9.115817
> 9.116142
> 9.115817
> 9.115817
> 9.116142
> 9.115817
> 9.115817
> 9.115817
>
> ~ # cat /proc/analogy/devices
> --  Analogy devices --
>
> | idx | status | driver
> |  00 | Linked | pci-6221
> |  01 | Unused | No driver
> |  02 | Unused | No driver
> |  03 | Unused | No driver
> |  04 | Unused | No driver
> |  05 | Unused | No driver
> |  06 | Unused | No driver
> |  07 | Unused | No driver
> |  08 | Unused | No driver
> |  09 | Unused | No driver
> ~ # cat /proc/analogy/drivers
> --  Analogy drivers --
>
> | idx | board name
> |  00 | analogy_ni_pcimio
> |  01 | analogy_8255
> ~ #
>
> # uname -a
> Linux nestor 3.14.44+ #4 PREEMPT Thu Aug 6 19:09:08 CEST 2015 i686 GNU/Linux
>
> # cat /proc/xenomai/version
> 3.0-rc6
>
> # cat /proc/cpuinfo
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 6
> model           : 8
> model name      : Pentium III (Coppermine)
> [...]
>
>

-- 
Yogi



  reply	other threads:[~2015-08-06 20:30 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-05  3:01 [Xenomai] analogy calibration issue(s) Yogi A. Patel
2015-08-05  5:00 ` Jorge Ramirez Ortiz
2015-08-05  5:13   ` Yogi A. Patel
2015-08-05 12:54     ` Jorge Ramirez Ortiz
2015-08-06 19:00 ` Jorge Ramirez Ortiz
2015-08-06 20:30   ` Yogi A. Patel [this message]
2015-08-06 20:47     ` Jorge Ramirez Ortiz
2015-08-07  1:57       ` Yogi A. Patel
2015-08-07 11:26         ` Jorge Ramirez Ortiz
2015-08-07 12:43           ` Yogi A. Patel
2015-08-07 13:00             ` Jorge Ramirez Ortiz
2015-08-07 14:13             ` Jorge Ramirez Ortiz
2015-08-07 20:15               ` Yogi A. Patel
2015-08-07 20:32                 ` Jorge Ramirez Ortiz
2015-08-07 20:35                   ` Yogi A. Patel
2015-08-07 20:47                     ` Jorge Ramirez Ortiz
2015-08-07 20:48                       ` Yogi A. Patel
2015-08-07 21:27                         ` Jorge Ramirez Ortiz
2015-08-11 12:29                           ` Yogi A. Patel
2015-08-17  4:11                             ` Yogi A. Patel
2015-08-17 13:22                               ` Jorge Ramirez Ortiz
2015-08-17 13:39                                 ` Jorge Ramirez Ortiz
2015-08-17 14:29                                   ` Jorge Ramirez Ortiz
2015-08-17 14:22                                 ` Yogi A. Patel
2015-08-20 14:15                                   ` Jorge Ramirez Ortiz
2015-08-07 21:28                     ` Gilles Chanteperdrix
2015-08-11 12:22                       ` Yogi A. Patel
2015-08-11 15:49                         ` Gilles Chanteperdrix
2015-08-07 12:53           ` Jorge Ramirez Ortiz
2015-08-06 20:56     ` Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55C3C3F8.1090808@gatech.edu \
    --to=yapatel@gatech.edu \
    --cc=jro@xenomai.org \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.