Tags:
create new tag
view all tags

DAQ Software

Introduction

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

Source

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.

Setup

  • 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

EDM - The GUI

  • 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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions

Physics WebpagesRHUL WebpagesCampus Connect • Royal Holloway, University of London, Egham, Surrey TW20 0EX; Tel/Fax +44 (0)1784 434455/437520

Topic revision: r2 - 15 Feb 2016 - LaurieNevay

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 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