SOLARIS_QT6_DAQ/README.md

103 lines
2.0 KiB
Markdown
Raw Normal View History

2023-09-15 17:31:07 -04: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
2023-01-25 15:08:41 -05:00
# Required / Development enviroment
Ubuntu 22.04
CAEN_FELIB_v1.2.2 + (install first)
2023-01-25 17:16:14 -05:00
CAEN_DIG2_v1.5.3 +
2023-01-25 15:08:41 -05:00
2023-02-03 16:58:27 -05:00
`sudo apt install qt6-base-dev libcurl4-openssl-dev libqt6charts6-dev`
2023-01-25 15:08:41 -05:00
Digitizer firmware V2745-dpp-pha-2022092903.cup
## Developer is using these at 2023-Oct-13
CAEN_FELIB_v1.2.5
CAEN_DIG2_v1.5.10
with these new API, Digitizer firmwares
* V2745-dpp-pha-1G-2023091800.cup
* V2745-dpp-psd-1G-2023091901.cup
* V2740-dpp-pha-1G-2023091800.cup
* V2740-dpp-psd-1G-2023091901.cup
are supported.
2023-01-25 15:08:41 -05:00
# Compile
2023-09-15 17:31:07 -04:00
## if *.pro does not exist
2023-01-25 17:16:14 -05:00
use `qmake6 -project ` to generate the *.pro
2023-01-25 15:08:41 -05:00
in the *.pro, add
2023-01-25 17:16:14 -05:00
2023-01-25 15:08:41 -05:00
` QT += widgets`
2023-01-25 17:16:14 -05:00
2023-01-25 15:08:41 -05:00
` LIBS += -lcurl -lCAEN_FELib`
2023-09-15 17:31:07 -04:00
## if *.pro exist
run ` qmake6 *.pro` it will generate Makefile
2023-01-25 15:08:41 -05:00
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.
2023-09-25 14:29:27 -04:00
- Sometime, the digitizer halt after sent the /cmd/armacquisition command. This is CAEN library problem.
2023-10-16 12:34:06 -04:00
- Event/Wave trig. Source cannot set as SWTrigger.