Difference between revisions of "UITF Mott CODA Scripts"

From Ciswikidb
Jump to: navigation, search
(Script descriptions)
Line 35: Line 35:
 
* MottEpicsStart
 
* MottEpicsStart
 
  /opt/idaq/coda/logentry_scripts/MottEpicsStart
 
  /opt/idaq/coda/logentry_scripts/MottEpicsStart
 +
:- 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/
  
 
* displayZenity.sh
 
* displayZenity.sh
 
  /opt/idaq/coda/logentry_scripts/displayZenity.sh
 
  /opt/idaq/coda/logentry_scripts/displayZenity.sh
 +
:- GUI to ask user for Run Start Comment

Revision as of 21:23, 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
- 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/
  • displayZenity.sh
/opt/idaq/coda/logentry_scripts/displayZenity.sh
- GUI to ask user for Run Start Comment