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 [2016/02/29 13:26]
pereira [Troubleshooting]
s800_daq_tools [2016/02/29 14:59]
pereira [Old processes still running]
Line 89: Line 89:
 ===== Troubleshooting ===== ===== Troubleshooting =====
 There are several common reasons why the S800 DAQ may fails to start. The list below describes what to do to fix these problems.    There are several common reasons why the S800 DAQ may fails to start. The list below describes what to do to fix these problems.   
 +  * [[#No data sources defined]]
 +  * [[#CCUSB and/or VMUSB claimed by existing programs]]
 +  * [[#Manual rebooting]]
 +
 +
 +
 +==== Old processes still running ====
 +Sometimes, particularly if the previous S800 DAQ session ended in an uncontrolled way, there may be old processes running (CCUSB and/or VMUSB and/or S800 event builder) that will prevent Readout GUI to begin a run. Whenever this happens (typically after clicking ''Begin''), the system sends an error message complaining about one of these processes still running. If you find yourself in this situation try:  
 +      - Make sure that you exit your Readout GUI properly 
 +      - Type ''ps aux | grep Readout'' to ensure that Readout is indeed not running
 +      - Type ''/usr/opt/nscldaq/xxxx/bin/ringbuffer status'', where xxxx is the daq version, e.g. 11.0-020
 +      - You will see a list of ringbuffers with information about their status (see figure below). Check that the producer value of each ringbuffer (see column ''producer'') is **-1**. (Don't worry about the ringbuffer **s800filter**, which is automatically killed when starting ReadoutGUI)
 +      - If the producer value of a ringbuffer is not -1, take note of the PID, and kill the process by typing ''kill -9 PID''
 +      - You should now be able to run Readout GUI and begin a run without problem
 +
 +
 +{{:wiki:ringbuffer1.png?650|Ringbuffer status}}
  
-  * [[No data sources defined]] 
 ==== No data sources defined ==== ==== No data sources defined ====
 When clicking ''Begin'' in the S800 Readout GUI, you get the error message: "No data sources are running so a run cannot be started". Very likely, the setting file **.settings.tcl** is missing. On a Linux session in u6pc5, type ''ls -lisa ~/stagearea''. You should see a hidden file **.settings.tcl**. If no, try the following: When clicking ''Begin'' in the S800 Readout GUI, you get the error message: "No data sources are running so a run cannot be started". Very likely, the setting file **.settings.tcl** is missing. On a Linux session in u6pc5, type ''ls -lisa ~/stagearea''. You should see a hidden file **.settings.tcl**. If no, try the following:
s800_daq_tools.txt ยท Last modified: 2023/10/19 17:25 by swartzj