1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 2K.1beta (1.48)
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>RTiC-Lab for the Impatient</TITLE>
<META NAME="description" CONTENT="RTiC-Lab for the Impatient">
<META NAME="keywords" CONTENT="rtic">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v2K.1beta">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="rtic.css">
<LINK REL="next" HREF="node19.html">
<LINK REL="previous" HREF="node1.html">
<LINK REL="up" HREF="rtic.html">
<LINK REL="next" HREF="node11.html">
</HEAD>
<BODY bgcolor="white">
<!--Navigation Panel-->
<A NAME="tex2html219"
HREF="node11.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/share/latex2html/icons/next.png"></A>
<A NAME="tex2html217"
HREF="rtic.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/share/latex2html/icons/up.png"></A>
<A NAME="tex2html211"
HREF="node9.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/share/latex2html/icons/prev.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html220"
HREF="node11.html">Installing RTiC-Lab</A>
<B> Up:</B> <A NAME="tex2html218"
HREF="rtic.html">User's Manual for the</A>
<B> Previous:</B> <A NAME="tex2html212"
HREF="node9.html">RTiC-Lab Design</A>
<BR>
<BR>
<!--End of Navigation Panel-->
<H1><A NAME="SECTION00200000000000000000">
RTiC-Lab for the Impatient</A>
</H1>
<P>
Controller implementation in the Real Time Controls Laboratory
(RTiC-Lab) entails the creation of two distinct files in the ``<TT>user</TT>'' directory in the main source tree of the RTiC-Lab source
distribution. These are used to define two distinct parts of a
controller: the <I>embedded</I> part (the part that must meet hard
deadlines) and the <I>reactive</I> part (the part that interfaces to
the user via a graphical user interface) in accordance with the Real
Time Linux paradigm (
<A NAME="tex2html24"
HREF="http://www.rtlinux.org"><TT>www.rtlinux.org</TT></A>
). The files and their use are enumerated in what
follows:
<P>
<OL>
<LI><TT>user_controller.c</TT>: code written in this file is
run in the embedded real time controller. For example, a user
may write a PID controller to run in this file. Then, via the
use of some pre-specified tokens, the user can update and
retrieve information passed to and from the reactive systems.
<P>
</LI>
<LI><TT>user_GUI.par</TT>: this file is based on a simple
scripting language designed explicitly for RTiC-Lab. It allows
the users to easily design the graphical user interface which
will be used to pass parameters to the real time tasks. It
also allows the user to bypass some RTiC-Lab default values
and features<A NAME="tex2html23"
HREF="footnode.html#foot821"><SUP>2.1</SUP></A>.
</LI>
</OL>
<P>
Then, the entire RTiC-Lab source tree is recompiled with these files
within the source tree. Upon completion of the compilation, two files
will be generated:
<P>
<OL>
<LI><TT>rtic.o</TT>: this is the embedded part of the
controller. This must be inserted into kernel memory.
<P>
</LI>
<LI><TT>xrtic</TT>: this is the graphical user
interface. Through this interface, the user can update
parameters, start tasks, stop tasks, change run-time
frequency, sample data, store data to disk, and plot data.
</LI>
</OL>
<P>
Several other utilities will be created for the benefit of
the user:
<P>
<UL>
<LI>
<A NAME="tex2html25"
HREF="../man/rtlinux.1.html"><TT>rtlinux</TT></A>
: this is perhaps
the most useful utility. It is used to insert, remove, and check the
status in kernel space of all of the RTLinux modules as well as to the
user's <TT>rtic.o</TT> module. Please refer to the
<A NAME="tex2html26"
HREF="../GettingStarted/GettingStarted.html">Getting Started with
RTLinux</A>
document supplied with your <I>RTLinux 3.0 CD</I>CD.
<P>
</LI>
<LI><TT>relog</TT>: this script reinitializes the logging
capabilities of Linux. Most users will never have to use this script file.
<P>
</LI>
<LI><TT>mkrtf</TT>: this script file is used to create the real time
FIFOs. Assuming that Real Time Linux was installed correctly, users
will never have to use this particular script file.
</LI>
</UL>
<P>
In the following subsections, the information will be presented
necessary to get started using the RTiC-Lab software.
<P>
<BR><HR>
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
<UL>
<LI><A NAME="tex2html221"
HREF="node11.html">Installing RTiC-Lab</A>
<UL>
<LI><A NAME="tex2html222"
HREF="node12.html">Installing from CD</A>
<LI><A NAME="tex2html223"
HREF="node13.html">Installing from the Web</A>
</UL>
<BR>
<LI><A NAME="tex2html224"
HREF="node14.html">Initializing the Source Tree</A>
<LI><A NAME="tex2html225"
HREF="node15.html">Compiling</A>
<LI><A NAME="tex2html226"
HREF="node16.html">Inserting <TT>rtic.o</TT></A>
<LI><A NAME="tex2html227"
HREF="node17.html">Running <TT>xrtic</TT></A>
<LI><A NAME="tex2html228"
HREF="node18.html">Removing <TT>rtic.o</TT></A>
</UL>
<!--End of Table of Child-Links-->
<HR>
<!--Navigation Panel-->
<A NAME="tex2html219"
HREF="node11.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/share/latex2html/icons/next.png"></A>
<A NAME="tex2html217"
HREF="rtic.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/share/latex2html/icons/up.png"></A>
<A NAME="tex2html211"
HREF="node9.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/share/latex2html/icons/prev.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html220"
HREF="node11.html">Installing RTiC-Lab</A>
<B> Up:</B> <A NAME="tex2html218"
HREF="rtic.html">User's Manual for the</A>
<B> Previous:</B> <A NAME="tex2html212"
HREF="node9.html">RTiC-Lab Design</A>
<!--End of Navigation Panel-->
<ADDRESS>
Michael Barabanov
2001-06-19
</ADDRESS>
</BODY>
</HTML>
|