Difference between revisions of "CODA Scripts"
Jump to navigation
Jump to search
(8 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 | ||
− | | Update | + | | Update MottRunNumber with new Run Number |
+ | | MottRunNumber | ||
|- | |- | ||
| ER1 | | ER1 | ||
Line 15: | Line 17: | ||
| /opt/idaq/scripts/peppoRunStart | | /opt/idaq/scripts/peppoRunStart | ||
| Start-of-run Entry in POLOG | | 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 & | ||
− | | Insert long list of EPICS values in CODA data every 30 s under evet_type=131 | + | | 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 & | ||
− | | Insert short list of EPICS values in CODA data 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]] | ||
+ | |- | ||
+ | | 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 30: | Line 47: | ||
| /opt/idaq/scripts/epics_end & | | /opt/idaq/scripts/epics_end & | ||
| End-of-run Entry in POLOG | | 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