Difference between revisions of "UITF Mott CODA Scripts"

From Ciswikidb
Jump to: navigation, search
Line 1: Line 1:
 +
== COOL database process entries ==
 +
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 5: Line 7:
 
| '''Script'''
 
| '''Script'''
 
| '''Purpose'''
 
| '''Purpose'''
| '''EPICS List'''
 
 
|-
 
|-
 
| logentry_start
 
| logentry_start
Line 11: Line 12:
 
| /opt/idaq/coda/logentry_scripts/MakeEntry.sh %(rt) START %(rn) %(session)
 
| /opt/idaq/coda/logentry_scripts/MakeEntry.sh %(rt) START %(rn) %(session)
 
| Start of Run Entry to UITFMOTTLOG, start of dalma  
 
| Start of Run Entry to UITFMOTTLOG, start of dalma  
|
 
 
|-
 
|-
 
| logentry_end
 
| logentry_end
Line 17: Line 17:
 
| /opt/idaq/coda/logentry_scripts/MakeEntry.sh %(rt) END %(rn) %(session)
 
| /opt/idaq/coda/logentry_scripts/MakeEntry.sh %(rt) END %(rn) %(session)
 
| End of Run Entry to UITFMOTTLOG, end of dalma and attach log into entry if it exists
 
| End of Run Entry to UITFMOTTLOG, end of dalma and attach log into entry if it exists
|
 
 
|-
 
|-
 
| logentry_reset
 
| logentry_reset
Line 23: Line 22:
 
| /opt/idaq/coda/logentry_scripts/MakeEntry.sh %(rt) RESET %(rn) %(session)
 
| /opt/idaq/coda/logentry_scripts/MakeEntry.sh %(rt) RESET %(rn) %(session)
 
| Reset of Run Entry to UITFMOTTLOG, end of dalma and attach log into entry if it exists
 
| Reset of Run Entry to UITFMOTTLOG, end of dalma and attach log into entry if it exists
|
 
 
|}
 
|}
 +
 +
== Script descriptions ==
 +
* MakeEntry.sh
 +
/opt/idaq/coda/logentry_scripts/MakeEntry.sh
 +
:- Main script called by the CODA platform.
 +
:- Start/ends the dalma process
 +
:- Executes MottEpicsStart
 +
:- Executes displayZenity.sh
 +
:- Makes a logbook entry with the script results.
 +
 +
* MottEpicsStart
 +
/opt/idaq/coda/logentry_scripts/MottEpicsStart
 +
 +
* displayZenity.sh
 +
/opt/idaq/coda/logentry_scripts/displayZenity.sh

Revision as of 21:20, 2 July 2022

COOL database process entries

Process Name Transition Script Purpose
logentry_start After Prestart /opt/idaq/coda/logentry_scripts/MakeEntry.sh %(rt) START %(rn) %(session) Start of Run Entry to UITFMOTTLOG, start of dalma
logentry_end After End /opt/idaq/coda/logentry_scripts/MakeEntry.sh %(rt) END %(rn) %(session) End of Run Entry to UITFMOTTLOG, end of dalma and attach log into entry if it exists
logentry_reset Before Reset /opt/idaq/coda/logentry_scripts/MakeEntry.sh %(rt) RESET %(rn) %(session) Reset of Run Entry to UITFMOTTLOG, end of dalma and attach log into entry if it exists

Script descriptions

  • MakeEntry.sh
/opt/idaq/coda/logentry_scripts/MakeEntry.sh
- Main script called by the CODA platform.
- Start/ends the dalma process
- Executes MottEpicsStart
- Executes displayZenity.sh
- Makes a logbook entry with the script results.
  • MottEpicsStart
/opt/idaq/coda/logentry_scripts/MottEpicsStart
  • displayZenity.sh
/opt/idaq/coda/logentry_scripts/displayZenity.sh