Difference between revisions of "CODA Scripts"

From Ciswikidb
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
| go
 
| go
 
| /opt/idaq/scripts/refreshrun
 
| /opt/idaq/scripts/refreshrun
| Update PEPPoRunNumber with new Run Number
+
| Update MottRunNumber with new Run Number
| PEPPoRunNumber
+
| MottRunNumber
 
|-
 
|-
 
| ER1
 
| ER1
Line 18: Line 18:
 
| Start-of-run Entry in POLOG
 
| Start-of-run Entry in POLOG
 
| [[media:Start_EPICS_List.txt]]
 
| [[media:Start_EPICS_List.txt]]
 +
|-
 +
| ER1
 +
| go
 +
| /opt/idaq/scripts/logrun.tcl
 +
| Creates Start-of-run log to MOTTLOG with relevant EPICS values
 +
| [[media:Long_EPICS_List.txt]]
 
|-
 
|-
 
| ER1
 
| ER1
Line 30: Line 36:
 
| Insert short list of EPICS values in CODA data stream every 4 s under evet_type = 131
 
| Insert short list of EPICS values in CODA data stream every 4 s under evet_type = 131
 
| [[media:Fast_EPICS_List.txt]]
 
| [[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
 
| ER1
Line 37: Line 49:
 
| [[media:End_EPICS_List.txt]]
 
| [[media:End_EPICS_List.txt]]
 
|}
 
|}
 +
 +
* Relevant scaler-calculation and log code: /opt/idaq/scaler/scaser/scacli.c

Latest revision as of 21:26, 15 January 2015

Component Transition Script Purpose EPICS List
ER1 go /opt/idaq/scripts/refreshrun Update MottRunNumber with new Run Number MottRunNumber
ER1 go /opt/idaq/scripts/peppoRunStart Start-of-run Entry in POLOG media:Start_EPICS_List.txt
ER1 go /opt/idaq/scripts/logrun.tcl Creates Start-of-run log to MOTTLOG with relevant EPICS values 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
* Relevant scaler-calculation and log code: /opt/idaq/scaler/scaser/scacli.c