From: Jan Michel Date: Tue, 22 Jan 2019 17:25:49 +0000 (+0100) Subject: first daq operator files X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=ccbe8e4946218dc75f6f7a8f640db10eea798bcc;p=daqdocu.git first daq operator files --- diff --git a/ebsetup.tex b/ebsetup.tex index fcd3a0b..5e6a152 100644 --- a/ebsetup.tex +++ b/ebsetup.tex @@ -1,65 +1,65 @@ -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\subsection{Event Builders} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\subsection{Port Numbers} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -The first EB on each server uses port numbers starting with 50000 (0xc350), the second process uses ports 50256 (0xc450) and above, while the third EB uses ports 50512 (0xc550) and above. Sender port and receiver port are always equal. The sender MAC is of the form 02:30:DE:AD:nn:nn where nn:nn is the same as the network address and the SubEventId of the corresponding sender. - -The source IP is in the 192.168.100.0/24 Subnet. The lowest byte starts with 128 and then has the same offsets as the port numbers of the first EB. - - -\begin{table} -\begin{center} -\begin{tabular}{|c|c|c|c|} -\hline -\textbf{System} & \textbf{SubEvtId} & \textbf{EB 0 -- 3} & \textbf{EB 0 -- 3} \\ -\hline -\hline -Strt/V/CTS & 0x8800 & 50000 & 0xc350\\ -RICH 1/2 & 0x8300 & 50003 & 0xc353\\ -RICH 3/4 & 0x8310 & 50004 & 0xc354\\ -RICH 5/6 & 0x8320 & 50005 & 0xc355\\ -RPC 1/2 & 0x8400 & 50006 & 0xc356\\ -RPC 3/4 & 0x8410 & 50007 & 0xc357\\ -RPC 5/6 & 0x8420 & 50008 & 0xc358\\ -TOF & 0x8600 & 50009 & 0xc359\\ -FW & 0x8700 & 50010 & 0xc35A\\ -StartTRB3 & 0x8880 & 50013 & 0xc35D\\ -VetoTRB3 & 0x8890 & 50015 & 0xc35F\\ -Pion1 & 0x8900 & 50012 & 0xc35C\\ -Pion2 & 0x8910 & 50014 & 0xc35E\\ -\hline -MDC1/2 1 & 0x1000 & 50016 & 0xc360\\ -MDC1/2 2 & 0x1010 & 50017 & 0xc361\\ -MDC1/2 3 & 0x1020 & 50018 & 0xc362\\ -MDC1/2 4 & 0x1030 & 50019 & 0xc363\\ -MDC1/2 5 & 0x1040 & 50020 & 0xc364\\ -MDC1/2 6 & 0x1050 & 50021 & 0xc365\\ -\hline -MDC3/4 1 & 0x1100 & 50022 & 0xc366\\ -MDC3/4 2 & 0x1110 & 50023 & 0xc367\\ -MDC3/4 3 & 0x1120 & 50024 & 0xc368\\ -MDC3/4 4 & 0x1130 & 50025 & 0xc369\\ -MDC3/4 5 & 0x1140 & 50026 & 0xc36A\\ -MDC3/4 6 & 0x1150 & 50027 & 0xc36B\\ -\hline -Shower 1 & 0x3200 & 50032 & 0xc370\\ -Shower 2 & 0x3210 & 50033 & 0xc371\\ -Shower 3 & 0x3220 & 50034 & 0xc372\\ -Shower 4 & 0x3230 & 50035 & 0xc373\\ -Shower 5 & 0x3240 & 50036 & 0xc374\\ -Shower 6 & 0x3250 & 50037 & 0xc375\\ -\hline -MDC1/2 (unused) & 0x8100 & 50001 & \\ -MDC3/4 (unused) & 0x8110 & 50002 & \\ -Shower (unused) & 0x8500 & 50008 & \\ -\end{tabular} -\caption{The UDP ports used to send data to the Eventbuilders. EB4-8 have an offset of 256, EB 9-12 of 512 -and EB 13-16 of 768. Entries sorted by order in the data\_sources.db.} -\label{udpports} -\end{center} -\end{table} \ No newline at end of file +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% \subsection{Event Builders} +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% +% +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% \subsection{Port Numbers} +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% The first EB on each server uses port numbers starting with 50000 (0xc350), the second process uses ports 50256 (0xc450) and above, while the third EB uses ports 50512 (0xc550) and above. Sender port and receiver port are always equal. The sender MAC is of the form 02:30:DE:AD:nn:nn where nn:nn is the same as the network address and the SubEventId of the corresponding sender. +% +% The source IP is in the 192.168.100.0/24 Subnet. The lowest byte starts with 128 and then has the same offsets as the port numbers of the first EB. +% +% +% \begin{table} +% \begin{center} +% \begin{tabular}{|c|c|c|c|} +% \hline +% \textbf{System} & \textbf{SubEvtId} & \textbf{EB 0 -- 3} & \textbf{EB 0 -- 3} \\ +% \hline +% \hline +% Strt/V/CTS & 0x8800 & 50000 & 0xc350\\ +% RICH 1/2 & 0x8300 & 50003 & 0xc353\\ +% RICH 3/4 & 0x8310 & 50004 & 0xc354\\ +% RICH 5/6 & 0x8320 & 50005 & 0xc355\\ +% RPC 1/2 & 0x8400 & 50006 & 0xc356\\ +% RPC 3/4 & 0x8410 & 50007 & 0xc357\\ +% RPC 5/6 & 0x8420 & 50008 & 0xc358\\ +% TOF & 0x8600 & 50009 & 0xc359\\ +% FW & 0x8700 & 50010 & 0xc35A\\ +% StartTRB3 & 0x8880 & 50013 & 0xc35D\\ +% VetoTRB3 & 0x8890 & 50015 & 0xc35F\\ +% Pion1 & 0x8900 & 50012 & 0xc35C\\ +% Pion2 & 0x8910 & 50014 & 0xc35E\\ +% \hline +% MDC1/2 1 & 0x1000 & 50016 & 0xc360\\ +% MDC1/2 2 & 0x1010 & 50017 & 0xc361\\ +% MDC1/2 3 & 0x1020 & 50018 & 0xc362\\ +% MDC1/2 4 & 0x1030 & 50019 & 0xc363\\ +% MDC1/2 5 & 0x1040 & 50020 & 0xc364\\ +% MDC1/2 6 & 0x1050 & 50021 & 0xc365\\ +% \hline +% MDC3/4 1 & 0x1100 & 50022 & 0xc366\\ +% MDC3/4 2 & 0x1110 & 50023 & 0xc367\\ +% MDC3/4 3 & 0x1120 & 50024 & 0xc368\\ +% MDC3/4 4 & 0x1130 & 50025 & 0xc369\\ +% MDC3/4 5 & 0x1140 & 50026 & 0xc36A\\ +% MDC3/4 6 & 0x1150 & 50027 & 0xc36B\\ +% \hline +% Shower 1 & 0x3200 & 50032 & 0xc370\\ +% Shower 2 & 0x3210 & 50033 & 0xc371\\ +% Shower 3 & 0x3220 & 50034 & 0xc372\\ +% Shower 4 & 0x3230 & 50035 & 0xc373\\ +% Shower 5 & 0x3240 & 50036 & 0xc374\\ +% Shower 6 & 0x3250 & 50037 & 0xc375\\ +% \hline +% MDC1/2 (unused) & 0x8100 & 50001 & \\ +% MDC3/4 (unused) & 0x8110 & 50002 & \\ +% Shower (unused) & 0x8500 & 50008 & \\ +% \end{tabular} +% \caption{The UDP ports used to send data to the Eventbuilders. EB4-8 have an offset of 256, EB 9-12 of 512 +% and EB 13-16 of 768. Entries sorted by order in the data\_sources.db.} +% \label{udpports} +% \end{center} +% \end{table} diff --git a/hadesoperator/ebmonitoring.tex b/hadesoperator/ebmonitoring.tex new file mode 100644 index 0000000..163975b --- /dev/null +++ b/hadesoperator/ebmonitoring.tex @@ -0,0 +1,11 @@ +The BNET master node offers a monitoring and control GUI on a webserver at the address +{\tt http://hades33/eb/}. The default GUI displays the state of the BNET as shown in +in figure \ref{fig:evtbuild:bnetgui}. All nodes of the BNET show up as separate rows with respective properties (hub inputs, file outputs) monitored. Clicking on +an element will allow further inspection and trending plots. + +\begin{figure}[htb] + \centering + \includegraphics[width=1\textwidth]{../bnetgui_plain_cut.png} + \caption[BNET master web control gui]{BNET master web control gui} + \label{fig:evtbuild:bnetgui} +\end{figure} diff --git a/hadesoperator/hmon.tex b/hadesoperator/hmon.tex new file mode 100644 index 0000000..e69de29 diff --git a/hadesoperator/main.tex b/hadesoperator/main.tex index 6052370..4ab2602 100644 --- a/hadesoperator/main.tex +++ b/hadesoperator/main.tex @@ -111,7 +111,14 @@ \clearpage \part{Monitoring} -\input{monitoring} +\section{Tactical Overview} +\input{tacticaloverview} + +\section{Hmon Plots} +\input{hmon} + +\section{Eventbuilder} +\input{ebmonitoring} \clearpage \part{Handling Procedures} @@ -124,9 +131,23 @@ \clearpage \part{Eventbuilder} + + \clearpage \part{QA} \section{QA Control} \clearpage + +\part{Expert Section} +\section{Power Supplies and Switches} +\begin{description} +\item[Pexor PC switch] \url{http://haepcp02} +\item[White Rabbit PC switch] \url{http://haepcp10} +\item[Forward Wall switch] \url{http://haepcp06} +\item[ECal Padiwa supply] Buttons in DAQ Control +\item[Start supply] \url{http://odroid1:1234} (incl. RICH fans) +\end{description} + + \end{document} diff --git a/hadesoperator/monitoring.tex b/hadesoperator/monitoring.tex deleted file mode 100644 index 0ab34f8..0000000 --- a/hadesoperator/monitoring.tex +++ /dev/null @@ -1,3 +0,0 @@ -\section{Tactical Overview} - -\section{Hmon Plots} diff --git a/hadesoperator/powercycles.tex b/hadesoperator/powercycles.tex index efe9d5f..24e9bb4 100644 --- a/hadesoperator/powercycles.tex +++ b/hadesoperator/powercycles.tex @@ -1,3 +1,5 @@ +The main power supplies can be controlled + \begin{figure}[htp] \centering \includegraphics[width=\textwidth]{figures/EpicsLvSupplies.png} @@ -7,10 +9,19 @@ \subsection{MDC Chamber} \subsection{Full MDC} All MDC front-ends (addresses 2xxx) can be power cycled from the DAQ control window. -In the DAQ Control, use the button "MDC LV Powercycle" in the "Expert Tools" column to. +In the DAQ Control, use the button "MDC LV Powercycle" in the "Expert Tools" column for this. + +Afterwards, the correct FPGA design needs to be loaded to the OEP. Click the ``RebootOEP'' button. After 10 seconds all OEP are rebooted and DAQ can be started again. If rebooting of the OEP fails, first run a DAQ start-up until the script complains ``OEP design too old''. Close the window and try rebooting OEP again. \subsection{RICH} All boards of the RICH subsystem (addresses 7xxx and 82xx) are powered by the supplies in the "RICH Group". Use the button "RICH Group ON | OFF" to first switch them off (takes about 10 seconds), wait a few seconds and switch them on again. When all 9 power supplies are active again, do a DAQ restart. \subsection{ECal / RPC} + + \subsection{Full Powercycle} +A full power cycle should only be done after contact to an expert. Use the EPICS window to switch off the RICH and MDC groups, as well as the "MDC/TOF/Central", "RPC/ECAL" and "HUBS" power supplies. Not available in EPICS are the power supplies for Start and Forward Wall and those for ECal frontends. These need to be switched in their respective interfaces. + +Then, switch them on again. + +Now use "Reprogram FPGA" from DAQ Control to load design files to all FPGAs. Then do a DAQ restart until you see the message ``OEP design too old''. Close the window and use ``RebootOEP'' as described in the "Full MDC" power cycle description. diff --git a/hadesoperator/tacticaloverview.tex b/hadesoperator/tacticaloverview.tex new file mode 100644 index 0000000..e69de29