used by DAQ experts.
\item[DaqMonitorVNC] A small VNC screen that is forseen to show the basic monitoring tools. This VNC can only be controlled
from one of the two DAQ computers in the counting house, from everywhere else access is read-only.
+ \item[DaqSpillmonitorVNC] Starts a VNC viewer showing the beam / spill monitor (lxhadesdaq:9). Login is automatic from DAQ
+ computers, from other PCs a password is needed - ask your favorite DAQ expert about it.
\end{description}
\subsection{DAQ Control Tools}
\item[Epics] Starts the main Epics interface
\item[GbeMonitor] Starts the monitoring tools for Gbe Links on FPGAs
\item[GlobalMonitor] The global monitor shows an overview of busy times, error flags and missing TRB (not correctly working at the moment)
- \item[HadplotBeam] Shows plots of the beam structure - settings can be done using the Epics->CTS->Beam Structure interface
+ \item[HadplotBeam] Shows plots of the beam structure - settings can be done using the Epics->CTS->Beam Structure interface. Please use VNC
+ lxhadesdaq:9 to view this monitor, do not start it directly on your own screen.
\item[HadplotMain] Shows the main plots with event rate, data rate and busy times
\item[HadplotError] Shows some error plots to see issues with timing triggers and transmission errors on the optical links
\item[HubMonitor] The Hub monitor shows the status of all optical links in the system, whether they are running or not connected. Additionally
\subsection{DAQ Expert Tools}
\begin{description}
+ \item[ClearErrorFlags] Clears the common error flags of all systems.
\item[EbCpuMonitor] Opens gkrellm on all eventbuilding servers to monitor CPU, memory, disk and network load.
+ \item[MdcInitMbo] (Re-)initializes the motherboards of MDC
+ \item[MdcRebootOep] Reboots the MDC OEP using the correct FPGA design
+ \item[RichInitADCM] Reinitializes the RICH ADC modules
+ \item[RichLoadPedestals] Loads RICH pedestals
\item[StartDaqVnc] Starts the DAQ monitor VNC server - only to be used after machine has been rebooted
\item[StartEbRich] (Re-)Starts the eventbuilders in default configuration, writing files with prefix ri.
\item[StartEbShower](Re-)Starts the eventbuilders in default configuration, writing files with prefix sh.
\item[StartEbStart](Re-)Starts the eventbuilders in default configuration, writing files with prefix st.
- \item[RichLoadPedestals] Loads RICH pedestals
- \item[RichInitADCM] Reinitializes the RICH ADC modules
+
\end{description}
--- /dev/null
+\section{DAQ Monitor Guide}
+\label{sec:daqmonguide}
+
+\begin{figure}[hp]
+ \centering
+ \includegraphics[width=.9\textheight,page=1,angle=90]{daqmonitordescription.pdf}
+ \caption[DAQ Monitor Guide 1]{DAQ Monitor Guide 1}
+ \label{fig:daqmonitorguide1}
+\end{figure}
+\begin{figure}[hp]
+ \centering
+ \includegraphics[width=.9\textheight,page=2,angle=90]{daqmonitordescription.pdf}
+ \caption[DAQ Monitor Guide 2]{DAQ Monitor Guide 2}
+ \label{fig:daqmonitorguide2}
+\end{figure}
+\begin{figure}[hp]
+ \centering
+ \includegraphics[width=.9\textheight,page=3,angle=90]{daqmonitordescription.pdf}
+ \caption[DAQ Monitor Guide 3]{DAQ Monitor Guide 3}
+ \label{fig:daqmonitorguide3}
+\end{figure}
+\begin{figure}[hp]
+ \centering
+ \includegraphics[width=.9\textheight,page=4,angle=90]{daqmonitordescription.pdf}
+ \caption[DAQ Monitor Guide 4]{DAQ Monitor Guide 4}
+ \label{fig:daqmonitorguide4}
+\end{figure}
img_extensions=.eps .jpg .jpeg .png .pdf .ps .fig .gif
kileprversion=2
kileversion=2.0.85
-lastDocument=main.tex
+lastDocument=endpoint.tex
masterDocument=main.tex
name=daqnet
pkg_extIsRegExp=false
Mode=LaTeX
ReadWrite=true
+[document-settings,item:daqcontrol.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
+[document-settings,item:daqmonitorguide.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
[document-settings,item:daqstartup.tex]
Bookmarks=
Encoding=UTF-8
Mode=LaTeX
ReadWrite=true
+[document-settings,item:ebmonitorguide.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
[document-settings,item:ebsetup.tex]
Bookmarks=
Encoding=UTF-8
Mode=LaTeX
ReadWrite=true
+[document-settings,item:generaldaq.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
[document-settings,item:hubs.tex]
Bookmarks=
Encoding=UTF-8
Mode=LaTeX
ReadWrite=true
+[document-settings,item:mdcinstructions.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
[document-settings,item:networkaddresses.tex]
Bookmarks=
Encoding=UTF-8
Mode=LaTeX
ReadWrite=true
+[document-settings,item:richinstructions.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
[document-settings,item:showerdata.tex]
Bookmarks=
Encoding=UTF-8
Mode=LaTeX
ReadWrite=true
+[document-settings,item:showerinstructions.tex]
+Bookmarks=
+Encoding=UTF-8
+Highlighting=LaTeX
+Indentation Mode=
+Mode=LaTeX
+ReadWrite=true
+
[document-settings,item:slowcontrol.tex]
Bookmarks=
Encoding=UTF-8
highlight=LaTeX
line=0
mode=LaTeX
-open=true
+open=false
order=14
[item:/local/trb/cvs/daq_docu/tof.tex]
line=0
mode=LaTeX
open=true
-order=15
+order=14
[item:cts.tex]
archive=true
-column=47
+column=1
encoding=UTF-8
highlight=LaTeX
-line=29
+line=9
mode=LaTeX
open=true
-order=17
+order=16
+
+[item:daqcontrol.tex]
+archive=true
+column=88
+encoding=UTF-8
+highlight=LaTeX
+line=11
+mode=LaTeX
+open=true
+order=21
+
+[item:daqmonitorguide.tex]
+archive=true
+column=0
+encoding=UTF-8
+highlight=LaTeX
+line=3
+mode=LaTeX
+open=true
+order=23
[item:daqnet.kilepr]
archive=true
open=true
order=8
+[item:ebmonitorguide.tex]
+archive=true
+column=0
+encoding=UTF-8
+highlight=LaTeX
+line=2
+mode=LaTeX
+open=true
+order=19
+
[item:ebsetup.tex]
archive=true
column=56
line=32
mode=LaTeX
open=true
-order=19
+order=18
[item:endpoint.tex]
archive=true
[item:evtbuild.tex]
archive=true
-column=183
+column=0
encoding=UTF-8
highlight=LaTeX
-line=180
+line=155
mode=LaTeX
open=true
-order=16
+order=15
[item:gbe.tex]
archive=true
open=true
order=12
+[item:generaldaq.tex]
+archive=true
+column=8
+encoding=UTF-8
+highlight=LaTeX
+line=35
+mode=LaTeX
+open=true
+order=24
+
[item:hubs.tex]
archive=true
column=1
line=122
mode=LaTeX
open=true
-order=18
+order=17
[item:ipudataformat.tex]
archive=true
[item:main.tex]
archive=true
-column=0
+column=23
encoding=UTF-8
highlight=LaTeX
-line=0
+line=176
mode=LaTeX
open=true
order=0
[item:mdc.tex]
archive=true
-column=35
+column=23
encoding=ISO-8859-15
highlight=LaTeX
-line=136
+line=134
mode=LaTeX
open=true
order=10
+[item:mdcinstructions.tex]
+archive=true
+column=23
+encoding=UTF-8
+highlight=LaTeX
+line=35
+mode=LaTeX
+open=true
+order=20
+
[item:networkaddresses.tex]
archive=true
column=0
open=true
order=9
+[item:richinstructions.tex]
+archive=true
+column=146
+encoding=UTF-8
+highlight=LaTeX
+line=2
+mode=LaTeX
+open=true
+order=25
+
[item:showerdata.tex]
archive=true
column=0
open=true
order=7
-[item:slowcontrol.tex]
+[item:showerinstructions.tex]
archive=true
column=0
encoding=UTF-8
highlight=LaTeX
-line=445
+line=0
+mode=LaTeX
+open=true
+order=22
+
+[item:slowcontrol.tex]
+archive=true
+column=29
+encoding=UTF-8
+highlight=LaTeX
+line=444
mode=LaTeX
open=true
order=4
column=0
encoding=UTF-8
highlight=LaTeX
-line=0
+line=559
mode=LaTeX
open=true
order=5
CursorLine=0
[view-settings,view=0,item:cts.tex]
-CursorColumn=47
-CursorLine=29
+CursorColumn=1
+CursorLine=9
+
+[view-settings,view=0,item:daqcontrol.tex]
+CursorColumn=88
+CursorLine=11
+
+[view-settings,view=0,item:daqmonitorguide.tex]
+CursorColumn=0
+CursorLine=3
[view-settings,view=0,item:daqstartup.tex]
CursorColumn=73
CursorLine=177
+[view-settings,view=0,item:ebmonitorguide.tex]
+CursorColumn=0
+CursorLine=2
+
[view-settings,view=0,item:ebsetup.tex]
CursorColumn=56
CursorLine=32
CursorLine=117
[view-settings,view=0,item:evtbuild.tex]
-CursorColumn=183
-CursorLine=180
+CursorColumn=0
+CursorLine=155
[view-settings,view=0,item:gbe.tex]
CursorColumn=0
CursorLine=0
+[view-settings,view=0,item:generaldaq.tex]
+CursorColumn=8
+CursorLine=35
+
[view-settings,view=0,item:hubs.tex]
CursorColumn=1
CursorLine=49
CursorLine=126
[view-settings,view=0,item:main.tex]
-CursorColumn=0
-CursorLine=0
+CursorColumn=23
+CursorLine=176
[view-settings,view=0,item:mdc.tex]
-CursorColumn=35
-CursorLine=136
+CursorColumn=23
+CursorLine=134
+
+[view-settings,view=0,item:mdcinstructions.tex]
+CursorColumn=23
+CursorLine=35
[view-settings,view=0,item:networkaddresses.tex]
CursorColumn=0
CursorColumn=21
CursorLine=269
+[view-settings,view=0,item:richinstructions.tex]
+CursorColumn=146
+CursorLine=2
+
[view-settings,view=0,item:showerdata.tex]
CursorColumn=0
CursorLine=0
-[view-settings,view=0,item:slowcontrol.tex]
+[view-settings,view=0,item:showerinstructions.tex]
CursorColumn=0
-CursorLine=445
+CursorLine=0
+
+[view-settings,view=0,item:slowcontrol.tex]
+CursorColumn=29
+CursorLine=444
[view-settings,view=0,item:software.tex]
CursorColumn=0
-CursorLine=0
+CursorLine=559
+\section{Eventbuilder Monitor Guide}
\label{sec:ebmonguide}
\begin{figure}[hp]
\centering
--- /dev/null
+\section{General DAQ Issues}
+\subsection{Full Power Cycle}
+A full power cycle of all power supplies for the DAQ system is a straight-forward process with several steps.
+Usually, a simple restart and / or reprogramming of FPGA should get you back to a working system, but from
+time to time...
+
+Before you make a full power cycle, please ask an expert if this is really necessary or if there are other
+solutions for your DAQ problems. Please follow the procedure below accurately.
+\begin{figure}[htb]
+ \centering
+ \includegraphics[width=\textwidth]{fullpowercycle.png}
+ \caption[Full Power Cycle]{Epics Screen doing a full power cycle}
+ \label{fig:pspowercycle}
+\end{figure}
+
+\paragraph*{0: Memory} Take a look on the settings of the CTS and the expected rates shown in the CTS Monitor.
+ After the restart procedure, all numbers should be again in the same range - otherwise loading some settings did
+ not work.
+
+\paragraph*{1: Power Cycle} Go to the main epics screen, then click on crates. Here you have to switch off,
+ wait a few seconds, switch on again 4 power supplies as shown in figure \ref{fig:pspowercycle}.
+ The only system not affected by this power cycle is the forward wall since it uses an independend power supply.
+ Open a web-browser, enter \verb!192.168.100.67! in the address field, log in and switch off the power for a few
+ seconds.
+
+\paragraph*{2: Reprogram FPGA} Now, the FPGA needs to be reprogrammed. Click the ``ReprogramFPGA'' button in the DAQ
+ Control Tool section of the desktop on one of the slow control computers. The tool takes about three minutes to
+ complete. In case of an error, a message ``do you want to continue'' is shown. In this case - call a DAQ expert.
+
+\paragraph*{3: Restart DAQ (dummy run)} Now, click the ``StartDAQ'' icon. This start-up will not result in a running
+ DAQ, but is needed for the following step. The program will stop with some warnings ``design too old'' - answer with no
+ to stop the execution of the script.
+
+\paragraph*{4: Reboot MDC OEP} Click ``RebootOEP'' to load the correct FPGA design files to the MDC front-ends. This
+ takes about 10 seconds, only a message in the lower right corner of the screen is shown after this time, no window is
+ opened.
+
+\paragraph*{5: Restart DAQ} Click ``StartDAQ'' to get the DAQ started again. If the start-up fails, i.e. no triggers
+ are sent afterwards, repeat this step up to 4 times.
+
+\paragraph*{6: Eventbuilder} As usual after a DAQ restart, restart also the event builders using the correct file
+ name prefix.
+
+\paragraph*{7: Trigger Rates} Check the trigger rates, compare the current readings with the usual ones seen during
+ the shift.
\ No newline at end of file
\clearpage
\part{Operator Guide}
-\section{Eventbuilder Monitor Guide}
\input{ebmonitorguide}
+\input{daqmonitorguide}
\clearpage
\part{Instructions}
\input{daqcontrol}
+\input{generaldaq}
\input{mdcinstructions}
\input{showerinstructions}
\input{richinstructions}
\section{RICH DAQ}
\paragraph*{Reinitialize APVs / Load new pedestals}
-There is a script to reload pedestals:
-\\\verb!cd /home/hadaq/trbsoft/dat/rich/; ./wr_peds.sh!
-
-Another script
+There are two scripts within the DAQ Expert Tools to load pedestals to ADCM (RichLoadPedestals) and to initialize the ADCM and APV (RichInitADCM).
\ No newline at end of file