using Qt6 for SOLARIS DAQ GUI development
Go to file
2023-09-21 19:00:48 -04:00
.vscode simplify the update other panels machanism 2023-03-24 17:23:59 -04:00
scripts attemp to capture grafana screen without open browser, fail 2023-03-30 18:01:54 -04:00
.gitignore many UI bugs fix and improvement, save Setting to temSettings when close digitizers. 2023-04-12 13:52:42 -04:00
ClassDigitizer2Gen.cpp added PSD prarmeeters 2023-09-21 19:00:48 -04:00
ClassDigitizer2Gen.h added PSD prarmeeters 2023-09-21 19:00:48 -04:00
CustomThreads.h add ITL-AB and LVDS setting parameters, re-structure the digiSetting UI, leave space for LVDS and ITL settings 2023-09-18 17:05:13 -04:00
CustomWidgets.h many UI bugs fix and improvement, save Setting to temSettings when close digitizers. 2023-04-12 13:52:42 -04:00
DigiParameters.h added PSD prarmeeters 2023-09-21 19:00:48 -04:00
digiSettingsPanel.cpp added PSD prarmeeters 2023-09-21 19:00:48 -04:00
digiSettingsPanel.h added LVDS and DAC settings, some bugs fixed 2023-09-19 19:19:07 -04:00
Event.h fixeed many issue when run on solaris server daq 2023-03-10 14:42:29 -05:00
influxdb.cpp fixeed many issue when run on solaris server daq 2023-03-10 14:42:29 -05:00
influxdb.h improving digiSettingPanel 2023-02-28 13:28:30 -05:00
macro.h added TriggerMask in Setting 2023-03-23 19:57:14 -04:00
main.cpp fix bug when no digitizer connected. becasue the scalar did not setup 2023-03-27 18:34:22 -04:00
mainwindow.cpp added PSD prarmeeters 2023-09-21 19:00:48 -04:00
mainwindow.h change the scalar update rountine. scalar will update every 2 sec once it opened and keep running unit digitizer closed. scalar also update board status if digi setting pannel open 2023-09-19 12:57:42 -04:00
makeTest many bugs fix, plan to add SyncHelper 2023-09-15 17:31:07 -04:00
README.md break ProgramPHA into board and channel, some UI improve 2023-09-21 17:24:13 -04:00
scope.cpp break ProgramPHA into board and channel, some UI improve 2023-09-21 17:24:13 -04:00
scope.h break ProgramPHA into board and channel, some UI improve 2023-09-21 17:24:13 -04:00
script.C many bugs fix, plan to add SyncHelper 2023-09-15 17:31:07 -04:00
SOLARIS_favicon.png have GUI fundation, linker and such 2023-01-25 14:59:48 -05:00
SOLARIS_Qt6_DAQ.pro many bugs fix, plan to add SyncHelper 2023-09-15 17:31:07 -04:00
SOLARISpanel.cpp many UI bugs fix and improvement, save Setting to temSettings when close digitizers. 2023-04-12 13:52:42 -04:00
SOLARISpanel.h finished debug of Solaris panel after Mapping.h format changed 2023-04-03 12:25:23 -04:00
SolReader.h add more on the main window 2023-01-31 18:59:12 -05:00
test.cpp added PSD prarmeeters 2023-09-21 19:00:48 -04:00
windowID.cpp added windowID.cpp, trying to make elog mechanism better 2023-02-17 19:30:31 -05:00

Architecture

The core digitizer control classes are independent from the UI classes

Core digitizer class/files

  • Event.h
  • DigiParameters.h
  • ClassDigitizer2Gen.h/cpp

The test.cpp is a demo code to use the ClassDigitizer2Gen.h/cpp.

Auxillary classes

  • influxdb.h/cpp

UI classes/files

  • main.cpp
  • mainwindow.h/cpp
  • digiSettingsPanel.h/cpp
  • CustomWidget.h
  • CustomThreads.h
  • scope.h/cpp
  • SOLARISpanel.h/cpp

Other files

  • makeTest
  • test.cpp
  • script.C
  • SolReader.h
  • windowID.cpp

Wiki

https://fsunuc.physics.fsu.edu/wiki/index.php/FRIB_SOLARIS_Collaboration

Additional function

connect to analysis working directory

When the analysis path is set, it will do servera things

  • save the expName.sh
  • save Settings
  • try to load the Mapping.h in the working directory

End run bash script

When run stop, it will run the bash script under the directory scripts/endRUnScript.h

Required / Development enviroment

Ubuntu 22.04

CAEN_DIG2_v1.5.3

CAEN_FELIB_v1.2.2

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

Digitizer firmware V2745-dpp-pha-2022092903.cup

Compile

if *.pro does not exist

use qmake6 -project to generate the *.pro

in the *.pro, add

QT += widgets

LIBS += -lcurl -lCAEN_FELib

if *.pro exist

run qmake6 *.pro it will generate Makefile

then make

Known Issues

  • The "Trig." Rate in the Scaler does not included the coincident condition. This is related to the ChSavedEventCnt from the firmware.
  • LVDSTrgMask cannot acess.
  • The CoincidenceLengthT not loaded.
  • Sometime, the digitizer halt after sent the /cmd/armacquisition command. This is CAEN library problem.