User Tools

Site Tools


s800_daq_tools

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
s800_daq_tools [2023/09/22 13:01]
swartzj
s800_daq_tools [2023/10/19 17:25] (current)
swartzj [Running in Slave mode with multilogger]
Line 41: Line 41:
 The S800 electronics includes a Mesytec CFD (MCFD), used to "filter" the detector signals going to the Scaler and Mesytec TDC. The configuration parameters of the CFD (thresholds, delays, fraction, etc.) can be remotely adjusted via a MCFD GUI developed by the NSCL DAQ group. During tuning of the S800, one typically needs to adjust thresholds only. The S800 electronics includes a Mesytec CFD (MCFD), used to "filter" the detector signals going to the Scaler and Mesytec TDC. The configuration parameters of the CFD (thresholds, delays, fraction, etc.) can be remotely adjusted via a MCFD GUI developed by the NSCL DAQ group. During tuning of the S800, one typically needs to adjust thresholds only.
  
-The MCFD GUI can be started in three different ways: 1) by clicking the button ''Launch MCFD GUI'' in [[#Readout GUI|Readout GUI]]; 2) by clicking the icon **MCFD GUI** in the desktop of [[Software#u6pc5 (data U6)|u6pc5]]; 3) by navigating in a Linux terminal and typing ''$DAQBIN/MCFDControl16 --protocol usb --serialfile /dev/ttyUSB0''. The environment variable DAQBIN is defined by sourcing the **daqsetup.bash** file in directory **/usr/opt/nscldaq/xxxx/bin**, where xxxx is the nscldaq version number (11.0-015 on Oct 26, 2015).+The MCFD GUI can be started in three different ways: 1) by clicking the button ''Launch MCFD GUI'' in [[#Readout GUI|Readout GUI]]; 2) by clicking the icon **MCFD GUI** in the desktop of [[Software#u4pc8 (data U4)|u4pc8]]; 3) by navigating in a Linux terminal and typing ''$DAQBIN/MCFDControl16 --protocol usb --serialfile /dev/ttyUSB0''. The environment variable DAQBIN is defined by sourcing the **daqsetup.bash** file in directory **/usr/opt/nscldaq/xxxx/bin**, where xxxx is the nscldaq version number (11.0-015 on Oct 26, 2015).
  
  
Line 49: Line 49:
   * To load the default CFD configuration go to **Load Setting**, select file **MCFD16.tcl** in directory **/user/s800/s800daq/Configurations**, and click **Load**   * To load the default CFD configuration go to **Load Setting**, select file **MCFD16.tcl** in directory **/user/s800/s800daq/Configurations**, and click **Load**
    * Alternatively, it is possible to load the configuration directly from the module by clicking **Update from Device**.     * Alternatively, it is possible to load the configuration directly from the module by clicking **Update from Device**. 
-   * By default, the CFD parameters can be adjusted individually for each of the 16 channels. It is also possible use the module in a "common" mode to set the same CFD parameters to all channels. Just check **common**+   * By default, the CFD parameters can be adjusted individually for each of the 16 channels. It is also possible to use the module in a "common" mode to set the same CFD parameters to all channels. Just check **common**
   * After modifying any of the CFD parameters, click **Commit to Device**   * After modifying any of the CFD parameters, click **Commit to Device**
   * Don't forget to save the new settings in file **MCF16.tcl**.    * Don't forget to save the new settings in file **MCF16.tcl**. 
Line 73: Line 73:
 Some important things to remember: Some important things to remember:
  
-  * There are four "Delay Inspect" channels (routed to the patch panel in data U6) which can be selected using the Delay GUI  +  * There are four "Delay Inspect" channels (routed to the patch panel in data U4) which can be selected using the Delay GUI  
   * These "Delay Inspect" signals can be compared with any one of the four "Trigger Inspect" channels in order to set proper delays for the TDCs. The "Trigger Inspect" channels can be selected using the [[S800 DAQ tools#Trigger GUI|ULM trigger GUI]]   * These "Delay Inspect" signals can be compared with any one of the four "Trigger Inspect" channels in order to set proper delays for the TDCs. The "Trigger Inspect" channels can be selected using the [[S800 DAQ tools#Trigger GUI|ULM trigger GUI]]
-  * TDCs of last 4 listed signals (including XF and object scintillators) are bypassed with cable delays and thus their delays cannot be controlled with the GUI. They can be inspected, however using the GUI+  * TDCs of last 4 listed signals (including XF (DB5) and object scintillators) are bypassed with cable delays and thus their delays cannot be controlled with the GUI. They can be inspected, however using the GUI
   * It is possible to bypass the delay of a given channel by checking the "bypass" check box in the GUI   * It is possible to bypass the delay of a given channel by checking the "bypass" check box in the GUI
   * The TDC delays can only be changed when the run control is stopped; must SAVE settings before starting run control not to overwrite adjustments being made   * The TDC delays can only be changed when the run control is stopped; must SAVE settings before starting run control not to overwrite adjustments being made
Line 104: Line 104:
  
 ==== Running in Slave mode with multilogger ==== ==== Running in Slave mode with multilogger ====
-The S800 DAQ can be run in Standalone mode (as described above), or in Slave mode. The later means that the S800 DAQ is controlled by an external DAQ (e.g. GRETINA). In this mode, the S800 ULM receives external clock and external synchronization  signals from the master DAQ. Running in Slave mode requires to change the script **CC0105Begin.tcl** in directory **/user/s800/s800daq/Scripts**. In this file, there are two variables ''extsynch'' and ''extclock'' to define if the external synchronization and clock signals are enabled (=1) or disabled (=0). Make sure that you set these variables to 1 if you want to run in Slave mode.+The S800 DAQ can be run in Standalone mode (as described above), or in Slave mode. The latter means that the S800 DAQ is controlled by an external DAQ (e.g. GRETINA). In this mode, the S800 ULM receives external clock and external synchronization  signals from the master DAQ. Running in Slave mode requires to change the script **CC0105Begin.tcl** in directory **/user/s800/s800daq/Scripts**. In this file, there are two variables ''extsynch'' and ''extclock'' to define if the external synchronization and clock signals are enabled (=1) or disabled (=0). Make sure that you set these variables to 1 if you want to run in Slave mode.
  
  
-By default, when running in Slave mode, data are recorded in the stagearea of the Master DAQ (experiment account). It is however possible to record simultaneously data from the S800 into the S800 stagearea, using the ''multilogger'' option (see ReadoutGUI figure above). The S800 ReadougGUI offers the possibility to record data from four different S800 ring-buffers: rawccusb, rawvmusb, s800built, and s800filter. The later is the most important since data from this ring buffer can be immediately processed by the S800 SpecTcl. +By default, when running in Slave mode, data are recorded in the stagearea of the Master DAQ (experiment account). It is however possible to record simultaneously data from the S800 into the S800 stagearea, using the ''multilogger'' option (see ReadoutGUI figure above). The S800 ReadoutGUI offers the possibility to record data from four different S800 ring-buffers: rawccusb, rawvmusb, s800built, and s800filter. The latter is the most important since data from this ring buffer can be immediately processed by the S800 SpecTcl. 
  
 When running XDT for an experiment with a Master DAQ (e.g. GRETINA), it is recommendable to run the S800 DAQ in Slave mode with the s800filter multilogger enabled. This can be done following the steps: When running XDT for an experiment with a Master DAQ (e.g. GRETINA), it is recommendable to run the S800 DAQ in Slave mode with the s800filter multilogger enabled. This can be done following the steps:
s800_daq_tools.1695402118.txt.gz ยท Last modified: 2023/09/22 13:01 by swartzj