Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
daq:daq [2019/11/27 14:09]
jing [miscellaneous]
daq:daq [2023/11/28 10:47]
stephen
Line 1: Line 1:
-======= This is DAQ page for the 2015 campaign ​======+======= FRIB online build window ====== 
 +Issue the following command prior to starting the ReadoutGUI: export COINCIDENCE_TICKS=300 
 + 
 + 
 +======= Turn on/off Mode3 Data collection ====== 
 +  * To start/stop mode3 data collection on the EPICS GUI page click the button Cluster. In the newly opened window click the button **2 only** for mode2 data only or the **2 and 3** for both mode2 and mode3 data. 
 +  * Alternatively in a terminal on a2.gam run the command **"​caput Data_CS_Save2And3 0/1"** to turn mode3 collection off/on. 
 +  * After doing this the decomp scripts should be modified as running the syncrofix command could overwrite this.  
 +  * For GRETINA standalone the script to modify is is **grdecompSA.sh** and for GRETINA-S800,​ **grdecompParticleGamma.sh**. 
 +  * For both scripts change the line **"​caput Data_CS_Save2And3 0/1"** to turn mode3 collection off/on 
 +  
 +======= New in 2022 ====== 
 +start run window is obsolete. Two scripts are available for changing the data directory. Daq needs to be stopped, directories need to exist:  
 +  * changeDataDir_maintainRunNum ​ <data dir> ​ : keeps the Run number the same, for when we need to move physics experiment data collection to another disk 
 +  * changeDataDir_resetRunNum <data dir> ​ : finds the lowest available Run number without any larger RunDir #s 
 + 
 + 
 + 
 +======= This is DAQ page from previous campaigns ​======
 The DAQ page from the former S800-GRETINA campaign in 2012 can be found at The DAQ page from the former S800-GRETINA campaign in 2012 can be found at
 https://​wikihost.nscl.msu.edu/​gretina/​doku.php/​daq:​daq_2012 https://​wikihost.nscl.msu.edu/​gretina/​doku.php/​daq:​daq_2012
Line 7: Line 25:
 ======= Troubleshoot ====== ======= Troubleshoot ======
   * S800-Gretina not correlated: Check CC setfile ~s800/​converged_daq/​Scripts/​CC0105Begin.tcl for extsynch and extclock   * S800-Gretina not correlated: Check CC setfile ~s800/​converged_daq/​Scripts/​CC0105Begin.tcl for extsynch and extclock
 +  * S800 is losing events. Check the network speed of spdaq32 by /​sbin/​ethtool eth0 and /​sbin/​ethtool eth1 , both should show speed as 1000Mb/s, if one shows 100Mb/s then the network is too slow and S800 cannot send data to GEB fast enough which will cause event loss happen.
 +  * Check the ringbuffer status, $DAQBIN/​ringbuffer status - -host=spdaq32 - -all , if the free colum becomes zero, DAQ related people needs to be notified for diagnostics.
  
 ======= Decomp Information ====== ======= Decomp Information ======
Line 25: Line 45:
  
 ======= Misc 2019 ====== ======= Misc 2019 ======
-  * Dual homed NSCL machines are spdaq32 and spdaq45+  * Dual homed NSCL machines are spdaq32 and spdaq07
  
 ====== miscellaneous ====== ====== miscellaneous ======
Line 38: Line 58:
   * Check decomp stats  ** recordDecomp.sh | head -n50 **   * Check decomp stats  ** recordDecomp.sh | head -n50 **
   * [[Flash digitizer firmware]]   * [[Flash digitizer firmware]]
-  * Check digitizer firmware version: on a2 or a1 terminal, type: DIGSNIDFW+  * Check digitizer firmware version: on a2 or a1 terminal, type: **DIGSNIDFW** ,all digitizers should have same version firmware 
 +  * [[Replace digitizer with different color ones]] 
 +  * [[Replace fuses of digitizer]] 
 +  * [[No valid decomposed events]] 
 +  * Verify connecedt digitizers, at IOC interface, type **dbior**, it will print all identified digitizers within one bank 
 +  * VME related scripts are located at /​global/​devel/​boot/​vmeArray 
 +  * Check connected PVs, at IOC interface, type "​casr"​ 
 +  * [[ Move detectors to new Hole position ]]
  
 ====== Reboot a2 ====== ====== Reboot a2 ======
Line 44: Line 71:
     * from ~gretina: nohup scripts/​warningMessage4.sh &     * from ~gretina: nohup scripts/​warningMessage4.sh &
     * from ~gretina/​scripts/​watcherdir:​ nohup watcher &     * from ~gretina/​scripts/​watcherdir:​ nohup watcher &
- The first is the alarm script that talks to users. ​ The second is responsible for two things: writing record{Counters,​Decomp,​Settings} in the current run directory and cleaning up cluster process issues (usually restarting broken processes) soon after starting or stopping runs.    ​+ The first is the alarm script that talks to users. ​ The second is responsible for two things: writing record{Counters,​Decomp,​Settings} in the current run directory and cleaning up cluster process issues (usually restarting broken processes) soon after starting or stopping runs. 
 + 
 +  * Switch to a1 
 +    * If a2 cannot be brought back. Gretina DAQ can still run on a1. In the file ~/.profile , environment variable **DAQSERVER** needs changed to be a1.gam . This parameter is used to restrict gretina daq critical scripts to run on specific machine.

QR Code
QR Code daq:daq (generated for current page)