Difference between revisions of "How to run CODA"

From Ciswikidb
Jump to navigation Jump to search
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
=='''CODA Startup'''==
 
=='''CODA Startup'''==
  
  From an accelerator machine: '''ssh -X idaq@opsmdaq0'''
+
go to injector -> spin -> mott measurement control and open scripts there
Note: '''idaq''' is the injector DAQ account and uses ssh authorized_keys for login - no need to enter password
+
see "startcoda help" for diretions on using CODA
  
Two ways to execute the following few steps:
 
'''% startcoda''' (then skip to ''Start and Stop a Run'')
 
  
Or: Open few '''xterm &''' windows.
+
Obsolete way:  
  
   xterm 1: % telnet iocmdaq1
+
   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
  [[file:CODA_xterm_screen1.jpg|none|300px]]
 
 
 
  xterm 2: % msqld (the CODA msqld database is usually running unless opsmdaq0 was rebooted)
 
 
 
  [[file:CODA_xterm_screen2.jpg|none|300px]]
 
 
 
  xterm 3: % platform
 
 
 
  [[file:CODA_xterm_screen3.jpg|none|300px]]
 
 
 
  xterm 4: % codamaster
 
 
 
  [[file:CODA_xterm_screen4.jpg|none|300px]]
 
 
 
  Choose the configuration: '''Mott_Sample'''
 
 
 
  [[file:CODAConfig_screen.jpg|none|150px]]
 
 
 
  When the CODA MASTER panel appears, select '''Config''' => '''Enable Buttons'''.
 
 
 
  [[file:CODA_MASTER_screen.jpg|none|300px]]
 
 
 
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.
 
 
 
  [[file:CODA_MASTER_screen1.jpg|none|300px]]
 
 
 
Select '''Run Control''' and the main CODA panel will appear.
 
 
 
[[file:RunControl_screen1.jpg|none|300px]]
 
  
 +
Execute the following few steps:
 +
'''% startcoda'''
  
 +
Note: Instead of using the above script, we used this old way to do it: [[Old Procedure to Start CODA]]
  
 
=='''Start and Stop a Run'''==
 
=='''Start and Stop a Run'''==
Line 73: Line 43:
 
</ol>
 
</ol>
 
and start from number 5.
 
and start from number 5.
 +
 +
 +
 +
=='''Issues and FAQ'''==
 +
 +
* Set '''Event Limit''' in Run Control: '''Options''' =>  '''Scheduler''' => '''Program''': Enter Event Limit
 +
* How to reboot '''iocmdaq1''':
 +
idaq@opsmdaq0 > telnet iocmdaq1
 +
Trying 129.57.236.241...
 +
Connected to iocmdaq1.
 +
Escape character is '^]'.
 +
 +
vxwrks@iocmdaq1 -> reboot

Latest revision as of 14:27, 5 August 2021

CODA Startup

go to injector -> spin -> mott measurement control and open scripts there see "startcoda help" for diretions on using CODA


Obsolete way:

 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

Execute the following few steps:

% startcoda

Note: Instead of using the above script, we used this old way to do it: Old Procedure to Start CODA

Start and Stop a Run

From Run Control panel, select in the following order (Note: if any of the selection is already completed, move to the next step):

  1. Sessions => inj
  2. Configurations => Cool => Mott_Sample
  3. Platform => Connect
  4. Configure
  5. Download
  6. Prestart (or Start. Note that Start combines both Prestart and Go)
  7. Go
RunControl screen2.png

To stop a run:

  1. End

To start a new run, select:

  1. Prestart (or Start. Note that Start combines both Prestart and Go)
  2. Go
  3. End

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

  1. Reset

and start from number 5.


Issues and FAQ

  • Set Event Limit in Run Control: Options => Scheduler => Program: Enter Event Limit
  • How to reboot iocmdaq1:
idaq@opsmdaq0 > telnet iocmdaq1
Trying 129.57.236.241...
Connected to iocmdaq1.
Escape character is '^]'.
vxwrks@iocmdaq1 -> reboot