Difference between revisions of "Private:UConn test setup"

From GlueXWiki
Jump to: navigation, search
Line 79: Line 79:
  
 
''' How to run DAQ '''
 
''' How to run DAQ '''
* After changing the hostname of the ROC, the Run Control database (where the host name is used) has
+
 
 +
After changing the hostname of the ROC, the Run Control database (where the host name is used) has
 
to be updated.
 
to be updated.
*# Login to the controller
+
* Login to the controller and set up environmental variables  ( source coda_micro_setup )
*# Set up environmental variables  ( source coda_micro_setup )
+
* start mysql deamon by typing '''msqld''' ( be sure that only one msqld is running)
*# launch mysql deamon by typing msqld
+
* use '''cedit''' to change host names for the event builder (EB5) and coda ROC (EB5)
*# open
+
  
 
''' Change electronics boards initialization parameters '''
 
''' Change electronics boards initialization parameters '''

Revision as of 17:39, 24 September 2012

In the DAQ crate we are using an old Trigger Interface (TI) board, i.e. the triggers are distributed through front pannels. The SDC board is used for the trigger distribution to fadc250.

Boards in the crate

Board Slot Serial
CPU (halldtrg5) 1
TI (Old) 2
FADC250 5 B21595_06R
SDC 9
LE discriminator 14 C_15
F1TDC 16


Front pannel connections

From To
External trigger TI input, IN1
L1 Accept ( 3rd from the bottom ) SDC TRG
L1 Accept ( 4 th from the bottom ) F1TDC TRG
TI Out0 F1TDC SYNC


Setting up the setup

  • Connect keybord and monitor (if needed) to the Intel ROC.
  • Connect Ethernet cable to the upper ROC LAN connector.
  • Change ROC IP address (you will see the MAC address when you start booting the controller)
  • Login under halld

Directories

Most DAQ files (CODA), the Run Control and other applications have been installed localy on the ROC flash disc. You will need to mount the remote data disc to store data files.

Below is a description of some directories:

  • The home directory is /home/halld
  • /home/halld/micro/rol contains the F1TDC configuration file and the link to the DAC readout list (see descriptions below)
  • /home/halld/micro/coda contains Run Control data base
  • /home/halld/data is a directory for the DAQ data storage. The external drive has to be mounted to here
  • /home/halld/micro/coda_micro_setup is a script with configuration variables
    • you have to edit this file ad change some variables if needed
    • source coda_micro_setup to set variables up
  • Coda and Run Control files are installed at /usr/local/coda/2.6.1

How to run DAQ

After changing the hostname of the ROC, the Run Control database (where the host name is used) has to be updated.

  • Login to the controller and set up environmental variables ( source coda_micro_setup )
  • start mysql deamon by typing msqld ( be sure that only one msqld is running)
  • use cedit to change host names for the event builder (EB5) and coda ROC (EB5)

Change electronics boards initialization parameters