CODA

From Tritium Experiments Group
Jump to: navigation, search

Back to Tritium-Main Back to How to Back to Third Person

Direct link to the entire repository of information.

Opening the Prescale GUI

  • Open a terminal on adaq1 or adaq2
    • For the left arm prescales type "prescaleL"
    • For the right arm prescales type "prescaleR"
    • If you are not at the adaq1 computer, you must terminal into the adaq1 machine.
    • Type "ssh -Y adaq@adaq1" , use the password for adaq. Please ask for the password if you do not know it.
  • After editing the prescale values you MUST click the save button or they will not apply.

Start CODA

single arm setup

  • Running CODA for LHRS open a terminal on adaq1 and type "startcoda".
    • If you are not at the adaq1 computer, you must terminal into the adaq1 machine.
    • Type "ssh -Y adaq@adaq1" , use the password for adaq. Please ask for the password if you do not know it.
  • Running CODA for RHRS open a terminal on adaq2 and type "startcoda".
    • If you are not at the adaq2 computer, you must terminal into the adaq2 machine.
    • Type "ssh -Y adaq@adaq2" , use the password for adaq. Please ask for the password if you do not know it.

e'p coincidence setup

  • Running CODA for RHRS open a terminal on adaq2 and type "startcoda coinc".
    • If you are not at the adaq2 computer, you must terminal into the adaq2 machine.
    • Type "ssh -Y adaq@adaq2" , use the password for adaq. Please ask for the password if you do not know it.

The runcontrol window will appear: File:Startcoda.png

Hit the "Platform" tab, followed by the "Connect" button. Under the Configurations tab, press Cool and choose the configuration desired (for e'p experiment, select RHRSTwoArm). Then hit "Configure" (the wrench icon) and Download (floppy icon), and finally "Start Run", or, to troubleshoot, "Download", "Prestart", and "Go".

Starting CODA from Scratch

  • If you need to troubleshoot CODA follow this link for How To's

for CODA DP Communication Error

if ROC20:

  • in a new terminal:
    • $ ssh -X intelha3
    • $ ./startroc_coincidence20.sh
  • try to configure CODA (it will fail with a "disconnected" error)
  • Ctrl-C in the terminal
  • again:
    • $ ./startroc_coincidence20.sh
  • CODA should say "roc20 | Client is Back"

if ROC31:

  • in a new terminal:
    • $ ssh -X halladaq8
    • $ ./startroc_coincidence31.sh asdf
  • try to configure CODA (it will fail with a "disconnected" error)
  • Ctrl-C in the terminal
  • again:
    • $ ./startroc_coincidence31.sh asdf
  • CODA should say "roc31 | Client is Back"


Reboot ROCs

If a ROC fails to configure or download, see if the ROC window is still visible.

--For VXWORKS ROCs

  • LHRS : ROC3, ROC4, ROC5, TS11
  • RHRS : ROC1, ROC2, ROC6, TS0
  1. click in the terminal
  2. press enter to get a prompt ("->")
  3. type "reboot", hit enter, and wait
  4. the ROC will reboot and reconnect to CODA

If the ROC window cannot be seen, do the following:

--if the ROC is either ROC31 or ROC20

  • ROC31 is on LHRS : In a terminal on adaq@adaq1, type 'kcoda'
  • ROC20 is on RHRS : In a terminal on adaq@adaq2, type 'kcoda'
Arm ROC Port Server Port command
LHRS ROC31 hatsv4 4 telnet hatsv4 2004
RHRS ROC20 hatsv3 7 telnet hatsv3 2007
  1. Telnet to the port connected to the ROC you need to service (e.g. telnet hatsv21 2002). ROC31 is on hatsv4 port 4 (2004), ROC20 is on hatsv3 port 7 (2007)
  2. Type 'q'
  3. Type 'CAEN'. (Nothing will display on screen at you type.)
  4. A menu with options to control the Crate will appear. Type 'C' to view the status of the crate.
  5. If the crate is off, type the letter 'o' to turn it on.
  • (If the crate is ON but is stuck and needs rebooted : type "o" to turn crate OFF. After 20 seconds, type "o" to turn it back ON)
  1. Type the letter 'q' twice to leave the crate control.
  2. Type 'ctrl+]' to exit the ROC.
  3. Type 'q' at the "telnet>" prompt.
  4. Start CODA
  • if telnet responds with "Connection Refused"
  1. telnet to the portserver itself (e.g. telnet hatsv4)
  2. username: root
  3. password: see "For Bodgan" paper
  4. type "kill tty=n", where 'n' is the port number (e.g. for 2004, n=4)
  5. '^]' to close telnet
  6. try to telnet to the port again (e.g. telnet hatsv4 2004)