This is a remake of the FSUDAQ using Qt6
Go to file
2023-05-31 17:30:46 -04:00
.vscode snapshot 2023-05-30 10:08:39 -04:00
.gitignore tested OnlineEventBuilder.cpp 2023-05-26 13:12:00 -04:00
CanvasClass.cpp remove the old Histogram using QChart, move HistogramXD to a new file 2023-05-31 17:30:46 -04:00
CanvasClass.h remove the old Histogram using QChart, move HistogramXD to a new file 2023-05-31 17:30:46 -04:00
ClassData.h added OnlineAnalyser.h/cpp 2023-05-26 18:06:37 -04:00
ClassDigitizer.cpp remove the old Histogram using QChart, move HistogramXD to a new file 2023-05-31 17:30:46 -04:00
ClassDigitizer.h add influxdb 2023-05-24 16:04:32 -04:00
CustomHistogram.h remove the old Histogram using QChart, move HistogramXD to a new file 2023-05-31 17:30:46 -04:00
CustomThreads.h added OnlineAnalyser.h/cpp 2023-05-26 18:06:37 -04:00
CustomWidgets.h remove the old Histogram using QChart, move HistogramXD to a new file 2023-05-31 17:30:46 -04:00
DataGenerator.cpp improve the online event builder. 2023-05-26 15:01:54 -04:00
DataReaderScript.cpp bugs fixed 2023-05-17 17:05:27 -04:00
DigiSettingsPanel.cpp add influxdb 2023-05-24 16:04:32 -04:00
DigiSettingsPanel.h uncomment filling histograms, added UpdateOtherPanels() 2023-05-23 17:02:39 -04:00
EventBuilder.cpp added OnlineEventBuilder.cpp and DataGenerator.cpp 2023-05-25 18:50:42 -04:00
FSUDAQ_Qt6.pro remove the old Histogram using QChart, move HistogramXD to a new file 2023-05-31 17:30:46 -04:00
FSUDAQ.cpp change histogram2D with qcustomplot 2023-05-30 13:57:45 -04:00
FSUDAQ.h added OnlineAnalyser.h/cpp 2023-05-26 18:06:37 -04:00
influxdb.cpp add influxdb 2023-05-24 16:04:32 -04:00
influxdb.h add influxdb 2023-05-24 16:04:32 -04:00
macro.h in progress to added PSD Channel 2023-05-09 12:16:08 -04:00
main.cpp added Scope Class. not tested 2023-04-18 13:12:05 -04:00
Makefile_test tested OnlineEventBuilder.cpp 2023-05-26 13:12:00 -04:00
OnlineAnalyser.cpp remove the old Histogram using QChart, move HistogramXD to a new file 2023-05-31 17:30:46 -04:00
OnlineAnalyser.h remove the old Histogram using QChart, move HistogramXD to a new file 2023-05-31 17:30:46 -04:00
OnlineEventBuilder.cpp remove the old Histogram using QChart, move HistogramXD to a new file 2023-05-31 17:30:46 -04:00
OnlineEventBuilder.h snapshot 2023-05-30 10:08:39 -04:00
qcustomplot.cpp change histogram2D with qcustomplot 2023-05-30 13:57:45 -04:00
qcustomplot.h change histogram2D with qcustomplot 2023-05-30 13:57:45 -04:00
README.md remove the old Histogram using QChart, move HistogramXD to a new file 2023-05-31 17:30:46 -04:00
RegisterAddress.h tested with PSD. seem OK 2023-05-16 17:21:40 -04:00
Scope.cpp added OnlineAnalyser.h/cpp 2023-05-26 18:06:37 -04:00
Scope.h added OnlineAnalyser.h/cpp 2023-05-26 18:06:37 -04:00
test_indep.cpp added OnlineEventBuilder.cpp and DataGenerator.cpp 2023-05-25 18:50:42 -04:00
test.cpp added OnlineEventBuilder.cpp and DataGenerator.cpp 2023-05-25 18:50:42 -04:00

Introduction

This is a DAQ for 1st gen CAEN digitizer for V1725, V17255S, V1230 with PHA and PSD firmware.

It has scope (updated every half-sec), allow full control of the digitizer (except LVDS), and allow saving waveform.

It can be connected to InfluxDB v1.8 and Elog.

Undergoing

the following additional functions are planned and I am working on them

  • 1-D and 2-D histogram
  • Online Analyzer
  • support V1740 DPP-QDC
  • synchronization helper

Required / Development enviroment

Ubuntu 22.04

  • CAENVMELib_v3.3

  • CAENCOmm_v1.5.3

  • CAENDigitizer_v2.17.1

  • CAEN A3818 Driver

  • qt6-base-dev

  • libqt6charts6-dec

  • libcurl4-openssl-dev

  • elog

The CAEN Libraries need to download and install manually. The other libraries can be installed using the following command:

sudo apt install qt6-base-dev libqt6charts6-dev libcurl4-openssl-dev elog

The elog installed using apt is 3.1.3. If a higher version is needed. Please go to https://elog.psi.ch/elog/

The libcurl4 is need for pushing data to InfluxDB v1.8

The QCustomPlot (https://www.qcustomplot.com/index.php/introduction) source files are already included in the repository.

Compile

use qmake6 -project to generate the *.pro

in the *.pro, add

QT += core widgets charts printsupport

LIBS += -lCAENDigitizer -lcurl

then run qmake6 *.pro it will generate Makefile

then make

if you want to use GDB debugger, in the *.pro file add

QMAKE_CXXFLAGS += -g

exclude some files from the auto-gen *.pro

The following files must be excluded from the *.pro, as they are not related to the GUI

  • DataGenerator.cpp
  • DataReaderScript.cpp
  • EventBuilder.cpp
  • test.cpp
  • test_indep.cpp

Those file can be compiled using

make -f Makefile_test