Operator Training DAQ - DESY · Overview • PBD (Photon Beam Diag) – GMD_data – PPlas –...

Post on 18-Mar-2020

0 views 0 download

Transcript of Operator Training DAQ - DESY · Overview • PBD (Photon Beam Diag) – GMD_data – PPlas –...

Operator Training DAQ

May 2016Erland & Stefan

Twiki helps you …http://hasfweb.desy.de/bin/view/Setup/DAQmain

Overview• Overview of different DAQs• Look at DAQ data

– HDF5 structure– DAQdataGUI– Using Matlab (raw and hdf5)

• Save user DAQ data– RCGUIEXP2– Is data saved ?

• Start and stop special devices

Overview

• PBD (Photon Beam Diag)

– GMD_data– PPlas– (Compact spectrometer, PG spectra)

• Exp2– User defined data

Always saved

Saved on demand

With few min delayLong term storageon tape

Well, exeption: Gotthard, PCO‐VLS , PG spectra

DAQ• All DAQ data saved in (very specific) .raw fomat

– Readable via DAQdataGUI– Matlab (difficult …)

• Stored to Tape in raw format– How to get data from tape ‐> 

https://ttfinfo.desy.de/FLASHWiki/attach/FLASHDAQfileMANAGER/How%20to%20stage%20data%20from%20DAQ.pdf

• Conversion into HDF5 ( By Erland ‐> Soon automatic)

– easily readable by Matlab , HDF5 view, Origin …

• Gamma – portal– Getting DAQ data from outside DESY– https://gamma‐portal.desy.de

DAQ Overview

Incomming data To tape

100 Mbyte / s ‐>   > 10 TB / Beamtime

Description in Twiki

Description in TwikiGMD_DATA stream: 209 entries PPLAS stream: 39 entries

GMD‐stream in DOOCS / DAQ language

GMD stream in HDF5

GMD stream in HDF5

Look at DAQ data (PBD, User, Laser …)

DAQdataGUI

Look at DAQ data (PBD, User, Laser …)

• Start DAQdataGUI via command line

• Use jddd• On the windows machines• on flashlxuser1 (next slide)

• Use jddd web start

http://tesla.desy.de/doocs/doocs.html ‐> java applications

Look at DAQ data (PBD, User, Laser …)

Start jddd on flashlxuser1 (option1)

FLASH2

FLASH1

Start jddd on flashlxuser1 (option2)

Looking at large amount of data

Looking at large amount of data

Looking at large amount of data

Looking at large amount of data

Long ADC traces2 channels with 1 M samples each work loss free4 channels with 1 M samples each have (up to now) 30% losses

Traces are eithercompleately saved orNOT at all 

Shot number

ADC trace(1M sa

mples)

Get data out of the DAQ• Look at Twiki

– http://hasfweb.desy.de/bin/view/Setup/DAQmain• ASCII converter ‐> very old. Not maintained

– http://tesla.desy.de/doocs/doocs.html ‐> java applications

• Use Matlab to look at raw files ‐> http://hasfweb.desy.de/bin/view/Setup/DAQMatlabAccessExamples

– Descriptions and sample programs– YOU have to know exactly what you need– Available few seconds to minutes after the data was taken

• Raw to HDF5 – Hdf5 description: https://www.hdfgroup.org/HDF5/– Up to now by Erland ‐> soon automatically converted– Use Matlab, Python, Origin, Mathematica … to read in – Clear names for the saved data

Get data into the DAQ

• http://hasfweb.desy.de/bin/view/Setup/DAQjddd

User DAQ (EXP2)

Default „included“

Start User DAQ – RCGUIEXP2• Start RCGUIEXP2 via command line

• Use jddd• On the windows machines• on flashlxuser1

• Use jddd web start

http://tesla.desy.de/doocs/doocs.html ‐> java applications

Is the Exp 2 DAQ running ?

Is the Exp 2 DAQ running ?

Predefined comment at end of run1. Please leave the automatic comment in (helps to know to whom the data belongs)2. One HAS to enter an additional comment to stop the run 

Switching on and off New feature:Start and stop any channel in the DAQ … to be implemented and tested

Start saving special devices

• Some devices are in the GMD stream BUT are not always saved• VLS PCO: 

Gotthard, OPIS ADCs, …Are still Expert stuff tostart and stop

Detailled view on the DAQ

Detailled view on the DAQ