Difference between revisions of "How to run CODA"

From Ciswikidb
Jump to navigation Jump to search
(Created page with "= How to run CODA = CODA crl files are in: idaq@opsmdaq0: /opt/idaq/crl CODA scripts files are in: idaq@opsmdaq0: /opt/idaq/scripts * From an accelerator machine: '''ssh -X i...")
 
 
(43 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= How to run CODA =
+
=='''CODA Startup'''==
  
CODA crl files are in: idaq@opsmdaq0: /opt/idaq/crl
+
go to injector -> spin -> mott measurement control and open scripts there
 +
see "startcoda help" for diretions on using CODA
  
CODA scripts files are in: idaq@opsmdaq0: /opt/idaq/scripts
 
  
* From an accelerator machine: '''ssh -X idaq@opsmdaq0'''
+
Obsolete way:  
Note: '''idaq''' is the injector DAQ account and uses ssh authorized_keys for login - no need to enter password and open few '''xterm &''' windows.
 
  
   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
  
  xterm 2: msqld (the CODA msqld database is usually running unless opsmdaq0 was rebooted)
+
Execute the following few steps:
 +
'''% startcoda'''
  
  xterm 3: platform
+
Note: Instead of using the above script, we used this old way to do it: [[Old Procedure to Start CODA]]
  
  xterm 4: codamaster
+
=='''Start and Stop a Run'''==
  
Choose the configuration: '''Mott_Sample'''
+
From Run Control panel, select in the following order (Note: if any of the selection is already completed, move to the next step):
 
 
When the CODA MASTER panel appears, select '''Config''' => '''Enable Buttons'''.
 
 
 
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.
 
 
 
Select '''Run Control''' and the main CODA panel will appear.
 
 
 
 
 
== Start and Stop a Run ==
 
 
 
From Run Control panel, select in the following order:
 
 
# '''Sessions''' => '''inj'''
 
# '''Sessions''' => '''inj'''
 
# '''Configurations''' => '''Cool''' => '''Mott_Sample'''
 
# '''Configurations''' => '''Cool''' => '''Mott_Sample'''
Line 34: Line 23:
 
# '''Configure'''
 
# '''Configure'''
 
# '''Download'''  
 
# '''Download'''  
# '''Prestart'''
+
# '''Prestart''' (or '''Start'''. Note that '''Start''' combines both '''Prestart''' and '''Go''')
# '''Start'''  
+
# '''Go'''  
 +
 
 +
[[file:RunControl_screen2.png|none|300px]]
  
At the end:
+
To stop a run:
 
<ol start="8">
 
<ol start="8">
<li>'''Stop'''</li>
+
<li>'''End'''</li>
 +
</ol>
 +
To start a new run, select:
 +
<ol start="1">
 +
<li>'''Prestart''' (or '''Start'''. Note that '''Start''' combines both '''Prestart''' and '''Go''') </li>
 +
<li>'''Go'''</li>
 +
<li>'''End'''</li>
 
</ol>
 
</ol>
 
and if you want to apply a change or you need a new configuration:
 
and if you want to apply a change or you need a new configuration:
Line 48: Line 45:
  
  
== Mott DAQ iocmdaq1 ==
 
  
* There are two ways to access the Mott DAQ ioc:
+
=='''Issues and FAQ'''==
# From an accelerator machine: '''telnet iocmdaq1'''
 
# 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 is: idaq@opsmdaq0:/cs/op/iocs/iocmdaq1/startup
+
* 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 '^]'.
  
  The CODA boot file: idaq@opsmdaq0:/opt/coda/boot/mott_roc1.boot
+
  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