Difference: ATF2BDSIMdaqsoftware (1 vs. 2)

Revision 215 Feb 2016 - LaurieNevay

Line: 1 to 1
META TOPICPARENT name="ATF2201506visit"

DAQ Software

Line: 76 to 76

-- LaurieNevay - 17 Jun 2015



Settings just to customise this page

 \ No newline at end of file

Revision 117 Jun 2015 - LaurieNevay

Line: 1 to 1
META TOPICPARENT name="ATF2201506visit"

DAQ Software


  • EPICS ioc database
  • Python utilities for data recording and analysis
  • shell scripts to control general starting and stopping of processing


All software (NOT DATA) is provided in the following git repository. Most of this software is adapted from the ATF2 Laserwire DAQ but with significant improvements to the software as well as simplification and generalisation. This could easily be adapted for another similar DAQ.


  • Edit the file LOCALSETTINGS.txt to point the appropriate directories

PVs - from background EPICS DB

* requires access to "localhost" on EPICS_CA_ADDR_LIST

PV Function
bg:detector1:signal detector 1 normalised signal
bg:detector1:adcraw detector 1 raw value from adc
bg:detector1:background detector 1 background adc counts
bg:detector2:signal detector 2 normalised signal
bg:detector2:adcraw rdetector 2 aw value from adc
bg:detector2:background detector 2 background adc counts
bg:adcdata:signal all signal data from adc
bg:adcdata:raw all raw data from adc
bg:adcdata:background all background data for adc
bg:progress percentage complete for scans
bg:edm:logn number of pulses to record in log - for gui interaction

PVs - from ATF2

* requires access to "ccnet8.atf-local:5068" on EPICS_CA_ADDR_LIST

EXT:PMT_A:ACT_VOL_READ voltage applied to detector 1
EXT:PMT_B:ACT_VOL_READ voltage applied to detector 2
cc8:adcArray adc raw data

Also recorded

  • all magnet currents in extraction line & final focus
  • some bba offsets - TO BE FIXED to all - in extraction line and final focus
  • cbpm-xpos
  • cbpm-ypos


  • NOTE: all software must be run from the "run" directory

  • log in to cbpm-lxs2 (must be on atf local network)
  • cd background
  • source bgprofile.sh
  • cd run
  • edm -x bg

Python Utilities

  • NOTE: all software must be run from the "run" directory

Module *Function
Data.py data reading and writing - contains data format, agnostic of specific variables stored
Acq.py acquisition and logging classes
bgProcess.py pulse to pulse processing
bgStartup.py restoration of PVs to previous state upon startup

-- Public.LaurieNevay - 17 Jun 2015

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback