∂єєραк >>; | 25 Jun 2009 14:25
Picon

RTAI working well with comedi.....but cannot check overrun of kernel

Hi Guys,

I am really glad to inform you all that my first RTAI/Linux is working fine with comedi after long hard work. I am new in this field but I am learning it well. I would like to thank you all especially who supported me at every problem.

There is one thing I would like to know about while my model executable is running, Can I check my overrun of my kernel because when I tried it says that
insmod:error inserting '/usr/realtime/modules/rtai_sched.ko': -1 Invalid module format
Error: cannot load /usr/realtime/modules/rtai_sched.ko

And it hanged my RTAI/linux completly. I was unable to do anything except restarting my machine.

Kind Regards
DP

_______________________________________________
Rtai mailing list
Rtai <at> rtai.org
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
Guillaume Millet | 13 May 2009 00:32
Picon

[Fwd: [comedi] scicos + rtai + comedi: how to read more encoders?]

Hello,

it's a bug in RTAI-Lab. The Comedi-encoder block was written for NI 
cards whose counters are mapped on subdevices. The comedi driver for the 
s626 board seems to map counters on the channels of a subdevice, I don't 
know whether it's a lack of standardization in comedi drivers or it's 
inherent to the card.

I am surprised it worked on your card for counter 1.
You are lucky that the main configuration function (INSN_CONFIG) is 
similar for your card, that is why it worked.
I changed the code to allow the use of channels instead of subdevices, I 
send it to you (in another mail).

Guillaume

-------- Message original --------

hello everybody,

I'm trying to develop a program aimed at controlling 3 motors in
realtime by using a Sensoray s626 board, driven by comedi drivers,
into scilab/scicos software platform. I used this tutorial -
https://www.rtai.org/RTAILAB/RTAI-Lab-tutorial.pdf - to start working
and everything has gone well up to now.

If I use the counter 0, the program works. When I try to read from the
counter 1, the program automatically shouts down and "the target is
closed". The output follows.
Does anybody know why?

Any help will be appreciate.
thanks

            vito

Target settings
===============
  Real-time : HARD
  Timing    : internal / periodic
  Priority  : 0
  Finaltime : RUN FOREVER
  CPU map   : f

TARGET STARTS.
COMEDI /dev/comedi0 (s626) opened.

Comedi find_subdevice failed (No digital Input)
AO Channel 1 - Range : -10.00 [V] - 10.00 [V]
AO Channel 1 - Range : -10.00 [V] - 10.00 [V]
AO Channel 1 - Range : -10.00 [V] - 10.00 [V]
Find subdevice failed (No Counter 1)
Counter 1 - MaxData : 16777215 - Initial value : 0 - Index enable : 1
Mode UP/DOWN - Channel A on PFI3 - Channel B on PFI11

Model : SuperBlock .
Executes on CPU map : f.
Sampling time : 1.000000e-01 (s).
Target is running.

COMEDI Counter /dev/comedi0 closed.

Meter METER2 closed
Target has been stopped.
TARGET ENDS.

--

-- 
Guillaume Millet

Institut des Systèmes Intelligents et de Robotique
Université Pierre et Marie Curie - Paris 6
Tel : +33 1 44 27 63 79

_______________________________________________
Rtai mailing list
Rtai <at> rtai.org
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai

Riccardo FABBRIS | 24 Apr 2009 12:32
Picon

Problem with Comedi configuration

Hi all,
I installed Comedi 0.7.76 following "RTAI-Lab tutorial: Scilab, Comedi, and real-time control" without
any error and I tried to configure my DAQ card but:

root <at> costa-desktop:/usr/local/src/comedi-0.7.76# modprobe adv_pci1710
root <at> costa-desktop:/usr/local/src/comedi-0.7.76# comedi_config -v /dev/comedi0 adv_pci1710
configuring driver=adv_pci1710 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
Configure failed!: Input/output error
Check kernel log for more information
Possible reasons for failure:
  Driver not found

I had already load Rtai modules and the ones of Comedi:

insmod /usr/rtbucher/modules/rtai_hal.ko
insmod /usr/rtbucher/modules/rtai_up.ko
insmod /usr/rtbucher/modules/rtai_fifos.ko
insmod /usr/rtbucher/modules/rtai_sem.ko
insmod /usr/rtbucher/modules/rtai_mbx.ko
insmod /usr/rtbucher/modules/rtai_msg.ko
insmod /usr/rtbucher/modules/rtai_netrpc.ko ThisNode="127.0.0.1"
insmod /usr/rtbucher/modules/rtai_shm.ko
insmod /usr/rtbucher/modules/rtai_signal.ko
insmod /usr/rtbucher/modules/rtai_tasklets.ko
modprobe comedi
modprobe kcomedilib
modprobe comedi_fc

The card is working (I tried it before installing) and it's a Advantech PCI-1711, I'm working with RTAI
3.6.2 on a vanilla Linux 2.6.24.7.

Do I have to load other modules? Do I have to do other things?
Any suggestion will be appreciated,
Thanks,
Riccardo
_______________________________________________
Rtai mailing list
Rtai <at> rtai.org
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
Alessio Igor Bogani | 24 Apr 2009 11:28
Picon

RFC about Comedi on a patch that remove a lot fo code

Dear Comedi developers,

Sorry for my bad english.

I would be happy to receive your considerations about that patch:

http://marc.info/?l=linux-next&m=123792129500760&w=2

I know that some users use Comedi on dual kernel approach systems.
Obviously I don't have any against this but i think that Linux git
tree isn't the right place to support those software (RTAI, Xenomai,
RTLinux and others). Those projects already released patches against
Linux source code so it very easy for them add also patch for Comedi
drivers in the same tarball.

At the already listed 8 reasons  in that email I want added a ninth one:
9) Give more chance for interested developers to fix it against RT_PREEMPT
http://marc.info/?l=linux-rt-users&m=124049407712792&w=2

Thanks!

Ciao,
Alessio
Tom Tu | 28 Jan 2009 11:33
Picon
Favicon

How robust is RTAI and RTAI-Lab?

Assuming they are installed well, how robust are they?

Anyone has experience using them a lot on very complicated control systems ?

Thanks,
Tom

_______________________________________________
Rtai mailing list
Rtai <at> rtai.org
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai

Tom Tu | 10 Jan 2009 22:36
Picon
Favicon

Need scilab-4.1.2-rtailab.tgz !

Hi, Guys,

I cannot find it even googling a lot.  I noticed there is a newer package
on Roberto's web for scilab 5.0. However I have an old version of running
RTAI that must use this 4.1.2 version.  Could anyone point me to it,
or just email me a copy?

I tried that 5.0 version and it did not work for me.  The vulcano version
on CVS also did not work for me.

Tom

_______________________________________________
Rtai mailing list
Rtai <at> rtai.org
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai

Tom Tu | 7 Jan 2009 10:56
Picon
Favicon

RTAI on Flash

Hi, Guys,

I followed the instruction by Roberto (http://web.dti.supsi.ch/~bucher/embrtai.html) and the
resulted RTAI on a flash disk
does not support networks.  The ifconfig does not show any network interface except for the "lo".

The kernel file used in the above was copied from a Live RTAI that runs on the same system (x86).  When I ran this
live RTAI,
the network worked.  That means, the live RTAI was able to detect the ethernet card on the system, but
the flash version of RTAI could not, even though it used the same kernel as the live RTAI.

Is there anyway to make the flash version of RTAI work with the ethernet card without recompiling the kernel
and RTAI?  Compiling
RTAI is sometimes really a headache.

Any info is appreciated!

Tom

_______________________________________________
Rtai mailing list
Rtai <at> rtai.org
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai

Tom Tu | 7 Jan 2009 07:17
Picon
Favicon

Install RTAI and RTAI-Lab onto Debian Etch

Hi, 

I found the following discussion in the mail archive.  Could anyone tell me where this "guide <aqui>" is in
the following message?

Is there any special things to take care when installing RTAI and RTAI-Lab
onto Debian Etch?

What is the Linux non-live (i.e. run on Hard drive) distribution (Fedora? Slackware?)
that is the easiest for RTAI and RTAI-Lab installation?  Include version numbers please.

Thanks!

Tom

------ Original Message ------
Subject: [Rtai] RTAI + Comedi + Rtai-lab problems installed
From: Ariel Dayler Salazar Hinojosa adayler at gmail.com
Date: Fri Jan 18 23:15:22 CET 2008

Forgive my bad engles

I followed the guide <aqui> without many inconveniences, before  section 8.3 
(Compiling RTAI with Comedi support ), Where he tells me to perform.

$make menuconfig  #in /usr/src/modules/rtai

Select the following

Add-ons  ---> Comedi support over LXRT --> enable
Add-ons  ---> COMEDI installation directory ---> /usr/local
RTAI Lab ---> RTAI Lab

And repeating step "Compiling RTAI modules"

While repeat "Compiling RTAI modules" by the méthod2: debian way,   I can only 
reach before the command:

make-kpkg --append-to-version -rtai --added-modules rtai modules_image

When you run shows me the following errors:

Fl_Synch_Window.cpp:(.text+0x18c): undefined reference to 
`Fl_Gl_Window::mode(int)'
xrtailab-Fl_Synch_Window.o: In function `Fl_Synch_Window::Fl_Synch_Window(int, 
int, int, int, Fl_MDI_Viewport*, char const*)':
Fl_Synch_Window.cpp:(.text+0x32c): undefined reference to 
`Fl_Gl_Window::mode(int)'
collect2: ld returned 1 exit status
make[5]: *** [xrtailab] Error 1
make[5]: se sale del directorio `/usr/src/rtai-3.5-cv/rtai-lab'
make[4]: *** [install-recursive] Error 1
make[4]: se sale del directorio `/usr/src/rtai-3.5-cv/rtai-lab'
make[4]: se ingresa al directorio `/usr/src/rtai-3.5-cv'

_______________________________________________
Rtai mailing list
Rtai <at> rtai.org
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai

Tom Tu | 7 Jan 2009 07:17
Picon
Favicon

Install RTAI and RTAI-Lab onto Debian Etch is a headache

Hi, 

I found the following discussion in the mail archive.  Could anyone tell me where this "guide <aqui>" is in
the following message?

Is there any special things to take care when installing RTAI and RTAI-Lab
onto Debian Etch?

What is the Linux non-live (i.e. run on Hard drive) distribution (Fedora? Slackware?)
that is the easiest for RTAI and RTAI-Lab installation?  Include version numbers please.

Thanks!

Tom

------ Original Message ------
Subject: [Rtai] RTAI + Comedi + Rtai-lab problems installed
From: Ariel Dayler Salazar Hinojosa adayler at gmail.com
Date: Fri Jan 18 23:15:22 CET 2008

Forgive my bad engles

I followed the guide <aqui> without many inconveniences, before  section 8.3 
(Compiling RTAI with Comedi support ), Where he tells me to perform.

$make menuconfig  #in /usr/src/modules/rtai

Select the following

Add-ons  ---> Comedi support over LXRT --> enable
Add-ons  ---> COMEDI installation directory ---> /usr/local
RTAI Lab ---> RTAI Lab

And repeating step "Compiling RTAI modules"

While repeat "Compiling RTAI modules" by the méthod2: debian way,   I can only 
reach before the command:

make-kpkg --append-to-version -rtai --added-modules rtai modules_image

When you run shows me the following errors:

Fl_Synch_Window.cpp:(.text+0x18c): undefined reference to 
`Fl_Gl_Window::mode(int)'
xrtailab-Fl_Synch_Window.o: In function `Fl_Synch_Window::Fl_Synch_Window(int, 
int, int, int, Fl_MDI_Viewport*, char const*)':
Fl_Synch_Window.cpp:(.text+0x32c): undefined reference to 
`Fl_Gl_Window::mode(int)'
collect2: ld returned 1 exit status
make[5]: *** [xrtailab] Error 1
make[5]: se sale del directorio `/usr/src/rtai-3.5-cv/rtai-lab'
make[4]: *** [install-recursive] Error 1
make[4]: se sale del directorio `/usr/src/rtai-3.5-cv/rtai-lab'
make[4]: se ingresa al directorio `/usr/src/rtai-3.5-cv'

_______________________________________________
Rtai mailing list
Rtai <at> rtai.org
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai

Kenneth Jacker | 3 Oct 2008 16:23
Favicon

Debian or Ubuntu?

I am about to create a new machine containing RTAI and COMEDI and am
wondering if there are any pros/cons in using one or the other of the
following two GNU/Linux distributions:

  *  Debian ("testing")

  *  Ubuntu 8.04

Thanks for your comments!
--

-- 
Prof Kenneth H Jacker       khj <at> cs.appstate.edu
Computer Science Dept       www.cs.appstate.edu/~khj
Appalachian State Univ
Boone, NC  28608  USA        
_______________________________________________
Rtai mailing list
Rtai <at> rtai.org
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai

Nico Mock | 29 Aug 2008 16:45
Picon
Favicon

s-function-block ni_660x

Dear all,

since the ni_6602-card is supported by comedi, i was wondering if there 
are allready some working s-functions to be used within matlab/simulink 
interfacing the ni_660x - card.
I'm interested in doing some continous pulse train generation.
I would be happy, if somebody can send me a s-function as a template to 
start with.

Thanks a lot,

Nico

_______________________________________________
Rtai mailing list
Rtai <at> rtai.org
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai


Gmane