automate make process

This commit is contained in:
2019-02-13 11:03:11 +01:00
parent 5a05b7355e
commit f3c5fafe5f
6 changed files with 101 additions and 28 deletions

View File

@@ -699,13 +699,26 @@ The servo loop code is generated with: \verb|MXTuning.py mode 256|.\\
This python code reads \verb%/tmp/ssc[1|2].mat% and substitutes part of
\verb%usr_code/usrcode_template.[h|c]% to build the servo loop code \verb%usr_code/usrcode.[h|c]%.\\
Finally the real time servo code is compliled for the DeltaTau with:\\
Finally the real time servo code is compliled and installed on the DeltaTau with:\\
\verb|/epics_ioc_modules/ESB_MX/python/usr_code$ make|\\
\verb|/epics_ioc_modules/ESB_MX/python/usr_code$ make install|\\
Following lines in gpasciiCommander will activate the user servo loop code.
\vspace{1pc}
The \verb|make install| process consists of many sub parts:\\
%\begin{itemize}
%\setlength\itemsep{-1em}
%\item asfgd
%\item asfgd
%\item asfgd
%\end{itemize}
- generate observer date in MATLAB with \verb|StateSpaceControlDesign()|\\
- generate code in python with \verb|MXTuning.py|\\
- compile the code with \verb|MXTuning.py| (make all)\\
- upload the module to Deltatau (make install)\\
- activate the user servo loop (make install)\\
Here the full process:
\begin{tcolorbox}[width=15cm,colback=yellow!5!white,colframe=yellow!75!black,colbacktitle=yellow!50,coltitle=black,title=MATLAB]
@@ -734,6 +747,9 @@ scp userservo_util userphase_util usrServoSample/usralgo.ko root@SAR-CPPM-EXPMX1
\end{verbatim}
\end{tcolorbox}
\begin{tcolorbox}[colback=red!5!white,colframe=red!75!black,colbacktitle=red!50,coltitle=black,title=TODO]
Here is still work to do...
\end{tcolorbox}
\begin{tcolorbox}[width=15cm,colback=yellow!5!white,colframe=yellow!75!black,colbacktitle=yellow!50,coltitle=black,title=DeltaTau Shell]
\begin{verbatim}