Fixing the SBS DAQ
<<SBS Main
Contents
The DAQ will not run and I know nothing about CODA
Before attempting anything try to reset and start CODA two times. Often this will fix the issues. If CODA is still not working then follow these steps:
- If it is during the work day or you think it will take you more than 15 minutes to troubleshoot this yourself then call the RC immediately instead of following these steps
- First thing is to figure out which DAQ crate is causing the issue
- Look at the CODA GUI (figure 1), and look at the "Severity" information at the bottom
- Yellow "Warn" messages are fine
- Red "error" message must be fixed.
- If there are no errors then scroll up, sometimes they are pushed upward before you will notice them.
- If there are still no obvious errors call a DAQ expert
- Look at the crate name on the left column and determine which crate it is
- At this point if you want to try fixing the DAQ on your own go HERE.
- Do not do this if it is between 8 am and 10 pm and you think this will take you more than 10 minutes. Call the expert instead.
- Otherwise look at table HERE and call the expert matching that subsystem.
List of crates in the DAQ
CODA ROC Name | Subsystem | Reset Link |
ER1, ER2, ER3 | CODA Platform | HERE |
SEB1, SEB2, SEB3 | CODA Platform | HERE |
DC1, DC2 | CODA Platform | HERE |
sbsvtpROC24 | SBS GEMs | http://sbsgemcrate02.jlab.org |
sbsvtpROC25 | SBS GEMs | http://sbsgemcrate02.jlab.org |
vtpROC20 | BB GEMs | http://hallavme12.jlab.org |
hcalvtp1ROC28 | HCal | http://hcalvxs1.jlab.org |
hcalvtp1ROC29 | HCal | http://hcalvxs2.jlab.org |
hcalROC16 | HCal | http://hcalvxs1.jlab.org |
hcalROC17 | HCal | http://hcalvxs2.jlab.org |
sbsgemROC23 | SBS GEMs | None |
sbsgemROC22 | SBS GEMs | None |
grinchROC7 | GRINCH | http://grinchvxs.jlab.org |
lhrsROC10 | LHRS | http://lefthrsvxs.jlab.org |
bbgemROC19 | BB GEMs | None |
bbshowerROC6 | BBCal | http://bbshowervxs.jlab.org |
bbhodoROC6 | BBhodo | http://bbhodovxs.jlab.org |
sbsTS21 | CODA Platform | HERE |
Fixing the DAQ yourself
Almost all issues are fixed by restarting the right crate. Look at the table HERE and determine what subsystem matches the crate error.
- If it is a GEM crate go to GEM Crates
- If it is a different crate follow the reset links on the table above.
- If it is a "CODA Platform" issue then the reset must be through CODA. Go to Fixing CODA Platform Issues
Fixing CODA Platform Issues
- On the adaq@adaq2 desktop look for the folder labeled "SBS_coda_scripts" and open it.
- The following options will appear in front of you. First try clicking on "Restart CODA Components"
- If a CODA component continues being in a red "disconnected" state then instead try "Kill CODA Xterms" and then "Start Xterms".
- If things will still not work then try restarting the platform using the instructions below.
ssh adaq@adaq2 sudo systemctl restart platform.service
- Use the "Kill CODA Xterms" button and restart all terminals with "Start Xterms"
- If the DAQ still will not run then try this from any hadesk:
ssh sbs-onl@eel124gemdaq kcoda
- This will kill other processes that may be causing an issue
- The click on the "Restart CODA Components" button
RC GUI is Frozen
Sometime the RC GUI will be frozen and you cannot press any buttons or close it. If that happens then do the following in the terminal:
ps aux | grep ui.rcgui
You will get information in the terminal that looks like the picture below.
Inside the red rectangle is the process ID, which I will call the PID. To kill the GUI then do:
pkill -9 #PID
The GUI should close and then you can open a new GUI using the "CODA RunControl" button without issue.
GEM Crates
The GEMs have many crates and electronics that can cause issues.