Difference between revisions of "Private:UConn test setup"
From GlueXWiki
Line 79: | Line 79: | ||
''' How to run DAQ ''' | ''' How to run DAQ ''' | ||
− | + | #Launch database daemon | |
− | #After changing the hostname of the ROC, the Run Control database (where the host name is used) has to be updated. | + | #* 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 under '''halld''' and set up environmental variables ( source coda_micro_setup ) | #* Login to the controller under '''halld''' and set up environmental variables ( source coda_micro_setup ) | ||
#* start mysql deamon by typing '''msqld''' ( be sure that only one msqld is running) | #* start mysql deamon by typing '''msqld''' ( be sure that only one msqld is running) | ||
Line 95: | Line 95: | ||
#* login to the ROC under halld | #* login to the ROC under halld | ||
#* coda_roc_rc3 -i -s simple -n TROC5 -t ROC | #* coda_roc_rc3 -i -s simple -n TROC5 -t ROC | ||
− | |||
# Launch Run Control GUI | # Launch Run Control GUI | ||
− | #* login to | + | #* login to the ROC under halld |
#* type 'rcgui' | #* type 'rcgui' | ||
#:: Select 'Sessions -> simple' | #:: Select 'Sessions -> simple' | ||
− | #:: Select 'Configurations -> Cool -> | + | #:: Select 'Configurations -> Cool -> simple' (see top menu) |
#:: Press buttons: Configure, Download, Prestart, Go (you start the run) | #:: Press buttons: Configure, Download, Prestart, Go (you start the run) | ||
''' Change electronics boards initialization parameters ''' | ''' Change electronics boards initialization parameters ''' |
Revision as of 18:36, 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
- Launch database daemon
- 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 under halld 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 (TROC5)
- to do this, select File->Open Database->micro_test and File->Run Type->simple and click on EB5 and TROC5 components
- msqld has to be running all the time when you run DAQ
- Launch Afec-1.4 platform
- login to the ROC under halld
- type 'platform'
- Start event builder
- login to the ROC under halld
- coda_eb_rc3 -i -s simple -n EB5 -t CDEB
- Launch coda_roc on the Linux controller
- login to the ROC under halld
- coda_roc_rc3 -i -s simple -n TROC5 -t ROC
- Launch Run Control GUI
- login to the ROC under halld
- type 'rcgui'
- Select 'Sessions -> simple'
- Select 'Configurations -> Cool -> simple' (see top menu)
- Press buttons: Configure, Download, Prestart, Go (you start the run)
Change electronics boards initialization parameters