Difference between revisions of "UITF Mott CODA Scripts"
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
== Script descriptions == | == Script descriptions == | ||
− | + | ||
/opt/idaq/coda/logentry_scripts/MakeEntry.sh | /opt/idaq/coda/logentry_scripts/MakeEntry.sh | ||
+ | * MakeEntry.sh RUNTYPE RUNSTATE RUNNUMBER | ||
:- Main script called by the CODA platform. | :- Main script called by the CODA platform. | ||
:- Start/ends the dalma process | :- Start/ends the dalma process | ||
Line 33: | Line 34: | ||
:- Makes a logbook entry with the script results. | :- Makes a logbook entry with the script results. | ||
− | |||
/opt/idaq/coda/logentry_scripts/MottEpicsStart | /opt/idaq/coda/logentry_scripts/MottEpicsStart | ||
+ | * MottEpicsStart RUNTYPE RUNSTATE RUNNUMBER | ||
:- script that stores the values of various EPICS variables to a file with format: | :- script that stores the values of various EPICS variables to a file with format: | ||
RUNTYPE_RUNSTATE_RUNNUMBER.epics | RUNTYPE_RUNSTATE_RUNNUMBER.epics | ||
Line 40: | Line 41: | ||
/data/idaq/epics/ | /data/idaq/epics/ | ||
− | |||
/opt/idaq/coda/logentry_scripts/displayZenity.sh | /opt/idaq/coda/logentry_scripts/displayZenity.sh | ||
+ | * displayZenity.sh RUNTYPE RUNNUMBER | ||
:- GUI to ask user for Run Start Comment | :- GUI to ask user for Run Start Comment |
Revision as of 20:24, 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
/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/
/opt/idaq/coda/logentry_scripts/displayZenity.sh
- displayZenity.sh RUNTYPE RUNNUMBER
- - GUI to ask user for Run Start Comment