% Created 2025-08-26 Tue 13:40
% Intended LaTeX compiler: pdflatex
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
\author{Bryan Moffit <moffit@jlab.org>}
\date{\today}
\title{Using the MOLLERADC with CODA}
\hypersetup{
 pdfauthor={Bryan Moffit <moffit@jlab.org>},
 pdftitle={Using the MOLLERADC with CODA},
 pdfkeywords={},
 pdfsubject={},
 pdfcreator={Emacs 29.4 (Org mode 9.7.21)}, 
 pdflang={English}}
\begin{document}

\maketitle
\tableofcontents

\section{Using the MOLLERADC with CODA}
\label{sec:orgb52ebf5}

This guide describes the installation, configuration, and readout of the MOLLERADC with CODA.
\subsection{Firmware and OS Installation}
\label{sec:org80d514d}

\subsection{Software Configuration}
\label{sec:org967815a}

\subsubsection{CODA EXPID}
\label{sec:org6a4d84c}
\begin{itemize}
\item the CODA environment variable \texttt{EXPID} is defined in
\begin{verbatim}
/home/coda/coda_setup.sh
\end{verbatim}
\end{itemize}
the \texttt{coda\_roc} will need to be restarted if it is changed
\subsubsection{CODA ROC name}
\label{sec:orgdae3d1c}
\begin{itemize}
\item by default, the name used for the MOLLERADC CODA ROC component is it's hostname.  For example,
\begin{verbatim}
hostname = damolleradc0.jlab.org
CODA ROC name = damolleradc0
\end{verbatim}
\end{itemize}
\subsubsection{RunType Configuration files}
\label{sec:org9536ce1}

\begin{enumerate}
\item Sample Mode
\label{sec:orgf7dcb7c}
\begin{verbatim}
/home/coda/cfg/molleradc-stream.cfg
\end{verbatim}
\item TI Triggered
\label{sec:orgc258f72}
\begin{verbatim}
/home/coda/cfg/molleradc.cfg
\end{verbatim}
\end{enumerate}
\subsubsection{Readout Lists}
\label{sec:org580c81f}

\begin{enumerate}
\item Sample Mode
\label{sec:org5282ec9}
\begin{verbatim}
/home/coda/rol/molleradc_stream_list.so
\end{verbatim}
\item TI Triggered
\label{sec:org8734534}
\begin{verbatim}
/home/coda/rol/molleradc_list.so
\end{verbatim}
\end{enumerate}
\subsubsection{Restart / Reboot}
\label{sec:org02c14e0}

\begin{enumerate}
\item \texttt{coda\_roc}
\label{sec:org4acd985}
\begin{itemize}
\item restart with systemd
\begin{verbatim}
sudo systemctl restart coda_roc
\end{verbatim}
\item restart with \texttt{killall} command
\begin{verbatim}
killall -9 coda_roc
\end{verbatim}
\item restart with \texttt{Control-X} in procServ terminal
\begin{itemize}
\item connect with
\begin{verbatim}
connectRoc.sh
\end{verbatim}
\end{itemize}
\end{itemize}
\item soft reboot
\label{sec:org7bae99d}
\begin{verbatim}
sudo reboot
\end{verbatim}
\item front panel TTL signal
\label{sec:org289439e}
\end{enumerate}
\subsection{Readout}
\label{sec:org81d9eda}
\section{MOLLERADC Software}
\label{sec:org0b387d5}

\subsection{Directory Structure}
\label{sec:orge1f7ec4}

\subsection{MOLLERADC Library}
\label{sec:org082e888}

\subsection{moller Service}
\label{sec:org1039fa2}

\subsection{CODA ROC}
\label{sec:org9e2fcdf}
\section{This Document}
\label{sec:org0449807}

\subsection{\href{https://coda.jlab.org/drupal/system/files/coda/HardwareManual/MOLLERADC/MOLLERADC\_CODA.org}{org-file}}
\label{sec:org43bdc5b}

\subsection{\href{https://coda.jlab.org/drupal/system/files/coda/HardwareManual/MOLLERADC/MOLLERADC\_CODA.pdf}{PDF}}
\label{sec:orga5a2024}
\end{document}
