Menu

Tree [d09c27] master /
 History

HTTPS access


File Date Author Commit
 DRS 2024-05-13 Martin Petriska Martin Petriska [def168] Adding posibility to change sampling rate, savi...
 FPGA 2019-03-20 Martin Martin [6a01e4] * copy quadro to master tree
 alglib 2019-03-20 Martin Martin [6a01e4] * copy quadro to master tree
 include 2021-06-03 Martin Petriska Martin Petriska [cc0369] removed Pause buton (lock bug)
 lib 2024-05-10 Martin Petriska Martin Petriska [1cf4a9] Qt6.7 and qwt6.3 changes, saving Calib in work ...
 pict 2019-03-20 Martin Martin [6a01e4] * copy quadro to master tree
 .gitignore 2025-03-02 Martin Petriska Martin Petriska [d09c27] remove build directory and add gitignore file
 QtPALS.ico 2019-03-20 Martin Martin [6a01e4] * copy quadro to master tree
 QtPALS.pro 2024-05-10 Martin Petriska Martin Petriska [1cf4a9] Qt6.7 and qwt6.3 changes, saving Calib in work ...
 QtPALS.pro.user 2024-05-13 Martin Petriska Martin Petriska [def168] Adding posibility to change sampling rate, savi...
 QtPALS_32bit.nsi 2014-08-15 Martin Petriska Martin Petriska [7d69e6] Histograms setups
 QtPALS_64bit.nsi 2014-08-15 Martin Petriska Martin Petriska [7d69e6] Histograms setups
 README.TXT 2017-11-01 Martin Petriska Martin Petriska [b1c7f8] added peak filter choose, saving settings to file
 ToDo.txt 2017-09-14 Martin Petriska Martin Petriska [e6dc3c] Triple coincidence time filtering, T6 added, tr...
 adc.cpp 2024-05-13 Martin Petriska Martin Petriska [def168] Adding posibility to change sampling rate, savi...
 adc.h 2024-05-13 Martin Petriska Martin Petriska [def168] Adding posibility to change sampling rate, savi...
 autosavedialog.cpp 2020-12-06 Martin Petriska Martin Petriska [310ff0] ... looking for bug autosave timer caused histp...
 autosavedialog.h 2020-12-01 Martin Petriska Martin Petriska [a1063e] autosave with timer added (run save, pause)
 autosavedialog.ui 2020-12-06 Martin Petriska Martin Petriska [310ff0] ... looking for bug autosave timer caused histp...
 cfd.cpp 2024-05-13 Martin Petriska Martin Petriska [def168] Adding posibility to change sampling rate, savi...
 cfd.h 2019-03-21 Martin Martin [cd2da1] Code repair - Qt5, thread changes
 cpsmeter.cpp 2019-03-20 Martin Martin [6a01e4] * copy quadro to master tree
 cpsmeter.h 2020-02-20 Martin Martin [cc5006] added DRS4 calibration
 energyspectrumform.ui 2014-02-26 Martin Petriska Martin Petriska [1c39a3] Three detector version
 histogram.cpp 2020-12-06 Martin Petriska Martin Petriska [310ff0] ... looking for bug autosave timer caused histp...
 histogram.h 2020-12-06 Martin Petriska Martin Petriska [310ff0] ... looking for bug autosave timer caused histp...
 histogram2d.cpp 2020-04-29 Martin Petriska Martin Petriska [228780] linux changes (added includes cmath)
 histogram2d.h 2014-07-24 Martin Petriska Martin Petriska [486a91] Memory leak in plothist2d.cpp solved
 histproducer.cpp 2021-06-03 Martin Petriska Martin Petriska [cc0369] removed Pause buton (lock bug)
 histproducer.h 2019-03-21 Martin Martin [cd2da1] Code repair - Qt5, thread changes
 knob.cpp 2014-07-24 Martin Petriska Martin Petriska [486a91] Memory leak in plothist2d.cpp solved
 knob.h 2014-07-24 Martin Petriska Martin Petriska [486a91] Memory leak in plothist2d.cpp solved
 main.cpp 2024-05-10 Martin Petriska Martin Petriska [1cf4a9] Qt6.7 and qwt6.3 changes, saving Calib in work ...
 mainwindow.cpp 2024-05-10 Martin Petriska Martin Petriska [1cf4a9] Qt6.7 and qwt6.3 changes, saving Calib in work ...
 mainwindow.h 2021-06-03 Martin Petriska Martin Petriska [cc0369] removed Pause buton (lock bug)
 mainwindow.ui 2021-06-03 Martin Petriska Martin Petriska [cc0369] removed Pause buton (lock bug)
 plothist.cpp 2024-05-10 Martin Petriska Martin Petriska [1cf4a9] Qt6.7 and qwt6.3 changes, saving Calib in work ...
 plothist.h 2020-12-06 Martin Petriska Martin Petriska [310ff0] ... looking for bug autosave timer caused histp...
 plothist2d.cpp 2024-05-10 Martin Petriska Martin Petriska [1cf4a9] Qt6.7 and qwt6.3 changes, saving Calib in work ...
 plothist2d.h 2019-03-20 Martin Martin [6a01e4] * copy quadro to master tree
 plotscope.cpp 2024-05-13 Martin Petriska Martin Petriska [def168] Adding posibility to change sampling rate, savi...
 plotscope.h 2020-11-07 Martin Petriska Martin Petriska [a59260] plotscope pause and move curve
 resources.qrc 2019-03-20 Martin Martin [6a01e4] * copy quadro to master tree
 resources.rc 2014-02-19 Martin Petriska Martin Petriska [48061f] Card select (multiple DRS cards) in ADC
 settingsdialog.cpp 2024-05-10 Martin Petriska Martin Petriska [1cf4a9] Qt6.7 and qwt6.3 changes, saving Calib in work ...
 settingsdialog.h 2024-05-10 Martin Petriska Martin Petriska [1cf4a9] Qt6.7 and qwt6.3 changes, saving Calib in work ...
 settingsdialog.ui 2024-05-10 Martin Petriska Martin Petriska [1cf4a9] Qt6.7 and qwt6.3 changes, saving Calib in work ...
 sotosleep.h 2012-10-25 Martin Petriska Martin Petriska [865f03] added pulse histogram
 spectrumdialog.cpp 2019-03-20 Martin Martin [6a01e4] * copy quadro to master tree
 spectrumdialog.h 2014-08-15 Martin Petriska Martin Petriska [7d69e6] Histograms setups
 spectrumdialog.ui 2019-03-20 Martin Martin [6a01e4] * copy quadro to master tree
 triggerdialog.cpp 2024-05-13 Martin Petriska Martin Petriska [def168] Adding posibility to change sampling rate, savi...
 triggerdialog.h 2020-06-15 Martin Petriska Martin Petriska [335ae3] Tigger - Trigger
 triggerdialog.ui 2020-06-15 Martin Petriska Martin Petriska [335ae3] Tigger - Trigger

Read Me

Install QWT in windows with MSVC compiler (64bit)

1. Download and install QT 5.2.1 to: Qt\x64\Qt5.2.1
2. Download and extract Qwt 6.1 to: "C:\Qt\src\"
3. Edit C:\Qt\src\qwt-6.1\qwtconfig.pri and change in win32 QWT_INSTALL_PREFIX    = C:/Qt/x64/Qwt-$$QWT_VERSION
4. Open a Qt command line Start->Proram->Qt->Qt 5.2.1 command line and navigate to: "C:\Qt\src\qwt-6.1"
5. in command line run vcvarsx86_amd64.bat "C:\Program Files (x86)\Microsoft Visual Studio 11.0\vc\bin\x86_amd64\vcvarsx86_amd64.bat"
4. Type: "qmake" (This command won't prompt any msg so don't worry)
7. Type: "nmake" (Compiles the whole project with examples; this will take a while so be patient)
8. Type: "nmake install" (This installs qwt to the directory set in step 4
9. Add "C:\Qt\x64\Qwt-6.1.0\lib" to your systems path variable
10. Add a User variable named "QT_PLUGIN_PATH" with the following path "C:\Qt\x64\Qwt-6.1.0\plugins"
11. Add a User variable named "QMAKEFEATURES" with the following path "C:\Qt\x64\Qwt-6.1.0\features"


INSTALATION
HW: pulses max +/- 0.5V, use atenuators for bigger pulses (good are picotech TA050:  Attenuator Set)
    connect signals to DRS4 card as follows:
    Ch1 - Start
    Ch2 - Stop
    Ch3 - Stop2 (optional for 3detector setup)
    Ch4 - trigger input

As triger use sum signal from BK OUT CFD (Ortec 583,584),
it shoud be done using  20dB ateunators and standard BNC Tee.
CFD windows are set like in analog setup, but little bit more wide

Run DRS Oscilloscope, set card to +/-5V, 5.12GS/s sampling and do amplitude and time calibrations;
Check signal and trigger with DRS4 Oscilloscope, trigger on Ch4, write Trigger delay and amplitude


Close DRS Osciloscope and run QtPALS
1.) Options->Configuration - choose 2D or 3D (two detectors or three detector setup)
2.) set INV according to pulses from detectors, chceck it for negative pulses
3.) set CFD value (0.25 for anode outputs, 0.038 for bipolar dynode outputs)
4.) set trigger like in DRS osciloscope
5.) Start Stop windows set later, according to measured energy histograms
6.) run QtPALS (green play button) and observe energy historams E1,E2,E3,
    set energy windows according to measured energy histograms in configuration window
7.) Close QtPALS application and reopen it.
8.) Click on New button and select directory where lifetime spectrums will be stored
9.) Run application. Default counts is set to 1e6, zou can change it in all histogram windows, by setting NTotal
10.) After finishing measurement store it by Save button

Results:
2D mode
T1 - Ch1 start(narrow), Ch2 stop
T2 - Ch1 start(wide), Ch2 stop
T3 - Ch2 start(narrow), Ch1 stop
T4 - Ch2 start(wide), Ch1 stop
T5 - optinal not usable, diference between pulse amplitude and pulse area

3D mode
T1 - Ch1 start(narrow), Ch2 stop
T2 - Ch1 start(narrow), Ch3 stop
T3 - Ch1 start(narrow), (Ch2+Ch3)/2 stop
T4 - Ch1 start(wide), (Ch2+Ch3)/2 stop
T5 - Ch2(stop)-Ch3(stop) FWHM ?
T6 - as T3 with time filter (Stop1-Stop2 must be in defined time window - in energy windows preference panel at bottom)

its possible to store "CDB" matrix in 3d mode, its T1 vs T2 (X,Y) Z is counts, usable to filter as CDB spectrum to get better SNR


more info:
http://iopscience.iop.org/1742-6596/505/1/012044
doi:10.1088/1742-6596/505/1/012044

added DRS4 ver4 board FPGA firmware to allow internal trigerring

For DRS4 ver5 you can try firmware from (not tested)
https://forge.physik.rwth-aachen.de/projects/drs4-rwth



Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.