From: Jorge Ramirez Ortiz <jro@xenomai.org>
To: "Yogi A. Patel" <yapatel@gatech.edu>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] analogy calibration issue(s)
Date: Fri, 07 Aug 2015 09:00:26 -0400 [thread overview]
Message-ID: <55C4ABEA.8040106@xenomai.org> (raw)
In-Reply-To: <06B32287-9FE2-42E5-BC2B-E9C807D0BD69@gatech.edu>
On 08/07/2015 08:43 AM, Yogi A. Patel wrote:
>>> 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 send the calibration file please?
>>>
>>> attached.
>>>
>>>
>>>
>>>
>>> I spent some more time digging at the code. The insn_read process hangs at
>>> a4l_read_calibration_file because when the for loop (line 214) runs the second
>>> time, it does not find the string “elements”, and thus sets nb_elements to 65535
>>> - causing it to run forever.
you didnt get any errors while calibrating?
>>>
>>> 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.
yes, read_int should be checking for errors.
>>>
>>> The calibration file also doesn’t include all the analog inputs (it only shows
>>> 7, whereas the board has 16 AIs. So does the PCI 6220). What am I missing/not
>>> understanding?
yes I was looking into this as well; the soft calibration feature replicates the
Comedi version behaviour so this is very likely a bug.
next prev parent reply other threads:[~2015-08-07 13:00 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
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 [this message]
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=55C4ABEA.8040106@xenomai.org \
--to=jro@xenomai.org \
--cc=xenomai@xenomai.org \
--cc=yapatel@gatech.edu \
/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.