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/10/27 14:13]
pereira [Delay Window]
s800_daq_tools [2016/02/29 11:51]
pereira [Readout GUI tab]
Line 22: Line 22:
  
  
-==== Run Control Window ==== +==== Readout GUI ==== 
-The Run Control GUI is invoked by either clicking the icon **RunControl** in the desktop of [[Software#u6pc5 (data U6)|u6pc5]] or by navigating in a Linux terminal to the directory **/user/s800/operations/daq/usb/TclXXUSB** and typing ''/usr/bin/wish RunControl.tcl''. The Run Control window and the EventBuilder window will appear.  The image shows the typical configuration for stand-alone mode+The S800 Readout GUI is invoked by either clicking the icon **S800 DAQ** in the desktop of [[Software#u6pc5 (data U6)|u6pc5]] or by navigating in a Linux terminal to the directory **/user/s800/converged_daq** and typing ''godaq''. The Readout GUI window will appear. **IMPORTANT NOTE:** When running Readout GUI, make sure that the environment variables needed by the system are properly defined. This can be done from a Linux terminal by typing: ''. /usr/opt/nscldaq/xxxx/daqsetup.bash'', where ''xxxx'' is the nscldaq version (xxx = 11.0-020, on Feb 2016).
  
-Before beginning taking data is necessary to initialize the VME and CAMAC USB controllers. This is done by selecting the crate (either VM0079 for VME or CM0105 for CAMAC) and selecting the corresponding initialization file by clicking in the **Browsing** button. The initialization files are ''/user/s800/operations/daq/usb/Scripts/VM0079Init.tcl'' for VME and ''/user/s800/operations/daq/usb/Scripts/CM0105Init.tcl'' for CAMACOnce the files are selected, the modules can be initialized by clicking in the button *Init*. After initializing the VME cratethe [[s800 daq tools#delay window|TDC delay window]] should pop out. Likewisethe [[s800 daq tools##Trigger GUI|Trigger GUI]] will appear after initializing the CAMAC crateIt is very important that both Save and Broadcast are checked. Failure to do so will result in settings files not being saved, data from the USB controllers not being broadcast to the eventbuilder, and the S800 evt files not being saved+Before beginning taking data is necessary to initialize the system. This is done by clicking ''Start'' in the ReadoutGUI. After initializing the contollers, the ReadoutGUI window will show the ''Begin'' button activeIn additionthree additional buttons should appear at the end of the window. They can be used to start the GUI associated with the [[#Mesytec CFD GUI|MCFD]], [[#Delay Window|Delay XLM]], and [[#Trigger GUI|Trigger ULM]] modulesMake sure that the system is fully initializing before opening those GUIs.
  
 +The figure below shows the Readout GUI window after initializing the system. After clicking ''Begin'', the "Event Builder" window will pop out, displaying information about the Readout session. Data can be recorded on disk by checking out the box ''Record''. To end a data run, simply click ''End''
  
-{{:wiki:482px-Runcontrol.png|Run Control Window}} 
  
  
 +{{:wiki:readoutgui2.png|Readout GUI Window}}
  
-==== EventBuilder Window ==== 
  
-{{:wiki:Eventbuilder.png|EventBuilder Window}} 
- 
-The EventBuilder window will appear as part of starting the [[s800 daq tools#run control window|Run Control]]. This window will communicate statistics such as number of buffers read and number of events broadcast, and will also show error messages, should they occur. 
  
  
Line 45: Line 42:
  
  
-{{:wiki:mcfd16gui.jpg|MCFD GUI}}+{{:wiki:mcfdgui.png|MCFD GUI}}
  
  
   * To load the default CFD configuration go to **Load Setting**, select file **MCFD16.tcl** in directory **/user/operations/daq/usb/Config**, and click **Load**   * To load the default CFD configuration go to **Load Setting**, select file **MCFD16.tcl** in directory **/user/operations/daq/usb/Config**, and click **Load**
-   * Alternatively, it is possible to lead 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**. However, the names of the channels will not be displayed.
   * 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 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**
Line 97: Line 94:
 ==== 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 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. 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 ===== 
-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: 
- 
-1. On spdaq48 do: 
- 
-**/user/s800/operations/daq/usb/s800status/comms** 
- 
-which will open the status GUI. 
- 
-There are tabs for connections to the Readout GUI, the eventbuilder and a controls tab. 
- 
- 
-==== Readout GUI tab ==== 
-The communications port to the Readout GUI is tcp:7999 and it runs by default on spdaq48. These options are selected by default in the server and port drop down boxes, but other values can be entered here by hand. Clicking "Get Status" will connect to this server/port combination and attempt to fill in the Run Info section with the returned information. The status will also be updated. 
- 
-{{:wiki:comms.png?500|S800 Status GUI}} 
  
  
Line 142: Line 123:
  
 If the eventbuilder is hanging, which is evidenced by non-increasing statistics and no data/triggers, then it is possible that one of these processes has crashed in a manner that holds open the tcp connection to the eventbuilder. The process can be killed, which will return the DAQ to a normal running mode. If the eventbuilder is hanging, which is evidenced by non-increasing statistics and no data/triggers, then it is possible that one of these processes has crashed in a manner that holds open the tcp connection to the eventbuilder. The process can be killed, which will return the DAQ to a normal running mode.
- 
- 
-==== Controls tab ==== 
-This tab allows forced control of the Readout GUI, and is for advanced users only. In the event that the run must be stopped, or the DAQ software exited without access to the Readout GUI itself these buttons may be used to perform these actions. The run MUST be ended before using the Force Exit button, or it is likely that the USB crate controllers will become stuck in DAQ mode and the crates will have to be reset. 
- 
-{{:wiki:controls.png?500|Controls tab}} 
  
  
s800_daq_tools.txt · Last modified: 2023/10/19 17:25 by swartzj