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
|
<!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>Setting up the user_GUI.par File</TITLE>
<META NAME="description" CONTENT="Setting up the user_GUI.par File">
<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="node59.html">
<LINK REL="previous" HREF="node57.html">
<LINK REL="up" HREF="node56.html">
<LINK REL="next" HREF="node59.html">
</HEAD>
<BODY bgcolor="white">
<!--Navigation Panel-->
<A NAME="tex2html755"
HREF="node59.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/share/latex2html/icons/next.png"></A>
<A NAME="tex2html753"
HREF="node56.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/share/latex2html/icons/up.png"></A>
<A NAME="tex2html747"
HREF="node57.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="tex2html756"
HREF="node59.html">Developing the user_controller.c File</A>
<B> Up:</B> <A NAME="tex2html754"
HREF="node56.html">RTiC-Lab Application Example: an</A>
<B> Previous:</B> <A NAME="tex2html748"
HREF="node57.html">Problem Description</A>
<BR>
<BR>
<!--End of Navigation Panel-->
<H1><A NAME="SECTION00620000000000000000">
Setting up the <TT>user_GUI.par</TT> File</A>
</H1>
<P>
We begin be describing the graphical user interface itself. For this,
we develop a simple script file, the <TT>user_GUI.par</TT> file, as
shown in Figure <A HREF="node57.html#sample_script">6.1</A>.
<P>
Line 1 is used to denote that all tokens that follow should be placed
in column format. The ``n'' argument denotes that the tokens should
not all necessarily have the same height. Line 2 provides the title,
and is split up over two lines by the use of the `
<BR>
n' command. Lines
3 through 7 are used to define each of the spin buttons, where all of
them have a range of -5 to 5, have a starting value of 0, and have
unique identifiers of 0-4. Finally, line 8 terminates the column.
The end result will be Figure <A HREF="node57.html#IO_tester">6.2</A>.
<P>
Lines 10-12 are required, and define the total number of inputs,
outputs, and transferable data, respectively, to the user space that
will be used by this controller.
<P>
<BR><HR>
<ADDRESS>
Michael Barabanov
2001-06-19
</ADDRESS>
</BODY>
</HTML>
|