UITF Mott CODA Scripts

From Ciswikidb
Revision as of 08:56, 12 July 2022 by Suleiman (talk | contribs)
Jump to navigation Jump to search

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

/opt/idaq/coda/logentry_scripts/MakeEntry.sh
  • MakeEntry.sh RUNTYPE RUNSTATE RUNNUMBER
- 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.
/opt/idaq/coda/logentry_scripts/MottEpicsStart
  • MottEpicsStart RUNTYPE RUNSTATE RUNNUMBER
- script that stores the values of various EPICS variables to a file with format:
RUNTYPE_RUNSTATE_RUNNUMBER.epics
and are stored in
/data/idaq/epics/

An example file is found below:


/opt/idaq/coda/logentry_scripts/displayZenity.sh
  • displayZenity.sh RUNTYPE RUNNUMBER
- GUI to ask user for Run Start Comment