next up previous contents index
Next: Database Up: Processes Previous: mond Process   Contents   Index


daq_ctrl Process

The run control program (CTRL) coordinates all activities in data taking and gives an operator the full control over entire DAQ system. This is a GTK+ [6] program which provides a graphical interface shown on Fig. 3.

Figure 3: Run Control Window.
\includegraphics[width=11cm]{ctrl.eps}

At the top it has a menu bar with four menus:

The main window can be divided on five parts. The first part contains run related information: run type (e.g., PHYSICS), run state (e.g., RUNNING), run number, number of recorded events and buttons to start, stop, pause and resume the run.

An extract of trigger information is in the second part.

The third part describes recording: recording media (none, disk only, tape only, both disk and tape), VID (Visual IDentifier) of tape if any, recording state.

The fourth part is about the state of the processes running on the main machine. There are four processes on the main machine: daq_main, daq_fe, daq_rec and daq_mon.

The fifth part is the ``message'' window.

Possible states and their color coding is shown in the Table 9.


Table 9: Color coding of object states.
Color Meaning Comments
white item is DISABLED used for daq_rec and daq_mon
black item is DEAD or not started everything in this state when the system shuted down
darkblue item is READY to start  
green item is RUNNING and data are arriving  
cyan item is IDLE (running but there has been no data recently) used for the daq_mon process only and indicates that there is no connection to the monitor daemon either because of problem in the daemon or because nobody wants to monitor data
tan item is PAUSED  
brown item is STOPPED  
yellow item has a PROBLEM  
red item has returned an ERROR status  


The daq_ctrl process writes three log-files in the directory $DAQLOG. They are DAQ_date_time.log containing all messages from the message window plus some additional information, daq_ctrl_run.cfg with the last run number, and daq_ctrl_tape.cfg with the information about the last used tape.


next up previous contents index
Next: Database Up: Processes Previous: mond Process   Contents   Index
Alexander V.Inyakin 2002-04-05