Difference between revisions of "CODA"
From PREX Wiki
Jump to navigationJump to searchLine 12: | Line 12: | ||
* In a terminal type '''startcoda''' | * In a terminal type '''startcoda''' | ||
** 4 xterms will appear (red, orange, green and yellow) as well as the main CODA window (see Figure 1) | ** 4 xterms will appear (red, orange, green and yellow) as well as the main CODA window (see Figure 1) | ||
− | ** CODA will automatically load the last configuration used. If you are ok with this then just go to | + | ** CODA will automatically load the last configuration used. If you are ok with this then just go to ''Platform->Connect'' |
− | * To change the configuration, choose | + | * To change the configuration, choose ''Configurations->Cool'' |
** Select the desired configuration from the dropdown list | ** Select the desired configuration from the dropdown list | ||
** Production running would be ''ALL_PREX'' | ** Production running would be ''ALL_PREX'' | ||
** Once you have loaded a configuration, some of the icons (see descriptions below) will change from ''grey'' (see Figure 2) to ''green'' (Figures 3-5) | ** Once you have loaded a configuration, some of the icons (see descriptions below) will change from ''grey'' (see Figure 2) to ''green'' (Figures 3-5) | ||
* Press the configure icon (see Figure 3) | * Press the configure icon (see Figure 3) | ||
− | ** Warnings about waiting for a | + | ** Warnings about waiting for a ROC can be ignored if it does not take too long to respond (~10s) and things are eventually successful |
** Error messages should be taken seriously | ** Error messages should be taken seriously | ||
− | *** You can try a | + | *** You can try a ''Reset'' and re-''Configure'' |
*** If that doesn't work - see [[CODA#DAQ Troubleshooting|DAQ Troubleshooting]] | *** If that doesn't work - see [[CODA#DAQ Troubleshooting|DAQ Troubleshooting]] | ||
− | * Press the | + | * Press the ''Download'' icon (see Figure 4) |
Line 30: | Line 30: | ||
* Press the ''Prestart'' icon (see Figure 4) | * Press the ''Prestart'' icon (see Figure 4) | ||
** a window will pop up where you can add notes if necessary (not yet implemented for PREX) | ** a window will pop up where you can add notes if necessary (not yet implemented for PREX) | ||
− | ** submit or save the notes | + | ** submit or save the notes if applicable |
− | ** | + | ** As above, warnings about waiting for a ROC can be ignored (if it does not take too long to respond, ~10s) and things are eventually successful |
** Error messages should be taken seriously! | ** Error messages should be taken seriously! | ||
− | *** You can try a | + | *** You can try a ''Reset'' and re-''Configure'' |
*** If that doesn't work - see [[CODA#DAQ Troubleshooting|DAQ Troubleshooting]] | *** If that doesn't work - see [[CODA#DAQ Troubleshooting|DAQ Troubleshooting]] | ||
− | * Press Go (see Figure 5) | + | * Press ''Go'' (see Figure 5) |
** the event counter should start incrementing (see Figure 6) | ** the event counter should start incrementing (see Figure 6) | ||
** the event rates should be expected values | ** the event rates should be expected values | ||
Line 42: | Line 42: | ||
=== Ending a run === | === Ending a run === | ||
− | * Press | + | * Press '''End''' |
** if this was a normal end of the run, and it ends successfully | ** if this was a normal end of the run, and it ends successfully | ||
*** all the states should change to '''downloaded''' | *** all the states should change to '''downloaded''' | ||
− | *** the | + | *** the ''Prestart'' icon should be green |
* If the run ends because of a problem with CODA - see [[CODA#DAQ Troubleshooting|DAQ Troubleshooting]] | * If the run ends because of a problem with CODA - see [[CODA#DAQ Troubleshooting|DAQ Troubleshooting]] | ||
Revision as of 14:23, 9 June 2019
Starting Parity DAQ CODA
Starting the GUI
- Log in as apar@adaq1
- In a terminal type startcoda
- 4 xterms will appear (red, orange, green and yellow) as well as the main CODA window (see Figure 1)
- CODA will automatically load the last configuration used. If you are ok with this then just go to Platform->Connect
- To change the configuration, choose Configurations->Cool
- Select the desired configuration from the dropdown list
- Production running would be ALL_PREX
- Once you have loaded a configuration, some of the icons (see descriptions below) will change from grey (see Figure 2) to green (Figures 3-5)
- Press the configure icon (see Figure 3)
- Warnings about waiting for a ROC can be ignored if it does not take too long to respond (~10s) and things are eventually successful
- Error messages should be taken seriously
- You can try a Reset and re-Configure
- If that doesn't work - see DAQ Troubleshooting
- Press the Download icon (see Figure 4)
Starting a run
- After starting the GUI and loading a configuration (see above)
- Press the Prestart icon (see Figure 4)
- a window will pop up where you can add notes if necessary (not yet implemented for PREX)
- submit or save the notes if applicable
- As above, warnings about waiting for a ROC can be ignored (if it does not take too long to respond, ~10s) and things are eventually successful
- Error messages should be taken seriously!
- You can try a Reset and re-Configure
- If that doesn't work - see DAQ Troubleshooting
- Press Go (see Figure 5)
- the event counter should start incrementing (see Figure 6)
- the event rates should be expected values
Ending a run
- Press End
- if this was a normal end of the run, and it ends successfully
- all the states should change to downloaded
- the Prestart icon should be green
- if this was a normal end of the run, and it ends successfully
- If the run ends because of a problem with CODA - see DAQ Troubleshooting
Description of the GUI
Numbered from the top left of the GUI window (see any of the Figures):
- Configure (tools) - this opens a drop-down menu to choose the configuration
- Download (floppy disk) - this loads the chosen configuration to the crates
- Prestart () - this will prepare to start a run
- Go (triangle with point to right) - this starts a run
- End (square) - this ends a run
- Fast Start (double-triangle pointing right) tries to go through all the steps (can be used as long as things aren't changing)
- Reset (double-triangle pointing left) configured, but not downloaded (if you need to change configuration or GUI is wonky)
- Pause (two vertical bars) - pauses a run (rarely used - to quote Paul King "Nothing good can come of this.")
Instructions for shift checklist
- Latest run type (Test, Physics,..)
- Is the auto replay script running (ask the analysis expert)?
- Is the PREX run list (in a white binder) completed? (are we going to do this?)
- Please attach the left/right HV and Scalers Screenshots to the shift report
- Time of beginning of latest run (RHRS)
- Latest run number
- Dead time (%)
DAQ Troubleshooting
- Either the Event Builder (EB1) or Event Recorder (ER1) are disconnected
- kcoda
- startcoda (follow instructions for starting CODA)
- If a ROC is disconnected
- try to reset; if successful you should get Client is back message and everything should report Configured
- if a ROC is still reporting a problem - note which ROC is reporting the problem
- if the console for that ROC is responding type reboot and enter
- otherwise, use the remote power cycle to reboot that ROC (link to be added later)