Difference between revisions of "Data Acquisition System"

From Ciswikidb
Jump to navigation Jump to search
 
(127 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'''==
  
== '''Scalers: xscaler''' ==
+
* 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 Mott 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
 
  
 +
* 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: datamon''' ==
+
* 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 DAQ dead time. To run it use the idaq user on opsmdaq0. Type:
 
 
 
  datamon
 
 
 
 
 
== '''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 channels assignments.
 
 
 
To retrieve data from EPICS you can, for example, do this:
 
 
 
caget Inj_Scaler1_Ch24
 
Inj_Scaler1_Ch24              484195
 
 
 
The number here means 484195 Hz.
 
 
 
 
 
== '''Online Histogram Display''' ==
 
 
 
Log on opsmdaq0 using idaq user and from the idaq home directory and type: '''peppoOnline'''.
 
 
 
Two windows open, the smaller one have buttons to control the plot to see, the biggest one shows the plot to monitor.
 

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