<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tips, tricks and tutorials&#187; Tips and tricks, tutorials</title>
	<atom:link href="http://www.ngohaibac.com/category/linux/real-time-system/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ngohaibac.com</link>
	<description>What you share is what you get</description>
	<lastBuildDate>Tue, 15 Jun 2010 15:49:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>RTAI Conference Papers</title>
		<link>http://www.ngohaibac.com/rtai-conference-papers/</link>
		<comments>http://www.ngohaibac.com/rtai-conference-papers/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 11:04:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Real Time System]]></category>
		<category><![CDATA[realtime linux]]></category>
		<category><![CDATA[RTAI]]></category>

		<guid isPermaLink="false">http://www.ngohaibac.com/?p=469</guid>
		<description><![CDATA[Last week, I have introduced to RealTime Application Interface for Linux, now I would like to give you some RTAI Conference Papers. Those papers could be a very good reference for everyone who is working with RTAI, as well as people doesn&#8217;t play with RTAI before to have more motivation. 1. PC-based feedback acceleration control using Linux RTAI ABSTRACT [...]<br /><div><img src="http://www.ngohaibac.com/wp-content/plugins/gd-star-rating/gfx.php?value=0.0" /></div><div>Rating: 0.0/<strong>10</strong> (0 votes cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://www.ngohaibac.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />


Related posts:<ol><li><a href='http://www.ngohaibac.com/real-time-application-interface-rtai-3-7-1-available/' rel='bookmark' title='Permanent Link: Real-Time Application Interface: RTAI 3.7.1 available'>Real-Time Application Interface: RTAI 3.7.1 available</a></li>
<li><a href='http://www.ngohaibac.com/introduce-to-realtime-application-interface-for-linux/' rel='bookmark' title='Permanent Link: Introduce to RealTime Application Interface for Linux'>Introduce to RealTime Application Interface for Linux</a></li>
<li><a href='http://www.ngohaibac.com/how-to-install-rtai-comedi-in-ubuntu-8-10-ubuntu-9-04/' rel='bookmark' title='Permanent Link: How to install RTAI, ComediLib in Ubuntu 8.10, Ubuntu 9.04'>How to install RTAI, ComediLib in Ubuntu 8.10, Ubuntu 9.04</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><!-- google_ad_section_start --><p>Last week, I have <a title="Permanent link to Introduce to RealTime Application Interface for Linux" rel="bookmark" href="http://www.ngohaibac.com/introduce-to-realtime-application-interface-for-linux/">introduced to RealTime Application Interface for Linux</a>, now I would like to give you some RTAI Conference Papers. Those papers could be a very good reference for everyone who is working with RTAI, as well as people doesn&#8217;t play with RTAI before to have more motivation.<br />
<br />
1. <a href="http://www.mediafire.com/download.php?ztmzrizycgg">PC-based feedback acceleration control using Linux RTAI</a></p>
<p>ABSTRACT<br />
Linux operative system, extended with the real time application interface (RTAI), makes it possible to realize industrial motion controls. This requires general purpose processors (GPPs) instead of dedicated DSPs or microcontrollers. RTAI offers the possibility of designing and developing motion controls using high level object languages (i.e., Simulink). The main advantages brought using Linux-RTAI and a PC as a controller platform are: very reduced time for development, diagnostics, design of controls; cost reduction offered by the open-source status of the operating system; high availability of the hardware. This paper shows that such a system offers adequate digital programming and signal processing capabilities to make real time motion control applications. An industrial-PC based acceleration control is presented and points of strength of RTAI solution are shown.<br />
<span id="more-469"></span><br />
2.<a href="http://www.mediafire.com/download.php?iemy4try54z"> Industrial motion control applications using linux RTAI</a></p>
<p>ABSTRACT<br />
RTAI extension to Linux operating system makes it possible to perform Hard Real-Time (HRT) controls using a commercial PC and utilizing open-source code. This paper details a software installation process, along with the suitable hardware chosen for realizing motion controls using Linux-RTAI. Advantages offered by the possibility of designing and developing motion controls using the powerful tools of high level object-languages (i.e. Simulink) are described. It is proven that the combination of Simulink as a development environment and Linux-RTAI PC as a controller platform brings advantages that can be greatly appreciated in industrial motion control applications, such as: very reduced time for development, diagnostics, design of controls; adequate control performance; cost reductions offered by the open-source status of the operating system.</p>
<p>3.<a href="http://www.mediafire.com/download.php?mtlqmkuqw1g">Scilab/Scicos and Linux RTAI &#8211; a unified approach</a></p>
<p>ABSTRACT<br />
This paper presents a rapid controller prototyping environment completely based on open source software. GNU/Linux with the RTAI extension is used as a hard real-time operating system. The Scilab/Scicos suite permits performance of all phases of the control system design. A modified Scicos code generator directly generates the C-code for the Linux RTAI environment. Finally, the generated hard real-time task runs as a user space application on a standard PC using the COMEDI drivers to interface with the real plant. A GUI application facilitates the user to interact with the running real-time task (data visualization, data collection, parameters tuning) directly from any PC in the network. All needed software is available on the Web and can be freely downloaded. Some applications are presented to demonstrate the potentialities of the presented suite.</p>
<p>4. <a href="http://www.mediafire.com/download.php?jjmzam2n2wg">A Hardware-In-the-Loop Simulation System of Diesel Engine Based on Linux RTAI</a></p>
<p>ABSTRACT<br />
In this article, the rapid prototyping technology is used to develop a hardware-in-the-loop simulation system for the diesel engine electronic control unit development. The hardware- in-the-loop simulation is based on Linux RTAI system, an open source hard real-time extension of the Linux Operating System, at low costs and within industrial standards. It exploits standard x86-based computing platforms provided with real-time Linux software in combination with generic computer-aided design software (Matlab/Simulink). One of its main characteristics is that it can automatically generate the real-time simulation code for many target processors, which runs under Linux RTAI operating system.</p>
<p>5.<a href="http://www.mediafire.com/download.php?lmmtnmgtjnx">Monitoring applications of electrical and climate data for PV systems using Linux RTAI</a></p>
<p>ABSTRACT<br />
This work presents the design and development of an innovative system aimed at detecting, recording and transmitting electrical and climate data from a PV field. Data are to be taken both from the PV modules and from the power conditioning system of a given PV field, through appropriate sensors, to monitor: climate data (irradiance, temperature), electrical quantities (voltage, current, power), performance of the PV generator as a function of climate parameters, performance of the power conditioning system over different working conditions. The system will exchange data through a communication network (i.e. Ethernet/TCP-IP) to download data, visualize quantities and operative states. The proposed system is designed to be integrated into any PV field, independently from the plant layout, the inverter type, the presence of preexisting data loggers, sensors, etc. Such a result is achieved using an open architecture, which assures an extremely high flexibility of utilization.</p>
<p>6.<a href="http://www.mediafire.com/download.php?jk2ejnmomkz">Real time distributed control systems using RTAI</a></p>
<p>ABSTRACT<br />
The paper outlines the design and implementation of the Real Time Application Interface (RTAI) for Linux, as used for high performance local/distributed control systems implemented on low cost off the shelf general purpose computers. Its native lean real time middleware layer is described along with its use in an advanced tool to easily manage and monitor complex networked control systems.</p>
<p>7. <a href="http://www.mediafire.com/download.php?oz1wyyzizle">RTAI-based execution environments for function block based control applications</a></p>
<p>ABSTRACT<br />
The IEC 61499 standard has been recently adopted to promote a more flexible development process in the control and automation domain. The standard mainly deals with modeling issues leaving a lot of model execution details open. Different research groups are already working for the development of execution environments for the defined component model, proposing implementations with different execution semantics. This paper discuss the semantics of the execution environment and presents two execution environments, which although independently developed share a similar view of IEC61499 execution semantics and are both implemented over RTAI (real time application interface), a real-time Linux-based platform.</p>
<p>8. <a href="http://www.mediafire.com/download.php?euyyzmvqyji">Performance Comparison of VxWorks, Linux, RTAI and Xenomai in a Hard Real-time Application</a></p>
<p>ABSTRACT<br />
We report on a set of performance measurements executed on VMEbus MVME5500 boards equipped with MPC7455 PowerPC processor, running four different operating systems: Wind River VxWorks, Linux, RTAI, and Xenomai. Some components of RTAI and Xenomai have been ported to the target architecture. Interrupt latency, rescheduling and inter-process communication times are compared in the framework of a sample real-time application. Performance measurements on Gigabit Ethernet network communication have also been carried out on the target boards. To this purpose, we have considered the Linux IP stack and RTnet, an open-source hard real-time network protocol stack for Xenomai and RTAI, which was ported to the considered architecture. Performance measurements show that the tested open-source software is suitable for hard real-time applications</p>
<p>9. <a href="http://www.mediafire.com/download.php?oz1wyyzizle">RTAI-based execution environments for function block based control applications</a></p>
<p>ABSTRACT<br />
The IEC 61499 standard has been recently adopted to promote a more flexible development process in the control and automation domain. The standard mainly deals with modeling issues leaving a lot of model execution details open. Different research groups are already working for the development of execution environments for the defined component model, proposing implementations with different execution semantics. This paper discuss the semantics of the execution environment and presents two execution environments, which although independently developed share a similar view of IEC61499 execution semantics and are both implemented over RTAI (real time application interface), a real-time Linux-based platform.</p>
<p>10. <a href="http://www.mediafire.com/download.php?y1uhzuyhmxl">Rapid control prototyping with Scilab/Scicos/RTAI for PC-based ARM-based platforms</a></p>
<p>ABSTRACT<br />
This document describes three didactic system with a Rapid Control Prototyping (RCP) suite based on Scilab/Scicos and a PC computer. Servomechanisms with wire signal transmission and PID as well as a fuzzy controller are presented. The servomechanism with wireless signal transmission is also described. As the RCP suite based on Scilab/Scicos/RTAI was successfully used in the servo controller development on a PC platform, the concept of a tool-chain for RCP on an embedded platform with ARM processor is discussed. The TS-7300 embedded system with RTAI real-time operating system is described. The changes in Scilab/Scicos needed to interface the generated controller code to TS-7300 are presented. The didactic use and a possible commercial use of the tool-chain is indicated. The didactic use is focused on controllers tuning, friction and long delays influence on servomechanism control and embedded control system development.</p>
<p>Note: They are all papers I have downloaded and read, so I just share it with the one who wants it.</p>
<br /><div><img src="http://www.ngohaibac.com/wp-content/plugins/gd-star-rating/gfx.php?value=0.0" /></div><div>Rating: 0.0/<strong>10</strong> (0 votes cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://www.ngohaibac.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br /><!-- google_ad_section_end -->

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.ngohaibac.com/rtai-conference-papers/&amp;title=RTAI+Conference+Papers" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=RTAI+Conference+Papers&amp;body=Link: http://www.ngohaibac.com/rtai-conference-papers/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Last%20week%2C%20I%20have%20introduced%20to%20RealTime%20Application%20Interface%20for%20Linux%2C%20now%20I%20would%20like%20to%20give%20you%C2%A0some%20RTAI%20Conference%20Papers.%20Those%20papers%20could%20be%20a%20very%20good%C2%A0reference%C2%A0for%20everyone%20who%20is%20working%20with%20RTAI%2C%20as%20well%20as%20people%20doesn%27t%20play%20with%20RTAI%20before%20to%20have%20more%20motivation.%0D%0A%0D%0A1.%C2%A0PC" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.ngohaibac.com/rtai-conference-papers/&amp;t=RTAI+Conference+Papers" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.ngohaibac.com/rtai-conference-papers/&amp;submitHeadline=RTAI+Conference+Papers&amp;submitSummary=Last%20week%2C%20I%20have%20introduced%20to%20RealTime%20Application%20Interface%20for%20Linux%2C%20now%20I%20would%20like%20to%20give%20you%C2%A0some%20RTAI%20Conference%20Papers.%20Those%20papers%20could%20be%20a%20very%20good%C2%A0reference%C2%A0for%20everyone%20who%20is%20working%20with%20RTAI%2C%20as%20well%20as%20people%20doesn%27t%20play%20with%20RTAI%20before%20to%20have%20more%20motivation.%0D%0A%0D%0A1.%C2%A0PC&amp;submitCategory=science&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=RTAI+Conference+Papers+-+http://tinyurl.com/yd97nzw&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<img src="http://www.ngohaibac.com/?ak_action=api_record_view&id=469&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.ngohaibac.com/real-time-application-interface-rtai-3-7-1-available/' rel='bookmark' title='Permanent Link: Real-Time Application Interface: RTAI 3.7.1 available'>Real-Time Application Interface: RTAI 3.7.1 available</a></li>
<li><a href='http://www.ngohaibac.com/introduce-to-realtime-application-interface-for-linux/' rel='bookmark' title='Permanent Link: Introduce to RealTime Application Interface for Linux'>Introduce to RealTime Application Interface for Linux</a></li>
<li><a href='http://www.ngohaibac.com/how-to-install-rtai-comedi-in-ubuntu-8-10-ubuntu-9-04/' rel='bookmark' title='Permanent Link: How to install RTAI, ComediLib in Ubuntu 8.10, Ubuntu 9.04'>How to install RTAI, ComediLib in Ubuntu 8.10, Ubuntu 9.04</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ngohaibac.com/rtai-conference-papers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduce to RealTime Application Interface for Linux</title>
		<link>http://www.ngohaibac.com/introduce-to-realtime-application-interface-for-linux/</link>
		<comments>http://www.ngohaibac.com/introduce-to-realtime-application-interface-for-linux/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 15:21:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Real Time System]]></category>
		<category><![CDATA[realtime linux]]></category>
		<category><![CDATA[RTAI]]></category>

		<guid isPermaLink="false">http://www.ngohaibac.com/?p=408</guid>
		<description><![CDATA[Nowadays, people is looking for RealTime solutions for their products, since their tasks have to be done very accurately. One more reason is Linux OS usually to be integrated into embedded IC ( Arm, PowerPC, &#8230; ). In term of Realtime OS, there are several wellknown Real-Time OS: QNX, VxWorks, RTAI. VxWorks comes from WindRiver [...]<br /><div><img src="http://www.ngohaibac.com/wp-content/plugins/gd-star-rating/gfx.php?value=6.0" /></div><div>Rating: 6.0/<strong>10</strong> (1 vote cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://www.ngohaibac.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />


Related posts:<ol><li><a href='http://www.ngohaibac.com/real-time-application-interface-rtai-3-7-1-available/' rel='bookmark' title='Permanent Link: Real-Time Application Interface: RTAI 3.7.1 available'>Real-Time Application Interface: RTAI 3.7.1 available</a></li>
<li><a href='http://www.ngohaibac.com/introduce-qt-a-cross-platform-application-and-ui-framework/' rel='bookmark' title='Permanent Link: Introduce Qt &#8211; A cross-platform application and UI framework'>Introduce Qt &#8211; A cross-platform application and UI framework</a></li>
<li><a href='http://www.ngohaibac.com/rtai-conference-papers/' rel='bookmark' title='Permanent Link: RTAI Conference Papers'>RTAI Conference Papers</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><!-- google_ad_section_start --><p>Nowadays, people is looking for RealTime solutions for their products, since their tasks have to be done very accurately. One more reason is Linux OS usually to be integrated into embedded IC ( Arm, PowerPC, &#8230; ). In term of Realtime OS, there are several wellknown Real-Time OS: <a href="http://www.qnx.com/" target="_blank">QNX</a>, <a href="http://www.windriver.com/">VxWorks</a>, RTAI.</p>
<p>VxWorks comes from <a href="http://www.windriver.com/">WindRiver</a> company, is the most expensive and well supported Real-Time commercial product. It has been used for many years in many famous labratory to do some real-time needed experiments like human interactions, &#8230; It costs around 4000$ per license. In additions, WindRiver has a university program which can donate to your university for several licenses for 3 years,<a href="http://www.windriver.com/universities/"> read more</a>.<br />
<br />
<span id="more-408"></span><br />
I am not familiar with QNX so just have a look at <a href="http://en.wikipedia.org/wiki/QNX">Wikipedia</a>:</p>
<blockquote><p>As a microkernel-based OS, QNX is based on the idea of running most of the OS in the form of a number of small tasks, known as<em>servers</em>. This differs from the more traditional monolithic kernel, in which the operating system is a single very large program composed of a huge number of &#8220;parts&#8221; with special abilities. In the case of QNX, the use of a microkernel allows users (developers) to turn off any functionality they do not require without having to change the OS itself; instead, those servers are simply not run.</p>
<p>The system is quite small, with earlier versions fitting on a single floppy disk.</p>
<p>QNX Neutrino (2001) has been ported to a number of platforms and now runs on practically any modern CPU that is used in the embedded market. This includes the PowerPC, x86 family, MIPS, SH-4 and the closely related family of ARM, StrongARM and XScale CPUs.</p></blockquote>
<p>Those two QNX and VxWorks for commercial purposes and short-time development products, but, by contrast RTAI is the best choice for one who doesn&#8217;t want to spend big money, since it supports a lot of platforms. RTAI stands for <strong>RealTime Application Interface for Linux</strong>, which lets you write applications and runs it in real time (strict timing constraints) for your Linux distributions. In fact, RTAI is not a RealTime OS, it is just a patch for your Linux distributions since Linux OS itself doesn&#8217;t have realtime feature. Like Linux OS, RTAI is totally free and having a big community which can support you during developing your system.The famous and wellknown distributor is Roberto.</p>
<p>RTAI Homepage: <a href="https://www.rtai.org/">https://www.rtai.org/</a></p>
<p>At this moment, RTAI supports following architectures:</p>
<ul type="disc">
<li>x86 (with and without FPU and TSC)</li>
<li>x86_64</li>
<li>PowerPC</li>
<li>ARM (StrongARM; ARM7: clps711x-family, Cirrus Logic EP7xxx,  CS89712, PXA25x)</li>
<li>m68k (supporting both MMU and NOMMU cpus)</li>
</ul>
<p>The latest version is <a href="https://www.rtai.org/RTAI/rtai-3.8.tar.bz2">RTAI 3.8</a> which was released in 02/16/2010.</p>
<h3>How to get started ?</h3>
<p>I am sure that you will get a lot of issues during playing with RTAI, so you can get supports from serveral sources:</p>
<ul>
<li>RTAI website: https://www.rtai.org/</li>
<li><a href="https://www.rtai.org/RTAILAB/RTAI-KubuntuJaunty-ScicosLab-Qrtailab.txt" target="_blank">Install RTAI &amp; Comedi &amp; ScicosLab &amp; QRtaiLab on Kubuntu Jaunty</a></li>
<li>RTAI mailing list: <a href="https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai">https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai</a></li>
</ul>
<p>Note: You need to add RTAI certification in your web browser to view RTAI contents, otherwise you can&#8217;t access it.</p>
<p>Some useful articles out there:</p>
<ul>
<li><a href="http://m.linuxjournal.com/article/3838" target="_blank">RTAI: Real-Time Application Interface | Linux Journal</a></li>
<li><a href="http://ieeexplore.ieee.org/iel5/4724286/4724287/04724387.pdf?arnumber=4724387" target="_blank">Real-Time Enhancements for Embedded Linux</a></li>
</ul>

<br /><div><img src="http://www.ngohaibac.com/wp-content/plugins/gd-star-rating/gfx.php?value=6.0" /></div><div>Rating: 6.0/<strong>10</strong> (1 vote cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://www.ngohaibac.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br /><!-- google_ad_section_end -->

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.ngohaibac.com/introduce-to-realtime-application-interface-for-linux/&amp;title=Introduce+to+RealTime+Application+Interface+for+Linux" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=Introduce+to+RealTime+Application+Interface+for+Linux&amp;body=Link: http://www.ngohaibac.com/introduce-to-realtime-application-interface-for-linux/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Nowadays%2C%20people%20is%20looking%20for%20RealTime%20solutions%20for%20their%20products%2C%20since%20their%20tasks%20have%20to%20be%20done%20very%20accurately.%20One%20more%20reason%20is%20Linux%20OS%20usually%20to%20be%20integrated%20into%20embedded%20IC%20%28%20Arm%2C%20PowerPC%2C%20...%20%29.%20In%20term%20of%20Realtime%20OS%2C%20there%20are%20several%20wellknown%20Real-Time%20OS%3A%20QNX%2C%20VxWorks%2C%20RTAI." rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.ngohaibac.com/introduce-to-realtime-application-interface-for-linux/&amp;t=Introduce+to+RealTime+Application+Interface+for+Linux" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.ngohaibac.com/introduce-to-realtime-application-interface-for-linux/&amp;submitHeadline=Introduce+to+RealTime+Application+Interface+for+Linux&amp;submitSummary=Nowadays%2C%20people%20is%20looking%20for%20RealTime%20solutions%20for%20their%20products%2C%20since%20their%20tasks%20have%20to%20be%20done%20very%20accurately.%20One%20more%20reason%20is%20Linux%20OS%20usually%20to%20be%20integrated%20into%20embedded%20IC%20%28%20Arm%2C%20PowerPC%2C%20...%20%29.%20In%20term%20of%20Realtime%20OS%2C%20there%20are%20several%20wellknown%20Real-Time%20OS%3A%20QNX%2C%20VxWorks%2C%20RTAI.&amp;submitCategory=science&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Introduce+to+RealTime+Application+Interface+for+Linux+-+http://tinyurl.com/yb5nuh4&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<img src="http://www.ngohaibac.com/?ak_action=api_record_view&id=408&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.ngohaibac.com/real-time-application-interface-rtai-3-7-1-available/' rel='bookmark' title='Permanent Link: Real-Time Application Interface: RTAI 3.7.1 available'>Real-Time Application Interface: RTAI 3.7.1 available</a></li>
<li><a href='http://www.ngohaibac.com/introduce-qt-a-cross-platform-application-and-ui-framework/' rel='bookmark' title='Permanent Link: Introduce Qt &#8211; A cross-platform application and UI framework'>Introduce Qt &#8211; A cross-platform application and UI framework</a></li>
<li><a href='http://www.ngohaibac.com/rtai-conference-papers/' rel='bookmark' title='Permanent Link: RTAI Conference Papers'>RTAI Conference Papers</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ngohaibac.com/introduce-to-realtime-application-interface-for-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Real-Time Application Interface: RTAI 3.7.1 available</title>
		<link>http://www.ngohaibac.com/real-time-application-interface-rtai-3-7-1-available/</link>
		<comments>http://www.ngohaibac.com/real-time-application-interface-rtai-3-7-1-available/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 15:44:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Real Time System]]></category>
		<category><![CDATA[realtime linux]]></category>
		<category><![CDATA[RTAI]]></category>

		<guid isPermaLink="false">http://www.ngohaibac.com/?p=264</guid>
		<description><![CDATA[Today, I get email from RTAI mailing list that they announce RTAI 3.7.1 to all users and developers which are using RTAI for their system. The RTAI 3.7.1 release is available at &#60;https://www.rtai.org/RTAI/rtai-3.7.1.tar.bz2&#62; It contains: - Substantial updates to RTAI-Lab (Roberto Bucher): - A better support to install different versions of Scilab: scilab-4.12, scicoslab-4.3 and [...]<br /><div><img src="http://www.ngohaibac.com/wp-content/plugins/gd-star-rating/gfx.php?value=0.0" /></div><div>Rating: 0.0/<strong>10</strong> (0 votes cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://www.ngohaibac.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />


Related posts:<ol><li><a href='http://www.ngohaibac.com/introduce-to-realtime-application-interface-for-linux/' rel='bookmark' title='Permanent Link: Introduce to RealTime Application Interface for Linux'>Introduce to RealTime Application Interface for Linux</a></li>
<li><a href='http://www.ngohaibac.com/how-to-install-rtai-comedi-in-ubuntu-8-10-ubuntu-9-04/' rel='bookmark' title='Permanent Link: How to install RTAI, ComediLib in Ubuntu 8.10, Ubuntu 9.04'>How to install RTAI, ComediLib in Ubuntu 8.10, Ubuntu 9.04</a></li>
<li><a href='http://www.ngohaibac.com/rtai-conference-papers/' rel='bookmark' title='Permanent Link: RTAI Conference Papers'>RTAI Conference Papers</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><!-- google_ad_section_start --><p><a href="http://www.bu.edu/ndl/rtldc/doc/images/rtai-conf2.png" rel="shadowbox[post-264];player=img;"><img class="alignright" title="rtai-conf2.png" src="http://www.bu.edu/ndl/rtldc/doc/images/rtai-conf2.png" alt="" width="199" height="143" /></a>Today, I get email from RTAI mailing list that they announce RTAI 3.7.1 to all users and developers which are using RTAI for their system.</p>
<p>The RTAI 3.7.1 release is available at  <a href="https://www.rtai.org/RTAI/rtai-3.7.1.tar.bz2">&lt;https://www.rtai.org/RTAI/rtai-3.7.1.tar.bz2&gt;</a></p>
<p>It contains:</p>
<p>- Substantial updates to RTAI-Lab (Roberto Bucher):<br />
- A better support to install different versions of Scilab: scilab-4.12, scicoslab-4.3 and scilab-5.1.1<br />
- Addition of new icons to scicoslab pal-trer<br />
- Scilab/Scicos Log added (thanks to Holger Nahrstaedt)<br />
- Support of multiple COMEDI counters and encoders in Scilab/Scicos (thanks to Guillaume Millet)<br />
- Added support for COMEDI comedi_get_subdevice_flags (Guillaume Millet)<br />
- x86 and Powerpc upgrade to Linux-2.6.29<br />
- Various reworks of async Linux servers, including support of mpxed socket calls<br />
- Few fixes of build glitches<br />
- More consistent behavior for self changed priorities (Matthias Richly)</p>
<p>Not in this release but to be noticed are the new Linux Board Support Package supports for RTAI-3.6.2/mcf54455 and RTAI-3.7/mcf5329 available at RTAI home site, contributed by Freescale Semiconductor (Valentin  Pavlyuchenko).</p>
<p>In my option, RTAI nowadays they releases new version very often. It can support newer kernel version which in the newer Linux distros.</p>
<p>Get fun!</p>
<br /><div><img src="http://www.ngohaibac.com/wp-content/plugins/gd-star-rating/gfx.php?value=0.0" /></div><div>Rating: 0.0/<strong>10</strong> (0 votes cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://www.ngohaibac.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br /><!-- google_ad_section_end -->

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.ngohaibac.com/real-time-application-interface-rtai-3-7-1-available/&amp;title=Real-Time+Application+Interface%3A+RTAI+3.7.1+available" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=Real-Time+Application+Interface%3A+RTAI+3.7.1+available&amp;body=Link: http://www.ngohaibac.com/real-time-application-interface-rtai-3-7-1-available/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Today%2C%20I%20get%20email%20from%20RTAI%20mailing%20list%20that%20they%20announce%20RTAI%203.7.1%20to%20all%20users%20and%20developers%20which%20are%20using%20RTAI%20for%20their%20system.%0D%0A%0D%0AThe%20RTAI%203.7.1%20release%20is%20available%20at%20%20%26lt%3Bhttps%3A%2F%2Fwww.rtai.org%2FRTAI%2Frtai-3.7.1.tar.bz2%26gt%3B%0D%0A%0D%0AIt%20contains%3A%0D%0A%0D%0A-%20Substantial%20updates%20to%20RTAI-Lab%20%28Roberto%20Buc" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.ngohaibac.com/real-time-application-interface-rtai-3-7-1-available/&amp;t=Real-Time+Application+Interface%3A+RTAI+3.7.1+available" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.ngohaibac.com/real-time-application-interface-rtai-3-7-1-available/&amp;submitHeadline=Real-Time+Application+Interface%3A+RTAI+3.7.1+available&amp;submitSummary=Today%2C%20I%20get%20email%20from%20RTAI%20mailing%20list%20that%20they%20announce%20RTAI%203.7.1%20to%20all%20users%20and%20developers%20which%20are%20using%20RTAI%20for%20their%20system.%0D%0A%0D%0AThe%20RTAI%203.7.1%20release%20is%20available%20at%20%20%26lt%3Bhttps%3A%2F%2Fwww.rtai.org%2FRTAI%2Frtai-3.7.1.tar.bz2%26gt%3B%0D%0A%0D%0AIt%20contains%3A%0D%0A%0D%0A-%20Substantial%20updates%20to%20RTAI-Lab%20%28Roberto%20Buc&amp;submitCategory=science&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Real-Time+Application+Interface%3A+RTAI+3.7.1+available+-+http://tinyurl.com/l7a9nv&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<img src="http://www.ngohaibac.com/?ak_action=api_record_view&id=264&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.ngohaibac.com/introduce-to-realtime-application-interface-for-linux/' rel='bookmark' title='Permanent Link: Introduce to RealTime Application Interface for Linux'>Introduce to RealTime Application Interface for Linux</a></li>
<li><a href='http://www.ngohaibac.com/how-to-install-rtai-comedi-in-ubuntu-8-10-ubuntu-9-04/' rel='bookmark' title='Permanent Link: How to install RTAI, ComediLib in Ubuntu 8.10, Ubuntu 9.04'>How to install RTAI, ComediLib in Ubuntu 8.10, Ubuntu 9.04</a></li>
<li><a href='http://www.ngohaibac.com/rtai-conference-papers/' rel='bookmark' title='Permanent Link: RTAI Conference Papers'>RTAI Conference Papers</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ngohaibac.com/real-time-application-interface-rtai-3-7-1-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install RTAI, ComediLib in Ubuntu 8.10, Ubuntu 9.04</title>
		<link>http://www.ngohaibac.com/how-to-install-rtai-comedi-in-ubuntu-8-10-ubuntu-9-04/</link>
		<comments>http://www.ngohaibac.com/how-to-install-rtai-comedi-in-ubuntu-8-10-ubuntu-9-04/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 05:36:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Real Time System]]></category>
		<category><![CDATA[Comedi]]></category>
		<category><![CDATA[realtime linux]]></category>
		<category><![CDATA[RTAI]]></category>

		<guid isPermaLink="false">http://www.ngohaibac.com/?p=258</guid>
		<description><![CDATA[Last several months ago, I have done to install RTAI, ComediLib in Ubuntu 8.04. Actually, I have spent a lot of time to config Ubuntu system. It faces a lot of problems but finally it has finished. Now new RTAI package version 3.7 which supports Linux kernel 2.6.28 has been released with a lot of [...]<br /><div><img src="http://www.ngohaibac.com/wp-content/plugins/gd-star-rating/gfx.php?value=9.1" /></div><div>Rating: 9.1/<strong>10</strong> (8 votes cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://www.ngohaibac.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br />


Related posts:<ol><li><a href='http://www.ngohaibac.com/real-time-application-interface-rtai-3-7-1-available/' rel='bookmark' title='Permanent Link: Real-Time Application Interface: RTAI 3.7.1 available'>Real-Time Application Interface: RTAI 3.7.1 available</a></li>
<li><a href='http://www.ngohaibac.com/rtai-conference-papers/' rel='bookmark' title='Permanent Link: RTAI Conference Papers'>RTAI Conference Papers</a></li>
<li><a href='http://www.ngohaibac.com/introduce-to-realtime-application-interface-for-linux/' rel='bookmark' title='Permanent Link: Introduce to RealTime Application Interface for Linux'>Introduce to RealTime Application Interface for Linux</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><!-- google_ad_section_start --><p>Last several months ago, I have done to install RTAI, ComediLib in Ubuntu 8.04. Actually, I have spent a lot of time to config Ubuntu system. It faces a lot of problems but finally it has finished.</p>
<p>Now new RTAI package version 3.7 which supports Linux kernel 2.6.28 has been released with a lot of features:</p>
<ul>
<li>support for m68knommu (NEW) (Valentin Pavlyuchenko)</li>
<li>upgraded ARM (Torsten Koschorrek)</li>
<li>lots of RTAI-Lab upgrades (Roberto Bucher; note that RTAI now integrates to Scilab 5.1</li>
<li>multi port serial driver with shared interrupts (Renato Castello)</li>
<li>rt_poll on mbx and sems</li>
<li>SMP locks as for Linux ticket way</li>
<li>RTDM support upgrade</li>
<li> improved watch dog</li>
<li>revised COMEDI support, async services and insn list work now</li>
<li>revised Linux sync-async servers</li>
<li>Linux support up to 2.6.28</li>
<li>netrpc 32/64 bits inter operation</li>
<li>shortened locking and timer replay in scheduler</li>
<li> upgraded TLSF mem allocator</li>
<li>rtai-py (python support)</li>
<li>more so called &#8220;minor fixes&#8221;</li>
</ul>
<p>Now I base on <a href="http://qrtailab.sourceforge.net/rtai_installation.html" target="_blank">this tutorials from QRtaiLab</a>, I hope it is better tutorial for Ubuntu 8.04 and Ubuntu 9.10. QRtaiLab is a QT based application, it is better than XRtaiLab. You can see the <a href="http://qrtailab.sourceforge.net/performance.html" target="_blank">comparision here</a>.</p>
<h3>Packages:</h3>
<p><strong>UBUNTU 8.10 (works also on 9.04)</strong></p>
<ul>
<li>general:<br />
sudo apt-get install cvs  subversion build-essential</li>
<li>kernel:<br />
sudo apt-get install kernel-package linux-source libncurses5-dev</li>
<li>rtai:<br />
sudo apt-get install libtool automake</li>
<li>comedi-lib:<br />
sudo apt-get install bison flex</li>
<li>comedi-calibrate:<br />
sudo apt-get install libboost-dev libboost-program-options-dev libgsl0-dev</li>
<li>scilab 4.1.2:<br />
sudo apt-get install gfortran sablotron tcl8.5-dev tk8.5-dev xaw3dg-dev libpvm3 pvm-dev libgtkhtml2-dev libzvt-dev libvte-dev</li>
<li>qrtailab:<br />
sudo apt-get install libqt4-dev libqwt5-qt4-dev</li>
</ul>
<h3>Sources</h3>
<p><strong>LINUX (kernel.org)</strong></p>
<blockquote><p>cd /usr/src<br />
sudo wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.7.tar.bz2<br />
sudo tar xjvf linux-2.6.28.7.tar.bz2<br />
sudo ln -s linux-2.6.28.7 linux</p></blockquote>
<p><strong>RTAI (https://www.rtai.org) (cvs-Version)</strong></p>
<blockquote><p>cd /opt<br />
sudo cvs -d:pserver:anonymous@cvs.gna.org:/cvs/rtai co magma<br />
sudo ln -s magma rtai</p></blockquote>
<p><strong>RTAI (https://www.rtai.org) (tar.gz-Version)</strong></p>
<p>You have to use a Version of 3.7 or newer, because older version are not compatible with gcc 4.3.3!</p>
<blockquote><p>cd /opt<br />
sudo wget &#8211;no-check-certificate https://www.rtai.org/RTAI/rtai-3.7.tar.bz2<br />
sudo tar xjvf rtai-3.7.tar.bz2<br />
sudo ln -s rtai-3.7 rtai</p></blockquote>
<p><strong>COMEDI (www.comedi.org)</strong></p>
<blockquote><p>cd /opt<br />
sudo cvs -d :pserver:anonymous@cvs.comedi.org:/cvs/comedi login<br />
sudo cvs -d :pserver:anonymous@cvs.comedi.org:/cvs/comedi co comedi<br />
sudo cvs -d :pserver:anonymous@cvs.comedi.org:/cvs/comedi co comedilib<br />
sudo cvs -d :pserver:anonymous@cvs.comedi.org:/cvs/comedi co comedi_calibrate<br />
sudo cvs -d :pserver:anonymous@cvs.comedi.org:/cvs/comedi co comedi-nonfree-firmware</p></blockquote>
<p><strong>Scilab 4.1.2 (www.scilab.org)</strong></p>
<blockquote><p><!-- wget	http://cermics.enpc.fr/~jpc/scilab-gtk-tiddly/files/scicoslab-gtk_4.3-3_i386.ibex.deb --> cd /opt<br />
sudo wget http://www.scilab.org/download/4.1.2/scilab-4.1.2-src.tar.gz<br />
sudo wget http://www.scilab.org/download/4.1.2/man-eng-scilab-4.1.2.zip</p></blockquote>
<p><strong>QRTAILab (www.qrtailab.sf.net) (svn &#8211; version)</strong></p>
<blockquote><p>cd /opt<br />
sudo svn co https://qrtailab.svn.sourceforge.net/svnroot/qrtailab/trunk qrtailab</p></blockquote>
<p><strong>QRTAILab (www.qrtailab.sf.net) (tar.gz &#8211; version)</strong></p>
<blockquote><p>cd /opt<br />
sudo wget http://downloads.sourceforge.net/qrtailab/QRtaiLab-0.1.6.tar.gz<br />
sudo tar xvzf QRtaiLab-0.1.6.tar.gz</p></blockquote>
<h3>Installation</h3>
<p><strong>Kernel</strong></p>
<p><strong>PATCH Linux Kernel</strong></p>
<blockquote><p>cd /usr/src/linux<br />
sudo su<br />
patch -p1 &lt; /opt/rtai/base/arch/x86/patches/hal-linux-2.6.28.7-x86-2.2.06.patch</p></blockquote>
<p><strong>Configure Kernel</strong></p>
<p>At first you should find out your architecture:</p>
<blockquote><p>dpkg &#8211;print-architecture</p></blockquote>
<p><strong>for i386:</strong></p>
<p>A sample <a href="http://hart.sourceforge.net/files/config-2.6.28-rtai_i386">config-file</a> for i386 is available from here</p>
<blockquote><p>cd /usr/src/linux<br />
sudo wget http://hart.sourceforge.net/files/config-2.6.28-rtai_i386<br />
sudo cp config-2.6.28-rtai_i386 .config</p></blockquote>
<p><strong>for amd64:</strong></p>
<p><!--A sample <a href="http://hart.sourceforge.net/files/config-2.6.28-rtai_i386" mce_href="http://hart.sourceforge.net/files/config-2.6.28-rtai_i386">config-file</a> for i386 is available from here &#8211;>Sorry, there is no sample config file</p>
<p><!--</p>
<blockquote><p><font></p>
<ul>
<li>cd /usr/src/linux</li>
<li>sudo wget http://hart.sourceforge.net/files/config-2.6.28-rtai_i386</li>
<li>sudo cp config-2.6.28-rtai_i386 .config</li>
</ul>
<p></font></p></blockquote>
<p>&#8211;></p>
<p><strong>Configure the kernel!</strong></p>
<blockquote><p>cd /usr/src/linux<br />
sudo make menuconfig</p></blockquote>
<p>run lspci on a separate console window, refer to it to select the appropriate option on the kernel configuration, mostly related to manufacturer (e.g.: SATA Controller from Intel or VIA)<br />
Check and change if needed the following points:</p>
<ul>
<li>Inside Processor type and features:
<ul>
<li>Symmetric multi-processing support (multiprocessor)</li>
<li>Processor family</li>
</ul>
</li>
<li>Inside Device Drivers:
<ul>
<li>Network device support -&gt; Ethernet (XXXX Mbit)</li>
<li>Network device support -&gt; Wlan</li>
<li>Graphics support -&gt; /dev/agpgart (AGP Support)</li>
<li>Sound card support -&gt; Advanced Linux Sound Architecture -&gt; PCI sound devices</li>
</ul>
</li>
</ul>
<p><strong>Compile Kernel</strong></p>
<blockquote><p>cd /usr/src/linux<br />
sudo make-kpkg clean<br />
sudo make-kpkg &#8211;initrd kernel_image kernel_headers kernel_source</p></blockquote>
<p><strong>Install Kernel (i386)</strong></p>
<blockquote><p>cd /usr/src<br />
sudo dpkg -i linux-headers-2.6.28.7-rtai_2.6.28.7-rtai-10.00.Custom_i386.deb<br />
sudo dpkg -i linux-image-2.6.28.7-rtai_2.6.28.7-rtai-10.00.Custom_i386.deb</p></blockquote>
<p><strong>Install Kernel (amd64)</strong></p>
<blockquote><p>cd /usr/src<br />
sudo dpkg -i linux-headers-2.6.28.7-rtai_2.6.28.7-rtai-10.00.Custom_amd64.deb<br />
sudo dpkg -i linux-image-2.6.28.7-rtai_2.6.28.7-rtai-10.00.Custom_amd64.deb</p></blockquote>
<p>Reboot in the new compiled RTAI-Kernel.</p>
<blockquote><p>sudo reboot</p></blockquote>
<p><strong>RTAI #1</strong></p>
<blockquote><p>cd /opt/rtai<br />
sudo make menuconfig</p></blockquote>
<p>Ensure directories are correct:</p>
<ul>
<li>Installation: /usr/realtime</li>
<li>Kernel source: /usr/src/linux</li>
<li>Under Machine, choose number of CPUs (check running cat /proc/cpuinfo and verifying how many processors are listed)</li>
<li>(Note: with kernel 2.26.3 it was also required to unselect “In-Kernel C++ Support” under “Add-Ons”)</li>
</ul>
<blockquote><p>sudo make<br />
sudo make install<br />
sudo sed -i &#8216;s/\(PATH=\&#8221;\)/\1\/usr\/realtime\/bin:/&#8217; /etc/environment</p></blockquote>
<p>now run &#8216;export PATH=/usr/realtime/bin:$PATH&#8217; for each open shell or do logout and login</p>
<p><strong>COMEDI</strong></p>
<blockquote><p>cd /opt/comedi<br />
sudo sh autogen.sh<br />
sudo ./configure &#8211;with-linuxdir=/usr/src/linux &#8211;with-rtaidir=/usr/realtime<br />
sudo make<br />
sudo make install<br />
sudo make dev</p></blockquote>
<p>Necassary for pcmcia-daq-cards:</p>
<blockquote><p>sudo su<br />
echo &#8216;options comedi comedi_num_legacy_minors=4&#8242; &gt; /etc/modprobe.d/comedi<br />
exit</p></blockquote>
<p><strong>COMEDILIB</strong></p>
<blockquote><p>cd /opt/comedilib<br />
sudo sh autogen.sh<br />
sudo ./configure<br />
sudo make<br />
sudo make install<br />
sudo mkdir /usr/local/include/linux</p></blockquote>
<p><strong>COMEDI-CALIBRATE</strong></p>
<blockquote><p>cd /opt/comedi_calibrate<br />
sudo autoreconf -i -B m4<br />
sudo ./configure<br />
sudo make<br />
sudo make install</p></blockquote>
<h3>RTAI #2</h3>
<blockquote><p>sudo cp /opt/comedi/include/linux/comedi.h /usr/local/include/<br />
sudo cp /opt/comedi/include/linux/comedilib.h /usr/local/include/<br />
sudo ln -s /usr/local/include/comedi.h /usr/local/include/linux/comedi.h<br />
sudo ln -s /usr/local/include/comedilib.h /usr/local/include/linux/comedilib.h<br />
cd /opt/rtai<br />
sudo make menuconfig</p></blockquote>
<p>Under “Add-Ons”, select “Real Time COMEDI support in user space”</p>
<blockquote><p>sudo ./configure<br />
sudo make<br />
sudo make install</p></blockquote>
<h3>SCILAB 4.1.2</h3>
<pre><!--dpkg -i scicoslab-gtk_4.3-3_i386.ibex.deb --> cd  /opt
sudo tar xvzf scilab-4.1.2-src.tar.gz
sudo unzip man-eng-scilab-4.1.2.zip
sudo mv man-eng-scilab-4.1.2 scilab-4.1.2/man/eng/
cd scilab-4.1.2
sudo ./configure --with-gfortran --with-tk  --with-gtk2
sudo make all
sudo ln -s /opt/scilab-4.1.2/bin/scilab /usr/local/bin/scilab</pre>
<h3>QRTAILAB</h3>
<p>If you use a tar.gz-version please replace qrtailab with qrtailab-x.x.x (x.x.x is the number of your installed version )</p>
<pre>cd /opt/qrtailab</pre>
<p>Edit qrtailab.config and replace &#8216;/usr/include/qwt/&#8217; with &#8216;/usr/include/qwt-qt4/&#8217; and &#8216;-lqwt&#8217; with &#8216;-lqwt-qt4&#8242;. Here is my qrtailab.config content:</p>
<pre>##############################################
# library path
##############################################
DEPENDPATH += . /usr/local/qwt-5.2.0-svn/lib
INCLUDEPATH += . /usr/realtime/include /usr/include/qwt-qt4/
LIBS +=  -lqwt-qt4
#CONFIG += debug
#############
# do same tests
############

#CONFIG += QRLtests</pre>
<p>Now we are going to compile QRtaiLab:</p>
<pre>sudo qmake-qt4
sudo make
sudo make install</pre>
<p>It is demo running RTAI, QRtaiLab on Ubuntu 8.04 I did before:</p>
<p><a href="http://www.ngohaibac.com/how-to-install-rtai-comedi-in-ubuntu-8-10-ubuntu-9-04/"><em>Click here to view the embedded video.</em></a></p>
<br /><div><img src="http://www.ngohaibac.com/wp-content/plugins/gd-star-rating/gfx.php?value=9.1" /></div><div>Rating: 9.1/<strong>10</strong> (8 votes cast)</div><br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://www.ngohaibac.com/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br /><!-- google_ad_section_end -->

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.ngohaibac.com/how-to-install-rtai-comedi-in-ubuntu-8-10-ubuntu-9-04/&amp;title=How+to+install+RTAI%2C+ComediLib+in+Ubuntu+8.10%2C+Ubuntu+9.04" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=How+to+install+RTAI%2C+ComediLib+in+Ubuntu+8.10%2C+Ubuntu+9.04&amp;body=Link: http://www.ngohaibac.com/how-to-install-rtai-comedi-in-ubuntu-8-10-ubuntu-9-04/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Last%20several%20months%20ago%2C%20I%20have%20done%20to%20install%20RTAI%2C%20ComediLib%20in%20Ubuntu%208.04.%20Actually%2C%20I%20have%20spent%20a%20lot%20of%20time%20to%20config%20Ubuntu%20system.%20It%20faces%20a%20lot%20of%20problems%20but%20finally%20it%20has%20finished.%0D%0A%0D%0ANow%20new%20RTAI%20package%20version%203.7%20which%20supports%20Linux%20kernel%202.6.28%20has%20been%20released%20with%20a%20lot%20of" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.ngohaibac.com/how-to-install-rtai-comedi-in-ubuntu-8-10-ubuntu-9-04/&amp;t=How+to+install+RTAI%2C+ComediLib+in+Ubuntu+8.10%2C+Ubuntu+9.04" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.ngohaibac.com/how-to-install-rtai-comedi-in-ubuntu-8-10-ubuntu-9-04/&amp;submitHeadline=How+to+install+RTAI%2C+ComediLib+in+Ubuntu+8.10%2C+Ubuntu+9.04&amp;submitSummary=Last%20several%20months%20ago%2C%20I%20have%20done%20to%20install%20RTAI%2C%20ComediLib%20in%20Ubuntu%208.04.%20Actually%2C%20I%20have%20spent%20a%20lot%20of%20time%20to%20config%20Ubuntu%20system.%20It%20faces%20a%20lot%20of%20problems%20but%20finally%20it%20has%20finished.%0D%0A%0D%0ANow%20new%20RTAI%20package%20version%203.7%20which%20supports%20Linux%20kernel%202.6.28%20has%20been%20released%20with%20a%20lot%20of&amp;submitCategory=science&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=How+to+install+RTAI%2C+ComediLib+in+Ubuntu+8.10%2C+Ubuntu+9.04+-+http://tinyurl.com/kjl8fv&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<img src="http://www.ngohaibac.com/?ak_action=api_record_view&id=258&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.ngohaibac.com/real-time-application-interface-rtai-3-7-1-available/' rel='bookmark' title='Permanent Link: Real-Time Application Interface: RTAI 3.7.1 available'>Real-Time Application Interface: RTAI 3.7.1 available</a></li>
<li><a href='http://www.ngohaibac.com/rtai-conference-papers/' rel='bookmark' title='Permanent Link: RTAI Conference Papers'>RTAI Conference Papers</a></li>
<li><a href='http://www.ngohaibac.com/introduce-to-realtime-application-interface-for-linux/' rel='bookmark' title='Permanent Link: Introduce to RealTime Application Interface for Linux'>Introduce to RealTime Application Interface for Linux</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ngohaibac.com/how-to-install-rtai-comedi-in-ubuntu-8-10-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 76/217 queries in 0.529 seconds using disk
Content Delivery Network via cdn.ngohaibac.com

Served from: www.ngohaibac.com @ 2010-07-30 11:52:09 -->