Difference between revisions of "Data Acquisition System"
Line 122: | Line 122: | ||
It is possible to choose only 1 or 2 specific histogramms: | 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. | Choose the number of plot you want in the window ("number of plots") and then choose the variable. | ||
− | |||
− | |||
− |
Revision as of 08:22, 28 June 2013
DAQ Hardware
- Electronic Map of Mott Crates (January 29, 2013):
Media:ElectronicsMap_20130129.pdf
Media:ElectronicsMap_20130129.ppt
- Cabling of FADC, Scalers, and TDC (January 29, 2013):
- DAQ Timing (January 29, 2013):
Media:DAQ_Timing_20130129.pptx
How to run CODA
- 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
xterm 4: codamaster
Choose the configuration: Mott_Sample
When the CODA MASTER panel appears, select Config => Enable Buttons.
Select ET System, Event Builder, Event Recorder and Run Control. 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.
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:
- Stop
and if you want to apply a change or you need a new configuration:
- Reset
and start from number 5.
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
xscaler
"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. And that is:
cd /opt/idaq/xscaler ; ./xscaler
Dead Time detector screen
There is a display to monitor the detector dead time over all the run. To run it use the idaq user on opsmdaq0. A display will appear typing, in one terminal:
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 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
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.