Difference between revisions of "CODA"

From Tritium Experiments Group
Jump to navigation Jump to search
Line 23: Line 23:
 
* If you need to troubleshoot CODA follow this link for [https://wiki.jlab.org/tegwiki/index.php/Coda_expert How To's]
 
* If you need to troubleshoot CODA follow this link for [https://wiki.jlab.org/tegwiki/index.php/Coda_expert How To's]
  
===Reboot ROC31===
+
===Reboot ROCs===
  
 
If a ROC fails to configure or download, see if the ROC window is still visible.
 
If a ROC fails to configure or download, see if the ROC window is still visible.
  
--If it is visible, do the folowing:
+
--For VXWORKS ROCs (ROC3, ROC4, ROC5)
#Type 'kcoda' at a terminal (as user adaq on adaq1 machine).
+
#click in the terminal
#Type 'killdvcsrocs' at the same terminal.
+
#press enter to get a prompt ("->")
#Type 'startcoda' at the same terminal to initiate a new session.
+
#type "reboot", hit enter, and wait
 +
#the ROC will reboot and reconnect to CODA
  
 
--If the ROC window cannot be seen, do the following:
 
--If the ROC window cannot be seen, do the following:
 
#Type 'kcoda' at a terminal (as user adaq on adaq1 machine).  
 
#Type 'kcoda' at a terminal (as user adaq on adaq1 machine).  
#Type 'killdvcsrocs' at the same terminal.
 
 
#Telnet to the port connected to the ROC you need to service (e.g. telnet hatsv21 2002). ROC27 is on port 4 (2004 ) , ROC28 on port 3 ( 2003 ), ROC29 on port 2 (2002) , ROC31 is on hatsv4 port 1
 
#Telnet to the port connected to the ROC you need to service (e.g. telnet hatsv21 2002). ROC27 is on port 4 (2004 ) , ROC28 on port 3 ( 2003 ), ROC29 on port 2 (2002) , ROC31 is on hatsv4 port 1
 
#Type 'q'
 
#Type 'q'

Revision as of 14:53, 10 November 2017

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

Direct link to the entire repository of information.


Start CODA

  • 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.

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. Then hit "Configure" (the wrench icon) and Download (floppy icon), and finally "Start Run", or, to troubleshoot, "Download", "Prestart", and "Go".

Starting CODA from Scatch

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

Reboot ROCs

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

--For VXWORKS ROCs (ROC3, ROC4, ROC5)

  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:

  1. Type 'kcoda' at a terminal (as user adaq on adaq1 machine).
  2. Telnet to the port connected to the ROC you need to service (e.g. telnet hatsv21 2002). ROC27 is on port 4 (2004 ) , ROC28 on port 3 ( 2003 ), ROC29 on port 2 (2002) , ROC31 is on hatsv4 port 1
  3. Type 'q'
  4. Type 'CAEN'. (Nothing will display on screen at you type.)
  5. A menu with options to control the Crate will appear. Type 'C' to view the status of the crate.
  6. If the crate is off, type the letter 'o' to turn it on.
  7. Type the letter 'q' twice to leave the crate control.
  8. Type 'ctrl+]' to exit the ROC.
  9. Type 'q' at the "telnet>" prompt.
  10. At the terminal, type 'dvcsrocs'. See if windows for all ROC windows appear. If they do, type 'killdvcsrocs'.
  11. Type 'startcoda' to initiate a new session.

--a remote power switch is installed on DVCS rack mostly for the trigger and VME trigger crate