Difference between revisions of "Data Acquisition System"

From Ciswikidb
Jump to navigation Jump to search
 
(132 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==DAQ Hardware==
+
=='''DAQ Hardware'''==
  
* Electronic Map of Mott Crates (January 29, 2013):
+
* Electronic Map of Mott Crates (May 06, 2014):
[[Media:ElectronicsMap_20130129.pdf]]
+
[[Media:ElectronicsMap_May062014.pdf]]
  
[[Media:ElectronicsMap_20130129.ppt]]
+
[[Media:ElectronicsMap_May062014.pptx]]
  
* Cabling of FADC, Scalers, and TDC (January 29, 2013):  
+
* Cabling of FADC, Scalers, and TDC (February 12, 2014):  
[[Media:Cable_20130129.pdf]]
+
[[Media:Cable_Feb122014.pdf]]
  
[[Media:Cable_20130129.pptx]]
+
[[Media:Cable_Feb122014.pptx]]
  
* DAQ Timing (January 29, 2013):  
+
* DAQ Timing (February 12, 2014):  
[[Media:DAQ_Timing_20130129.pdf]]
+
[[Media:DAQ_Timing_Feb122014.pdf]]
  
[[Media:DAQ_Timing_20130129.pptx]]
+
[[Media:DAQ_Timing_Feb122014.pptx]]
  
 +
* Discriminator threshold adjustments (18January2015):
 +
[[Media:Discriminator_threshold_adjustment.odt]]
  
= How to run CODA =
+
[[Media:Discriminator_threshold_adjust.ods]]
  
* From an accelerator machine: '''ssh -X idaq@opsmdaq0''' (Note: '''idaq''' is the injector DAQ account and uses ssh authorized_keys for login - no need to enter password) and open few '''xterm &''' windows.
 
  
  xterm 1: telnet iocmdaq1
 
  
  xterm 2: msqld (the CODA msqld database is usually running unless opsmdaq0 was rebooted)
 
  
  xterm 3: platform
+
=='''DAQ Software'''==
  
  xterm 4: codamaster
+
* '''[[How to run CODA]]'''
  
Choose the configuration: '''Mott_Sample'''
+
* '''[[Online Monitoring]]'''
  
When the CODA MASTER panel appears, select '''Config''' => '''Enable Buttons'''.
+
* '''[[Mott Analysis]]'''
  
Select '''ET System''', '''Event Builder''', '''Event Recorder''' and '''Run Control'''.
+
* '''[[CODA Summary]]'''
After doing that if you will click on '''Get Status''' you will find status of ''' ER1''', '''EB1''' and '''ROC1'''. All buttons must be green.
 
  
Select '''Run Control''' and the main CODA panel will appear.
+
* '''[[CODA Scripts]]'''
  
  
== Start and Stop a Run ==
 
  
From Run Control panel, select in the following order:
 
# '''Sessions''' => '''inj'''
 
# '''Configurations''' => '''Cool''' => '''Mott_Sample'''
 
# '''Platform''' => '''Connect'''
 
# '''Configure'''
 
# '''Download'''
 
# '''Prestart'''
 
# '''Start'''
 
  
At the end:
+
=='''Manuals and References'''==
<ol start="8">
+
* Jefferson Lab Data Acquisition Group CODA Wiki [https://coda.jlab.org/drupal/]
<li>'''Stop'''</li>
 
</ol>
 
and if you want to apply a change or you need a new configuration:
 
<ol start="9">
 
<li>'''Reset'''</li>
 
</ol>
 
and start from number 5.
 
  
 +
* CAEN VME Crate Manual - VME8200 9U 21Slot (VME64x backplane with no P0 connector) [[media:VME8200_Manual.pdf]]
  
== Mott DAQ iocmdaq1 ==
 
  
* There are two ways to access the Mott DAQ ioc:
 
# From an accelerator machine: '''telnet iocmdaq1'''
 
# From an accelerator machine: '''ioc_concole iocmdaq1'''. Here you need to enter a password to this cannot be done with the idaq account.
 
  
  
= Online Monitoring =
+
=='''To-do List'''==
  
== xscaler : scaler monitoring ==
+
* Analysis List:
 +
# Add delayed helicity analysis for Mott_Sample and Mott_SemiInt Modes. Delayed analysis is already included for Scalers and PEPPo_Int Modes.
 +
# Modify decoder for the updated Mott_SemiInt mode. Started: /work/idaq/Mott/Analysis/1, Runs: 7642, 7672. Sample: 7673
 +
# Update MottOnline
 +
# Replace "PEPPo" with "Mott" in scripts, decoder, ... .
  
"xscaler" is a graphical display of the scalers from the PEPPO DAQ. 
 
  
If you login to opsmdaq0 as the "idaq" user, and type "xscaler", it will tell you exactly what to do.
+
* '''[[New Delayed Helicity Readout Scheme for Physics Events Trigger]]'''
And that is:
 
  
cd /opt/idaq/xscaler ; ./xscaler
 
  
and don't forget the dot (.) and the slash (/) in front of xscaler.
+
* Things to do to speed up the DAQ and reduce deadtime:
 +
# Use the new SemiIntFast Mode:
 +
## Upgrade the time-of-flight readout to the FADC TDC mode
 +
## Upgrade the scalers readout to the FADC Scaler mode
 +
## Add Block Readout
 +
# Reduce the Mott Trigger rate by rejecting low energy electrons or dump events:
 +
## Increase E-detector discriminator thresholds
 +
## Veto dump events using beam timing signal
  
== Dead Time detector screen ==
+
* Max's list of random things
 
+
# need to get the signal propagation vs. electron TOF delay for the helicity decoder correct
There is a display to monitor the detector deat time over all the run. To run it use the idaq user on opsmdaq0. A disply will appear typing, in one terminal:
 
 
 
  datamon
 
 
 
[[Image:DatamonDisplay.png]]
 
 
 
== scaler data written to EPICS ==
 
 
 
The scaler data which appears in xscaler (see above for xscaler) is also written to EPICS.
 
The data are rates in Hz.
 
 
 
The EPICS channels are of the form "Inj_ScalerN_ChM" where N = 1,2,3 and M = 1,2,3,4,...32
 
See xscaler for what the channels mean.
 
 
 
To retieve data from EPICS you can, for example, do this:
 
 
 
caget Inj_Scaler1_Ch24
 
Inj_Scaler1_Ch24              484195
 
 
 
The number here means 484195 Hz.
 
 
 
== PEPPo scaler and cristal monitoring ==
 
to launch monitoring log on opsmdaq0 using idaq user and from the idaq home directory tape.
 
* peppoOnline
 
 
 
two windows open, the smaller one have buttons to control the plot to see, the biggest one shows the plot to monitor.
 
 
 
=== Menu and buttons description ===
 
 
 
[[Image:Visu.png]]
 
 
 
3 menus are available:
 
1) File menu allows a) to save the plot windows in file, b) print the content of the plot window
 
and c) exit
 
2) Basic Plots allows to plot quickly predefined variables. a) "scalers" plot rates and count of the 32 channels scaler (S1 and S2). X axis is the scaler channel nb. b) "TDC Peppo" shows the TDC for the 9 PMTs of PEPPO, c) FADC Peppo shows the integral of the FADC for the 9 PMTs of PEPPO. other shows the integral of the FADC and TDC individual channels.
 
3) "zoom" allows to a) unzoom all, b) zoom all, c) zoom automatically around the maximum of each spectra
 
 
 
5 buttons on the bottom of the window are available: "LIN" allows to switch between linear and log for Y axis (affect all the spectrae), "Updating" in green plots are updated,  in red "No Update" the plots are not updated to allow print, zoom, or analyzed the spectra (all of these stuff can be done while updating). "Print" is the same thing that the menu "File/Print", "CLEAR" is to reset all the histograms (Reset also automatically occurs at the beginning of the run).
 
 
 
It is possible to choose only 1 or 2 specific histogramms:
 
Choose the number of plot you want in the window ("number of plots") and then choose the variable.
 
 
 
== Annihilation Monitor ==
 
There is another online monitor for the Annihilation detector. Tu run it use the following command from the idaq:
 

Latest revision as of 16:39, 14 November 2024

DAQ Hardware

  • Electronic Map of Mott Crates (May 06, 2014):

Media:ElectronicsMap_May062014.pdf

Media:ElectronicsMap_May062014.pptx

  • Cabling of FADC, Scalers, and TDC (February 12, 2014):

Media:Cable_Feb122014.pdf

Media:Cable_Feb122014.pptx

  • DAQ Timing (February 12, 2014):

Media:DAQ_Timing_Feb122014.pdf

Media:DAQ_Timing_Feb122014.pptx

  • Discriminator threshold adjustments (18January2015):

Media:Discriminator_threshold_adjustment.odt

Media:Discriminator_threshold_adjust.ods



DAQ Software



Manuals and References

  • Jefferson Lab Data Acquisition Group CODA Wiki [1]



To-do List

* Analysis List:
  1. Add delayed helicity analysis for Mott_Sample and Mott_SemiInt Modes. Delayed analysis is already included for Scalers and PEPPo_Int Modes.
  2. Modify decoder for the updated Mott_SemiInt mode. Started: /work/idaq/Mott/Analysis/1, Runs: 7642, 7672. Sample: 7673
  3. Update MottOnline
  4. Replace "PEPPo" with "Mott" in scripts, decoder, ... .


* New Delayed Helicity Readout Scheme for Physics Events Trigger


* Things to do to speed up the DAQ and reduce deadtime:
  1. Use the new SemiIntFast Mode:
    1. Upgrade the time-of-flight readout to the FADC TDC mode
    2. Upgrade the scalers readout to the FADC Scaler mode
    3. Add Block Readout
  2. Reduce the Mott Trigger rate by rejecting low energy electrons or dump events:
    1. Increase E-detector discriminator thresholds
    2. Veto dump events using beam timing signal
* Max's list of random things
  1. need to get the signal propagation vs. electron TOF delay for the helicity decoder correct