Difference between revisions of "UITF Mott CODA Scripts"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | == COOL database process entries == | ||
+ | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 5: | Line 7: | ||
| '''Script''' | | '''Script''' | ||
| '''Purpose''' | | '''Purpose''' | ||
− | |||
|- | |- | ||
| 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 == | ||
+ | |||
+ | /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 |
Revision as of 21: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