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
Next revision Both sides next revision
s800_daq_tools [2015/08/31 10:05]
pereira [S800 Software tools]
s800_daq_tools [2015/10/27 06:57]
pereira [Mesytec CFD GUI]
Line 13: Line 13:
     * [[#Controls tab]]     * [[#Controls tab]]
   * [[#How to run combined S800 + GRETINA]]   * [[#How to run combined S800 + GRETINA]]
 +
  
  
Line 37: Line 38:
  
  
 +==== Mesytec CFD GUI ====
 +
 +The Mesytec CFD (MCFD) GUI is invoked by either clicking the icon **MCFD GUI** in the desktop of [[Software#u6pc5 (data U6)|u6pc5]] or 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).
 +
 +
 +{{:wiki:mcfd16gui.jpg|MCFD GUI}}
 +
 +
 +The default threshold values
 ==== Delay Window ==== ==== Delay Window ====
 +{{:wiki:482px-Runcontrol.png|Run Control Window}}
  
-{{:wiki:Delay-Window.png|Delay Window}} 
  
-This window appears when the "Init" button is pressed on the VME crate controller tab as part of the initial setup of the [[s800 daq tools#run control window|S800 USB daq]]. It can also be accessed by pressing the "Show GUIs" button. The delay module allows software configurable delays to be applied to each of the signals indicated in the Channel column, which then form the TDC stops. It is configurable to enable delays to be set with beam on target, as the needed delay may change depending on experimental conditions. There are four "Delay Inspect" channels which are routed to the patch panel in data-U6These signals can be compared with any one of the four "Trigger Inspect" channels in order to set proper delays for the TDCs.+ 
 + 
 + 
 +This window appears when the "Init" button is pressed on the VME crate controller tab as part of the initial setup of the [[s800 daq tools#run control window|S800 USB daq]]. It can also be accessed by pressing the "Show GUIs" button. The delay module allows software configurable delays to be applied to each of the signals indicated in the Channel column, which then form the TDC stops. It is configurable to enable delays to be set with beam on target, as the needed delay may change depending on experimental conditions.  
 + 
 +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   
 +  * 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 
 +  * 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 S800 trigger used as reference to calculate the ToF is from E1 up signal 
 +  * The signal delays controlled by the GUI (and not by cable delays) are not “pipelined” -- i.e., any new signals that arrive during the delay time of a previous signal are lost and thus deadtime is introduced into the system.  The signals delayed passively by cables are “pipelined” and thus are not subject to deadtime losses
  
  
Line 54: Line 77:
  
 ==== Scaler Display ==== ==== Scaler Display ====
 +The GUI used to display scalers rates can be open from the icon **S800 Scalers** in the desktop of [[Software#u6pc5 (data U6)|u6pc5]]. Alternatively, open a terminal on u6pc5, and type **./goscalers** from directory **/user/s800/converged_daq/scalers**.
 +
 +The GUI includes two pages labeled "s800" and "ratios". Page "s800" includes all the scaler channels; page "ratios" displays ratio values calculated between several pairs of channels. In addition, the GUI includes a panel showing the time evolution of the live time calculated from the live-to-raw trigger ratio, and the live-to-raw clock ratio. The figure below shows the page "ratios" from the scaler GUI.
  
-{{:wiki:Scalers.png?600|Scaler Display}}+A list of scaler channels can be found [[Scaler Channel Description|here]].
  
-The S800 scaler display is obtained by clicking the icon **S800 Scalers** in the desktop of [[Software#u6pc5 (data U6)|u6pc5]], or by navigating in a Linux terminal to the directory /user/s800/Documents/Run/scaler/USBDAQ and typing ''/usr/bin/wish scaler.tcl''. Clicking "connect" in this window will connect to the EventBuilder and update the scaler values on a fixed-frequency basis (currently once per second).+{{:wiki:Scalers.jpg?700|Scaler Display}}
  
  
 ==== Troubleshooting ==== ==== Troubleshooting ====
-In the rare case that the RunControl GUI gets "frozen", it is possible to reboot the whole system manually. This operation requires to turn off the VME and CAMAC crates, and the spdaq48 computer, all them located in the rack seating near the FP box in the S3 vault. Then, the system must be turned back on in the following order. First, CAMAC crate, second VME crate, and third spdaq48.+In the rare case that the RunControl GUI gets "frozen", it is possible to reboot the whole system manually. This operation requires to turn off the VME and CAMAC crates, and the spdaq computer, all them located in the rack seating near the FP box in the S3 vault. Then, the system must be turned back on in the following order. First, CAMAC crate, second VME crate, and third spdaq.
 ===== S800 DAQ status tool ===== ===== S800 DAQ status tool =====
 In order to remotely monitor the status of the S800 DAQ, a tool has been created which can show statistics and current information about the present running instances of the Readout GUI and eventbuilder programs. This is accessed by the following: In order to remotely monitor the status of the S800 DAQ, a tool has been created which can show statistics and current information about the present running instances of the Readout GUI and eventbuilder programs. This is accessed by the following:
s800_daq_tools.txt · Last modified: 2023/10/19 17:25 by swartzj