Commit 6b98bb0d authored by Projects's avatar Projects

doc/gw-test-procedure: Tests for pulse counters

parent 97d44e56
......@@ -584,6 +584,43 @@ threshold. The following test should be performed on all TTL inputs.
\end{enumerate}
\end{enumerate}
%==============================================================================
\subsection{Pulse counters test}
\label{sec:proc-counters}
%==============================================================================
\begin{enumerate}
\item Switch the \textbf{TTL switch} (Figure~\ref{fig:switches}) to the \textbf{TTL} position.
\item Switch the \textbf{glitch filter switch} (Figure~\ref{fig:switches}) to the \textbf{GF DIS} position.
\item Switch the \textbf{pulse duration switch} (Figure~\ref{fig:switches}) to the \textbf{SHORT} position.
\item Set the generator to emit a pulse burst with a known number of pulses (if you use Agilent 33250A,
you may automate this step using the \textit{pulsegen} script, see Appendix~\ref{pulsegen})
\item \label{item:counter-proc} Repeat the following steps for \textbf{all six channels}, filling in the
\textbf{table in Appendix~\ref{app:counter-validation}}:
\begin{enumerate}
\item Connect the pulse generator to the \textbf{tested front panel input}
\item Reset the pulse counters by running the \textit{clrchrxpcr.py} script (\textit{software/diag/clrchrxpcr.py})
\item Trigger the generator to emit a pulse burst
\item Read the pulse counter values by running the rdchxpcr.py script (\textit{software/diag/rdchxpcr.py})
\item Verify that only the tested channel TTL counter value is equal to the number of pulses set on the generator while others are zero,
and if so \textbf{tick} the \textbf{TTL column for the channel} in the table in Appendix~\ref{app:counter-validation}
\item Connect the pulse generator to the \textbf{tested rear panel input}
\item Reset the pulse counters by running the \textit{clrchrxpcr.py} script (\textit{software/diag/clrchrxpcr.py})
\item Trigger the generator to emit a pulse burst
\item Read the pulse counter values by running the rdchxpcr.py script (\textit{software/diag/rdchxpcr.py})
\item Verify that only the tested channel Blo counter value is equal to the number of pulses set on the generator while others are zero,
and if so \textbf{tick} the \textbf{Blo column for the channel} in the table in Appendix~\ref{app:counter-validation}
\end{enumerate}
\item Turn off power to the ELMA crate
\item Change the \textbf{pulse duration switch} (Figure~\ref{fig:switches}) to the \textbf{LONG} position
\item Turn on power to the ELMA crate
\item Repeat the steps under step~\ref{item:ttl-proc}, filling in the table in
Appendix~\ref{app:pulse-validation-ttlbar-gf}
\item Turn off power to the ELMA crate
\item Change the \textbf{pulse duration switch} (Figure~\ref{fig:switches}) back to the \textbf{SHORT} position
\item Turn on power to the ELMA crate
\end{enumerate}
%==============================================================================
\subsection{Remote reprogramming test}
\label{sec:proc-multiboot}
......@@ -846,6 +883,47 @@ Instructions for filling in the table:
is as specified in step~\ref{item:ttlbar-meas-blo-out}
\end{itemize}
%==============================================================================
% APP: Pulse counters validation table, GF off
%==============================================================================
\pagebreak
\section{Pulse counters validation table}
\label{app:counter-validation}
\centerline{
\resizebox{.6\textwidth}{!}{
\begin{tabular}{|l|*{4}{c}|*{4}{c}|}
\hline
\textbf{Pulse} & \multicolumn{2}{c|}{\textbf{Long}} & \multicolumn{2}{c|}{\textbf{Short}} \\
\hline
\textbf{Output} & \textbf{TTL} & \textbf{Blo} & \textbf{TTL} & \textbf{Blo} \\
\hline
\textbf{CH1} & $\square$ & $\square$ & $\square$ & $\square $\\
\textbf{CH2} & $\square$ & $\square$ & $\square$ & $\square $\\
\textbf{CH3} & $\square$ & $\square$ & $\square$ & $\square $\\
\textbf{CH4} & $\square$ & $\square$ & $\square$ & $\square $\\
\textbf{CH5} & $\square$ & $\square$ & $\square$ & $\square $\\
\textbf{CH6} & $\square$ & $\square$ & $\square$ & $\square $\\
\hline
\end{tabular}
}
}
\vspace*{11pt}
Instructions for filling in the table:
\begin{itemize}
\item Make sure the glitch filter switch is set to \textbf{GF DIS}
\item Following the test procedure in Section~\ref{sec:proc-counters} (under step~\ref{item:counter-proc}),
tick each box if the number of counted pulses matches the number of pulses set on the generator
\item Perform the tests once when the pulse duration switch is set to \textbf{LONG} and once when the switch is set to \textbf{SHORT}
\item Start with inputting a signal from the pulse generator on the front panel,
then after validation, change the input to the rear panel
\item Tick the \textbf{TTL} boxes if the test is passed for \textbf{TTL} input
\item Tick the \textbf{Blo} boxes if the test is passed for \textbf{Blo} input
\end{itemize}
%==============================================================================
% APP: Pulse rejection validation
%==============================================================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment