Merge branch 'developer' into hdf5

This commit is contained in:
Dhanya Maliakal 2017-03-03 09:33:53 +01:00
commit bd7f3567f8

View File

@ -43,10 +43,11 @@ The receiver is a process run on a PC closely connected to the detector. Open on
\begin{itemize} \begin{itemize}
\item {\tt{./slsReceiver --rx\_tcpport xxxx}} \item {\tt{./slsReceiver --rx\_tcpport xxxx}}
\item {\tt{./slsReceiver --rx\_tcpport yyyy --mode 1}} \item {\tt{./slsReceiver --rx\_tcpport yyyy}}
\end{itemize} \end{itemize}
where xxxx, yyyy are the tcp port numbers. Use 1955 and 1956 for example. Note that {\tt{--mode 1}} is used only for the ``bottom'' half module. \\ Open as many receiver as half module boards. A single module has two half module boards. where xxxx, yyyy are the tcp port numbers. Use 1955 and 1956 for example. Note that in older version of the software {\tt{--mode 1}} was used only for the ``bottom'' half module. Now, the receiver for the bottom is open without arguments anymore, but still in the configuration file one needs to write {\tt{n:flippeddatax 1}}, where {\tt{n}} indicated the half module number, 1 if it is a module.
\\ Open as many receiver as half module boards. A single module has two half module boards.
\subsection{Mandatory setup - Client} \subsection{Mandatory setup - Client}
@ -124,7 +125,7 @@ To acquire simply type:
\begin{verbatim} \begin{verbatim}
sls_detector_acquire 0- sls_detector_acquire 0-
\end{verbatim} \end{verbatim}
Note taht acquiring is blocking.
You can poll the detector status using: You can poll the detector status using:
\begin{verbatim} \begin{verbatim}
sls_detector_get 0-status sls_detector_get 0-status
@ -135,6 +136,13 @@ The detector will not accept other commands while acquiring. If an acquisition w
sls_detector_put 0-status stop sls_detector_put 0-status stop
\end{verbatim} \end{verbatim}
this same command can be used after a non proper abortion of the acquisition to reset to normal status the detector. this same command can be used after a non proper abortion of the acquisition to reset to normal status the detector.
There is a more complex way of performing an acquisition, that is useful for debugging and in case one wants a non blocking behaviour:
\begin{itemize}
\item {\tt{sls\_detector\_put 0-receiver start}}
\item {\tt{sls\_detector\_put 0-status start}}
\item {\tt{sls\_detector\_put 0-receiver stop}}
\end{itemize}
\section{Readout timing- maximum frame rate}\label{timing} \section{Readout timing- maximum frame rate}\label{timing}
IMPORTANT: to have faster readout and smaller dead time, one can configure {\tt{clkdivider}}, i.e. the speed at which the data are read, i.e. 200/100/50~MHz for {\tt{clkdivider 0/1/2}} and the dead time between frames through {\tt{flags parallel}}, i.e. acquire and read at the same time or acquire and then read out. IMPORTANT: to have faster readout and smaller dead time, one can configure {\tt{clkdivider}}, i.e. the speed at which the data are read, i.e. 200/100/50~MHz for {\tt{clkdivider 0/1/2}} and the dead time between frames through {\tt{flags parallel}}, i.e. acquire and read at the same time or acquire and then read out.
@ -398,6 +406,13 @@ sleep 300; #or till the screen over netcat has told you Successuful
do the same for the other boards. You can program in parallel many boards, but you cannot load two bitfiles on the same board till loading and copying one process has finished. So load all left febs together, then proceed to the left febs, then the bebs. Power off completely everything. Power it on. do the same for the other boards. You can program in parallel many boards, but you cannot load two bitfiles on the same board till loading and copying one process has finished. So load all left febs together, then proceed to the left febs, then the bebs. Power off completely everything. Power it on.
\section{Checking the 1Gb/s, 10Gb/s physical links}
LEDs on the backpanel board at the back of each half module signal:
\begin{itemize}
\item the 1Gb/s physical link is signaled by the most external LED (should be green)
\item the 10Gb/s physical link is signaled by the second most external LED next to the 1Gb/s one (should be green)
\end{itemize}
\section{Setting up 10Gb correctly: experience so far} \section{Setting up 10Gb correctly: experience so far}
For configuring well the 10Gb card not to loose packets, as root, do: For configuring well the 10Gb card not to loose packets, as root, do:
@ -417,6 +432,14 @@ Very important is to activate the flow control in 10Gb (in 1Gb it is on by defau
\end{verbatim} \end{verbatim}
Set the transmission delays as explained in the manual. Set the transmission delays as explained in the manual.
\section{Running the (9M at cSAXS. For now}
\begin{itemize}
\item login as {\tt{x12saop@xbl-daq-27}}
\item {\tt{setup\_eiger}} #loads environmental variables and brings you to the right directory to execute commands
\item slsReceiverScript3 1991 36 # from one shell.. opens 36 receivers
\item p config ../../eiger_9m_10gb_xbl-daq-27_withbottom.config
\end{itemize}
\end{document} \end{document}