Changeset 10598

Show
Ignore:
Timestamp:
03/02/11 11:42:37 (2 years ago)
Author:
Snyder.Jason
Message:

changed version number in userguide.tex and updated wavecli output in wavecli.tex

Location:
documentation/ossie/user-guide-0.8.1
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • documentation/ossie/user-guide-0.8.1/UserGuide.tex

    r10577 r10598  
    2727errors per burst will be printed out on the screen while the waveform runs.} 
    2828 
    29 \newcommand{\ossieversion}{0.8.1} 
     29\newcommand{\ossieversion}{0.8.2} 
    3030 
    3131%@usepackage{html} 
  • documentation/ossie/user-guide-0.8.1/wavecli.tex

    r10577 r10598  
    1313wavecli.py is a command line utility with the same capabilities as Wavedash. It can be used to install, start, query, configure, stop, and uninstall waveforms. It can also be used to list available waveforms on the system or currently running instances of waveforms. Finally, it can be used in an interactive mode that works like c\_wavloader. 
    1414 
     15\subsection{Installation and Usage} 
     16\label{section:wavecli.py_installation_and_usage} 
     17wavecli.py is installed to /usr/local/lib/python2.6/dist-packages/wavedash/src by default when OSSIE is installed. It can be used from there or copied anywhere else in the filesystem. To run wavecli.py, invoke it from the command line using python like so: 
     18\begin{lstlisting}[] 
     19$ python wavecli.py <any flags> 
     20\end{lstlisting} 
     21 
    1522\subsection{Non-interactive mode} 
    1623\label{subsection:wavecli.py_non_interactive_mode} 
    1724To get a listing of available waveforms, use the --listSystemWaveforms flag: 
    1825\begin{lstlisting}[] 
    19 $ wavecli.py --listSystemWaveforms 
     26$ python wavecli.py --listSystemWaveforms 
    2027Lab5Example 
    2128pass_data_waveform 
     
    2835Once you know which waveform you wish to run, you need to install it. The --install flag takes the name of the waveform you wish to install and reports back the instance name of the running waveform if successful.  
    2936\begin{lstlisting}[] 
    30 $ wavecli.py --install ossie_demo 
     37$ python wavecli.py --install ossie_demo 
    3138Successfully installed ossie_demo_1 
    3239\end{lstlisting} 
    3340Once the waveform has been installed, it can be started using the --start flag and the name of the waveform instance. 
    3441\begin{lstlisting}[] 
    35 $ wavecli.py --start ossie_demo_1 
     42$ python wavecli.py --start ossie_demo_1 
    3643\end{lstlisting} 
    3744Now that the waveform is running, you can use wavecli.py to query or configure it. In this case, we will query the TxDemo component on the ossie\_demo waveform to find out how much of delay is being placed between sending packets. Then we will configure the waveform to send them faster. 
    3845\begin{lstlisting}[] 
    39 $ wavecli.py --query ossie_demo_1 TxDemo1 
    40 [ossie.cf.CF.DataType(id='DCE:1b9ca208-8242-11dc-9ba3-00123f63025f', 
    41  value=CORBA.Any(CORBA.TC_short, 500))] 
     46$ python wavecli.py --query ossie_demo_1 TxDemo1 
     47name:   packet_delay_ms 
     48id:     DCE:1b9ca208-8242-11dc-9ba3-00123f63025f 
     49type:   short 
     50value:  500 
     51 
    4252$ wavecli.py --configure ossie_demo_1 TxDemo1 packet_delay_ms 100 
    4353\end{lstlisting} 
    4454Finally, the waveform should be stopped and uninstalled. These work the same way as starting a waveform: use the --stop or --uninstall flag and supply an instance name. 
    4555\begin{lstlisting}[] 
    46 $ wavecli.py --stop ossie_demo_1 
    47 $ wavecli.py --uninstall ossie_demo_1 
     56$ python wavecli.py --stop ossie_demo_1 
     57$ python wavecli.py --uninstall ossie_demo_1 
    4858\end{lstlisting} 
    4959 
     
    5262Wavecli.py also has an interactive mode that can be used to install, start, stop, and uninstall waveforms just like c\_wavLoader. To start wavecli.py in interactive mode, use the -i or --interactive flag. 
    5363\begin{lstlisting}[] 
    54 $ wavecli.py --interactive 
     64$ python wavecli.py --interactive 
    5565Found 7 available applications 
    5666