| 1 | % ------------------------------------------------------------------ |
|---|
| 2 | % |
|---|
| 3 | % TITLE: Running OSSIE Waveforms |
|---|
| 4 | % AUTHORS: |
|---|
| 5 | % CREATED: |
|---|
| 6 | % REVISED: |
|---|
| 7 | % URL: http://ossie.wireless.vt.edu/ |
|---|
| 8 | % |
|---|
| 9 | % ------------------------------------------------------------------ |
|---|
| 10 | |
|---|
| 11 | \section{Running Waveforms} |
|---|
| 12 | \label{section:runningwaveforms} |
|---|
| 13 | |
|---|
| 14 | \subsection{Start the naming service} |
|---|
| 15 | If you installed omniORB using {\tt rpm} and |
|---|
| 16 | have since restarted your machine chances are the naming service is running. |
|---|
| 17 | If not, you will need to run {\tt omniNames.sh} (see |
|---|
| 18 | Appendix~\ref{appendix:omninamessh}). |
|---|
| 19 | |
|---|
| 20 | \subsection{Run nodeBooter} |
|---|
| 21 | Open a new terminal and execute the following |
|---|
| 22 | \begin{lstlisting}[] |
|---|
| 23 | $ cd /sdr |
|---|
| 24 | $ nodeBooter -D -d nodes/default_GPP_node/DeviceManager.dcd.xml |
|---|
| 25 | \end{lstlisting} |
|---|
| 26 | It is important that {\tt nodeBooter} be run from the {\tt /sdr} directory. |
|---|
| 27 | |
|---|
| 28 | \subsection{Load a waveform} |
|---|
| 29 | The 0.6.2 release supports two options for loading a waveform |
|---|
| 30 | \begin{enumerate} |
|---|
| 31 | \item Using the Python command-line {\tt wavLoader.py} script (discussed |
|---|
| 32 | below) |
|---|
| 33 | \item Using the Python graphical tool ALF (see Section~\ref{section:alf}) |
|---|
| 34 | \end{enumerate} |
|---|
| 35 | |
|---|
| 36 | Load the waveform using wavLoader. In a new terminal execute |
|---|
| 37 | \begin{lstlisting}[] |
|---|
| 38 | $ cd /sdr/waveforms/MyWaveform |
|---|
| 39 | $ wavLoader.py MyWaveform_DAS.xml |
|---|
| 40 | \end{lstlisting} |
|---|
| 41 | |
|---|
| 42 | One or more SAD files (ending in {\tt .sad.xml}) will be listed. To load the |
|---|
| 43 | waveform, enter the number that corresponds to {\tt MyWaveform.sad.xml}. If |
|---|
| 44 | this file is listed twice, choose the first listing ({\tt |
|---|
| 45 | //MyWaveform.sad.xml}). |
|---|
| 46 | |
|---|
| 47 | Finally, enter {\tt s} to start the waveform. |
|---|
| 48 | |
|---|
| 49 | |
|---|