Difference between revisions of "UITF Mott CODA Scripts"

From Ciswikidb
Jump to navigation Jump to search
Line 1: Line 1:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| '''Component'''
+
| '''Process Name'''
 
| '''Transition'''
 
| '''Transition'''
 
| '''Script'''
 
| '''Script'''
Line 7: Line 7:
 
| '''EPICS List'''
 
| '''EPICS List'''
 
|-
 
|-
| ER1
+
| logentry_start
| go
+
| After Prestart
| /opt/idaq/scripts/refreshrun
+
| /opt/idaq/coda/logentry_scripts/MakeEntry.sh %(rt) START %(rn) %(session)
| Update MottRunNumber with new Run Number
+
| Start of Run Entry to UITFMOTTLOG, start of dalma
| MottRunNumber
+
|  
 
|-
 
|-
| ER1
+
| logentry_end
| go
+
| After End
| /opt/idaq/scripts/peppoRunStart
+
| /opt/idaq/coda/logentry_scripts/MakeEntry.sh %(rt) END %(rn) %(session)
| Start-of-run Entry in POLOG
+
| End of Run Entry to UITFMOTTLOG, end of dalma and attach log into entry if it exists
| [[media:Start_EPICS_List.txt]]
+
|
 
|-
 
|-
| ER1
+
| logentry_reset
| go
+
| Before Reset
| /opt/idaq/scripts/logrun.tcl
+
| /opt/idaq/coda/logentry_scripts/MakeEntry.sh %(rt) RESET %(rn) %(session)
| Creates Start-of-run log to MOTTLOG with relevant EPICS values
+
| Reset of Run Entry to UITFMOTTLOG, end of dalma and attach log into entry if it exists
| [[media:Long_EPICS_List.txt]]
+
|  
|-
 
| ER1
 
| go
 
| /opt/idaq/scripts/epicsLogger1 &
 
| Insert long list of EPICS values in CODA data stream every 30 s under evet_type = 131
 
| [[media:Long_EPICS_List.txt]]
 
|-
 
| ER1
 
| go
 
| /opt/idaq/scripts/fastEpicsLogger &
 
| Insert short list of EPICS values in CODA data stream every 4 s under evet_type = 131
 
| [[media:Fast_EPICS_List.txt]]
 
|-
 
| ER1
 
| go
 
| /opt/idaq/scripts/logendrun.tcl
 
| End-of-run log to MOTTLOG with relevant EPICS and scaler* values
 
| [[media:Injector_epics.txt]]
 
|-
 
| ER1
 
| end
 
| /opt/idaq/scripts/epics_end &
 
| End-of-run Entry in POLOG
 
| [[media:End_EPICS_List.txt]]
 
 
|}
 
|}

Revision as of 03:51, 3 February 2022

Process Name Transition Script Purpose EPICS List
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