Difference between revisions of "How to run CODA"

From Ciswikidb
Jump to navigation Jump to search
Line 21: Line 21:
  
 
Two ways to execute the following few steps:
 
Two ways to execute the following few steps:
  '''startcoda''' (then skip to ''Start and Stop a Run'')
+
  '''% startcoda''' (then skip to ''Start and Stop a Run'')
  
 
  Or: Open few '''xterm &''' windows.
 
  Or: Open few '''xterm &''' windows.
  
   xterm 1: telnet iocmdaq1
+
   xterm 1: % telnet iocmdaq1
  
 
   [[file:CODA_xterm_screen1.jpg|none|300px]]
 
   [[file:CODA_xterm_screen1.jpg|none|300px]]
  
   xterm 2: msqld (the CODA msqld database is usually running unless opsmdaq0 was rebooted)
+
   xterm 2: % msqld (the CODA msqld database is usually running unless opsmdaq0 was rebooted)
  
 
   [[file:CODA_xterm_screen2.jpg|none|300px]]
 
   [[file:CODA_xterm_screen2.jpg|none|300px]]
  
   xterm 3: platform
+
   xterm 3: % platform
  
 
   [[file:CODA_xterm_screen3.jpg|none|300px]]
 
   [[file:CODA_xterm_screen3.jpg|none|300px]]
  
   xterm 4: codamaster
+
   xterm 4: % codamaster
  
 
   [[file:CODA_xterm_screen4.jpg|none|300px]]
 
   [[file:CODA_xterm_screen4.jpg|none|300px]]

Revision as of 16:58, 25 November 2013

Mott DAQ iocmdaq1

There are two ways to access the Mott DAQ ioc: 
  1. From an accelerator machine: telnet iocmdaq1
  2. From an accelerator machine: ioc_concole iocmdaq1. Here you need to enter a password to this cannot be done with the idaq account.
The startup file: idaq@opsmdaq0:/cs/op/iocs/iocmdaq1/startup
The CODA boot file: idaq@opsmdaq0:/opt/coda/boot/mott_roc1.boot

CODA Files

CODA crl files are in: idaq@opsmdaq0: /opt/idaq/crl
CODA scripts files are in: idaq@opsmdaq0: /opt/idaq/scripts

CODA Startup

 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

Two ways to execute the following few steps:

% startcoda (then skip to Start and Stop a Run)
Or: Open few xterm & windows.
 xterm 1: % telnet iocmdaq1
CODA xterm screen1.jpg
 xterm 2: % msqld (the CODA msqld database is usually running unless opsmdaq0 was rebooted)
CODA xterm screen2.jpg
 xterm 3: % platform
CODA xterm screen3.jpg
 xterm 4: % codamaster
CODA xterm screen4.jpg
 Choose the configuration: Mott_Sample
CODAConfig screen.jpg
 When the CODA MASTER panel appears, select Config => Enable Buttons.
CODA MASTER screen.jpg
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.
CODA MASTER screen1.jpg
Select Run Control and the main CODA panel will appear. 
RunControl screen1.jpg


Start and Stop a Run

From Run Control panel, select in the following order:

  1. Sessions => inj
  2. Configurations => Cool => Mott_Sample
  3. Platform => Connect
  4. Configure
  5. Download
  6. Prestart
  7. Start
RunControl screen2.jpg

At the end:

  1. Stop

and if you want to apply a change or you need a new configuration:

  1. Reset

and start from number 5.