Download Latest Version QtPALS-2026.11.11-x64-setup.exe (47.3 MB)
Home
Name Modified Size InfoDownloads / Week
archive 2026-11-18
README.md 2026-11-25 4.6 kB
QtPALS-2026.11.11-x64-setup.exe 2026-11-25 47.3 MB
CHANGELOG.md 2026-11-25 18.7 kB
QtPALS-2026.11.10-x64-setup.exe 2026-11-24 47.3 MB
QtPALS-2026.11.9-x64-setup.exe 2026-11-19 47.3 MB
QtPALS-x64-181016-installer.exe 2018-10-16 7.7 MB
QtPALS-x64-180102.exe 2018-01-02 7.3 MB
QtPALS-x64-170920-installer.exe 2017-09-20 7.3 MB
QtPALS-x64-Beta01-installer.exe 2014-08-15 7.2 MB
QtPALS-x64-ALPHA0.0.1-installer.exe 2014-08-10 7.2 MB
QtPALS-x86-ALPHA0.0.1-installer.exe 2014-08-10 6.3 MB
Totals: 12 Items   185.0 MB 8

QtPALS

Positron annihilation lifetime spectroscopy acquisition and analysis software for the DRS4 evaluation board.

Current release: 2026.11.11 — see CHANGELOG.md.

Download (Windows x64)

File Description
QtPALS-2026.11.11-x64-setup.exe (sourceforge.net) Installer (recommended)
CHANGELOG.md (sourceforge.net) Release notes

Source repository: https://sourceforge.net/p/qtpals/code/

git clone https://git.code.sf.net/p/qtpals/code qtpals

License

QtPALS is free software under the GNU GPL v3 only (GPL-3.0-only). See LICENSE and THIRD-PARTY-NOTICES.md for Qt, Qwt, libusb, DRS4 and ALGLIB.

Windows requirements

  • Windows 10 or Windows 11, 64-bit
  • DRS4 evaluation board (v3, v4 or v5; V3 has reduced trigger/scaler support)
  • DRS4 USB driver via Zadig (WinUSB)
  • Only one program may use the board at a time — close DRS Oscilloscope before starting QtPALS

Zadig (USB driver)

  1. Run Zadig as administrator, connect and power the board.
  2. Options → List All Devices → select the DRS4 entry (not keyboard/mouse/NIC).
  3. Target driver: WinUSB → Install / Replace Driver.
  4. Unplug/replug the board, verify once in DRS Oscilloscope, then close it.

Hardware setup

Pulses max ±0.5 V (use attenuators for larger pulses, e.g. Picotech TA050).

Channel Role
Ch1 Start
Ch2 Stop
Ch3 Stop2 (optional, 3-detector)
Ch4 Trigger input

Use the CFD sum as trigger (Ortec 583/584), 20 dB attenuators, BNC tee. Calibrate amplitude/time in DRS Oscilloscope (±5 V, 5.12 GS/s), note trigger delay/level, then close DRS Oscilloscope.

First run in QtPALS

  1. Options → Configuration: 2D or 3D mode; INV / CFD fraction; trigger like in DRSOsc.
  2. Baseline / Peak / LE windows and pulse width: samples or nanoseconds.
  3. Start (play), set energy windows from E1–E3 histograms.
  4. New → measurement directory → run (default NTotal 1e6) → Save.

Spectra (summary)

2D: T1–T4 start/stop combinations on Ch1/Ch2.
3D: T1–T6 including averaged stops and stop–stop FWHM; optional CDB matrix T1 vs T2.

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

  • DRS4 v4: modified FPGA firmware for internal trigger
  • DRS4 v5: try RWTH firmware (not fully tested here)
  • DRS4 V3: one common analog trigger; no per-channel scalers / latch delay / multi-trigger modes

File mode, ETB and logs

  • Open: *.dat (DRSOsc waveforms) or *.etb (compact E/T/B ± tc/T)
  • Record: *.etb (reprocess energy windows offline) or *.dat (live waveforms only)
  • ETB does not store waveforms — Baseline/Peak/LE/CFD need *.dat or live acquisition
  • Logs: <measurement dir>\qtpals_*.log, or %APPDATA%\PASLAB\QtPALS\logs
  • Crash dumps: qtpals_crash_*.dmp next to the log

Long runs / RDP

Buffer flush is done in the ADC thread (BufferFlushMs, default 1000 ms). Keep Scope off or default ScopeIntervalMs over RDP. Acquisition watchdog can restart a stalled USB/data path (ADCWatchdogTimeoutS, etc.).

2026.11.9: Watchdog USB recovery bounces only ADC (ETB stays open), settles before reopen, and retries ghost boards. Scalers refresh every 1 s.

2026.11.11: USB recovery — wedged-Init abort, full-restart fallback after failed ADC-only bounce, Stop→Start deadlock fix (deleting old drs).

2026.11.10: code-review fix wave — non-blocking ETB replay, stopRecord via queued connection, numerical guards (division-by-zero / OOB fixes), watchdog armed on the trigger (Tr) rate only, and real MQTT connection state.

Building (Windows)

Tested: Qt 6.11.2, MSVC 2022 64-bit, Qwt 6.3, libusb 1.0, ALGLIB, DRS/.

build_installer.bat <path-to-deploy>

Produces QtPALS-2026.11.11-x64-setup.exe.

MQTT / Home Assistant

Topics (hostname = PC name):

  • devices/qtpals_<hostname>/status
  • devices/qtpals_<hostname>/spectrum_complete

Status includes temperature, channel rates, T3 counts/target/ETA. Home Assistant MQTT discovery creates sensors for temperature, rates and T3.

Third-party

Qt, Qt MQTT, Qwt, libusb, PSI DRS4 library, ALGLIB — see THIRD-PARTY-NOTICES.md.

Source: README.md, updated 2026-11-25