Difference between revisions of "CODA Scripts"

From Ciswikidb
Jump to navigation Jump to search
 
(10 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
| '''Script'''
 
| '''Script'''
 
| '''Purpose'''
 
| '''Purpose'''
 +
| '''EPICS List'''
 
|-
 
|-
 
| ER1
 
| ER1
 
| go
 
| go
 
| /opt/idaq/scripts/refreshrun
 
| /opt/idaq/scripts/refreshrun
| '''Purpose'''
+
| Update MottRunNumber with new Run Number
 +
| MottRunNumber
 
|-
 
|-
 
| ER1
 
| ER1
 
| go
 
| go
 
| /opt/idaq/scripts/peppoRunStart
 
| /opt/idaq/scripts/peppoRunStart
| '''Purpose'''
+
| 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
 
| ER1
 
| go
 
| go
 
| /opt/idaq/scripts/epicsLogger1 &
 
| /opt/idaq/scripts/epicsLogger1 &
| '''Purpose'''
+
| Insert long list of EPICS values in CODA data stream every 30 s under evet_type = 131
 +
| [[media:Long_EPICS_List.txt]]
 
|-
 
|-
 
| ER1
 
| ER1
 
| go
 
| go
 
| /opt/idaq/scripts/fastEpicsLogger &
 
| /opt/idaq/scripts/fastEpicsLogger &
| '''Purpose'''
+
| 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
 
| ER1
 
| end
 
| end
 
| /opt/idaq/scripts/epics_end &
 
| /opt/idaq/scripts/epics_end &
| '''Purpose'''
+
| End-of-run Entry in POLOG
 +
| [[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