Commit Graph

9566 Commits

Author SHA1 Message Date
mazzol_a d2a9fcd9f4 fixed build
Run Simulator Tests on local RHEL9 / build (push) Failing after 16s
Run Simulator Tests on local RHEL8 / build (push) Failing after 26s
Build on RHEL8 docker image / build (push) Failing after 1m6s
Build on RHEL9 docker image / build (push) Failing after 1m5s
2026-04-16 14:31:44 +02:00
mazzol_a 51be9dd127 warning unused variable from other PR
Run Simulator Tests on local RHEL9 / build (push) Failing after 15s
Run Simulator Tests on local RHEL8 / build (push) Failing after 28s
Build on RHEL8 docker image / build (push) Failing after 46s
Build on RHEL9 docker image / build (push) Failing after 42s
2026-04-16 11:48:43 +02:00
mazzol_a 7b166d0332 Matterhorn in tostring 2026-04-16 11:47:56 +02:00
mazzol_a d264734925 added udp functions to matterhornserver 2026-04-16 11:47:33 +02:00
mazzol_a a1ab556a0b merge conflict 2026-04-15 17:46:11 +02:00
Martin Mueller 78edfe3b55 Running Matterhorn on altera CTB (#1427)
Build on RHEL9 docker image / build (push) Successful in 4m0s
Build on RHEL8 docker image / build (push) Successful in 4m51s
Build and Deploy on local RHEL9 / build (push) Successful in 2m12s
Build and Deploy on local RHEL8 / build (push) Successful in 4m59s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m39s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m10s
* testing matterhorn1 SPI on altera CTB, works for dummy-chip

* added bf_usleep with proper timing for blackfin

* simplified spi firmware interface, removed write and readstrobe

* define constant for BFIN spi sleep

---------

Co-authored-by: Martin Mueller <martin.mueller@psi.ch>
2026-04-15 16:23:04 +02:00
maliakal_d 5ec5d46c48 Dev/ctb separate dac and power (#1420)
Build and Deploy on local RHEL9 / build (push) Successful in 2m12s
Build on RHEL9 docker image / build (push) Successful in 3m33s
Build on RHEL8 docker image / build (push) Successful in 4m54s
Build and Deploy on local RHEL8 / build (push) Successful in 4m54s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m41s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m10s
* not allowing power names for dac names to prevent duplicate names

* wip

* v_abcd commands should be removed to prevent unintentional usage and throw with a suggestion command for dac and power

* binary in

* dacs with power dac names should work and do not take in dac units to avoid ambiguity, test with 0 value for power dacs should fail, to do: implement power commands

* wip: power in client, tests, and fixed server interfaces and ctb implementation, not tested

* wip. client and xilinx todo

* wip: ctb power works, tests left

* fixed some tests

* added vchip check

* python cmds still left. wip

* fixed xilinx. python left

* wip

* wip. xilinx

* fixed powerchip for ctb

* power all returns all

* configtransceiver is removed

* wip python

* wip

* wip

* wip

* wip

* wip

* wip

* wip xilinx

* wip

* wip

* wip

* pybindings

* fix getdacindex and getdacname for normal detectors to throw if random index that doesnt fit to the detector

* wip

* fixed tests

* fixes for python api

* wip

* python: moved powerlist to Ctb

* fixed tests to work for powelist in Ctb

* moved signallist, adclist, slowadc, slowadclist to Ctb

* throw approperiate error when no modules added for powers

* added dac test

* fix dac default names and test for dacs

* ctb dacs, yet to do othe rdacs

* dacs should work now even in tests

* run all tests

* DetectorPowers->NamedPowers in ctb

* comments

* removed unnecessary test code

* removed hard coded dac names in python NamedDacs and NamedPowers

* minor

* minor

* fixed error messages

* changed power to  be able to set DAC directly, using enable and disable methods with enabled to get
2026-04-15 10:33:01 +02:00
mazzol_a 0094698572 WIP 2026-04-10 11:31:52 +02:00
mazzol_a 0d2b91cd1f used CRTP for virtual detector
Build on RHEL9 docker image / build (push) Successful in 3m13s
Build on RHEL8 docker image / build (push) Successful in 4m45s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m40s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m5s
2026-03-30 11:03:44 +02:00
mazzol_a 7b918ff2e9 WIP 2026-03-25 14:53:47 +01:00
maliakal_d 4ee61ae791 ctb and xilinx: setting all dacs (normal, not power dacs) to 0 (not power down) at startup. This is safer than power down for 4 normal dacs. xilinx ctb: remove disable fmc at power off chip so one can power on and off the chip on their own (#1424)
Build and Deploy on local RHEL9 / build (push) Successful in 2m3s
Build on RHEL9 docker image / build (push) Successful in 3m44s
Build on RHEL8 docker image / build (push) Successful in 4m47s
Build and Deploy on local RHEL8 / build (push) Successful in 4m52s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m39s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m4s
2026-03-17 16:53:33 +01:00
mazzol_a c86ca1eaec per default pyqtgraph should read array as row-major (#1419)
Build and Deploy on local RHEL9 / build (push) Successful in 2m3s
Build on RHEL9 docker image / build (push) Successful in 3m41s
Build on RHEL8 docker image / build (push) Successful in 4m46s
Build and Deploy on local RHEL8 / build (push) Successful in 4m58s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m41s
Run Simulator Tests on local RHEL8 / build (push) Successful in 16m59s
* per default pyqtgraph should read array as row-major

* dont transform for analog images

* never flip rows
2026-03-11 12:28:42 +01:00
maliakal_d 3846aec46e Dev/jungfrau 1m root display support (#1364)
Build and Deploy on local RHEL9 / build (push) Successful in 1m57s
Build on RHEL9 docker image / build (push) Successful in 3m54s
Build and Deploy on local RHEL8 / build (push) Successful in 4m51s
Build on RHEL8 docker image / build (push) Successful in 4m49s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m40s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m3s
* Aldo Mozzanica added support for 2 modules in 1M configuration for root display

* deleted the wrong files
2026-03-05 17:13:38 +01:00
maliakal_d 6982b8cfa4 rm unnecessary hidden test tags (#1415)
Build and Deploy on local RHEL9 / build (push) Successful in 2m3s
Build on RHEL9 docker image / build (push) Successful in 3m53s
Build on RHEL8 docker image / build (push) Successful in 4m49s
Build and Deploy on local RHEL8 / build (push) Successful in 4m59s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m39s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m2s
* removed hidden tags other than .detectorintegration and .disable_check_data_file

* updated label, minor
2026-03-05 17:11:56 +01:00
mazzol_a e3f4819ac2 dont use public headers of fmt
Build on RHEL9 docker image / build (push) Successful in 3m12s
Build on RHEL8 docker image / build (push) Successful in 4m40s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m40s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m2s
2026-03-05 16:33:03 +01:00
mazzol_a c13ab29132 some format changes 2026-03-05 15:48:07 +01:00
mazzol_a 54009b2033 add fmt to conda recipe
Build on RHEL9 docker image / build (push) Successful in 3m16s
Build on RHEL8 docker image / build (push) Successful in 4m42s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m39s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m6s
2026-03-05 15:21:57 +01:00
mazzol_a ea1edc02d8 properly added fmt as a dependency 2026-03-05 15:00:07 +01:00
maliakal_d 384b2480ab Dev/fix no rx roi port (#1372)
Build on RHEL8 docker image / build (push) Successful in 4m58s
Build on RHEL9 docker image / build (push) Successful in 5m1s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m40s
Build and Deploy on local RHEL9 / build (push) Successful in 2m3s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m2s
Build and Deploy on local RHEL8 / build (push) Successful in 4m59s
* rx_roi fixed when there is no roi for a particular port. Fixed tests for it

* removing todo check if files created because its not enough to count matching pattern file names, but also look at timestamp and create files with timestamp else you read older ones. For now, checking individual rois is enough

* restore md5

---------

Co-authored-by: Erik Fröjdh <erik.frojdh@gmail.com>
2026-03-05 12:28:57 +01:00
Erik Fröjdh a1b8dccdd9 added support for int() for RegisterAddress and RegisterValue (#1414)
Build and Deploy on local RHEL9 / build (push) Successful in 1m58s
Build on RHEL9 docker image / build (push) Successful in 3m36s
Build on RHEL8 docker image / build (push) Successful in 4m52s
Build and Deploy on local RHEL8 / build (push) Successful in 4m59s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m39s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m7s
2026-03-05 11:35:21 +01:00
mazzol_a 317c3187f5 solved merge conflict
Build on RHEL9 docker image / build (push) Failing after 8s
Build on RHEL8 docker image / build (push) Failing after 15s
Run Simulator Tests on local RHEL9 / build (push) Failing after 5s
Run Simulator Tests on local RHEL8 / build (push) Failing after 9s
2026-03-05 10:24:47 +01:00
mazzol_a ab5e13aea0 oops given in hex
Run Simulator Tests on local RHEL9 / build (push) Failing after 5s
Run Simulator Tests on local RHEL8 / build (push) Failing after 8s
Build on RHEL9 / build (push) Failing after 33s
Build on RHEL8 / build (push) Failing after 36s
2026-03-05 09:46:36 +01:00
Erik Fröjdh 9f72688b9c Adding offset to RegisterAddress (#1413)
Build and Deploy on local RHEL9 / build (push) Successful in 2m3s
Build on RHEL9 docker image / build (push) Successful in 3m58s
Build and Deploy on local RHEL8 / build (push) Successful in 5m0s
Build on RHEL8 docker image / build (push) Successful in 5m7s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m40s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m4s
* implemented + and += for RegisterAddres and tests plus test cleanup
2026-03-05 09:32:21 +01:00
mazzol_a 370aada490 generated register defs from csv file
Run Simulator Tests on local RHEL9 / build (push) Failing after 5s
Run Simulator Tests on local RHEL8 / build (push) Failing after 9s
Build on RHEL9 / build (push) Failing after 8s
Build on RHEL8 / build (push) Failing after 14s
2026-03-04 21:38:48 +01:00
mazzol_a 6e090dbba2 Dev/update workflows (#1406)
Build and Deploy on local RHEL9 / build (push) Successful in 2m3s
Build on RHEL9 docker image / build (push) Successful in 3m32s
Build on RHEL8 docker image / build (push) Successful in 4m48s
Build and Deploy on local RHEL8 / build (push) Successful in 4m58s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m38s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m4s
* only run tests for pull-requests

* build gui and simulators

* trigger upon push to all branches

* renamed workflows

* added python tests

* added colorama and numpy

* added slsdet to pythonpath

* updated workflow name
2026-03-02 14:30:27 +01:00
maliakal_d 60f5db1224 xilinx: slow adcs (#1405)
Build on RHEL9 / build (push) Successful in 3m29s
Build on RHEL8 / build (push) Successful in 4m41s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m42s
Build on local RHEL9 / build (push) Successful in 1m26s
Run Simulator Tests on local RHEL8 / build (push) Successful in 16m59s
Build on local RHEL8 / build (push) Successful in 3m33s
* xilinx: slow adcs

* minor

* xilinx: max reference voltage back to 2500mV for slow adcs ad7689
2026-02-27 17:17:11 +01:00
maliakal_d a3e6cc90ea server versions werent getting updated (#1407) 2026-02-27 17:12:27 +01:00
maliakal_d a1c5bf971f ctb: vchip doesnt validate with vlimit anymore (#1404)
Build on RHEL9 / build (push) Successful in 4m9s
Build on RHEL8 / build (push) Successful in 5m5s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m41s
Build on local RHEL9 / build (push) Successful in 1m25s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m2s
Build on local RHEL8 / build (push) Successful in 3m34s
2026-02-26 14:22:46 +01:00
mazzol_a 6a9eac17c8 removed make for the pyctbgui (#1401)
Build on RHEL9 / build (push) Successful in 3m28s
Build on RHEL8 / build (push) Successful in 4m49s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m41s
Build on local RHEL9 / build (push) Successful in 1m26s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m1s
Build on local RHEL8 / build (push) Successful in 3m33s
2026-02-25 16:40:32 +01:00
mazzol_a 23fdc1e198 WIP 2026-02-25 14:06:50 +01:00
maliakal_d e5b8e4ee80 fix the master hdf5 extension from aprevious PR (#1399)
Build on RHEL9 / build (push) Successful in 3m44s
Build on RHEL8 / build (push) Successful in 4m50s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m40s
Run Simulator Tests on local RHEL8 / build (push) Successful in 16m57s
Build on local RHEL8 / build (push) Failing after 3m31s
Build on local RHEL9 / build (push) Failing after 1m23s
2026-02-24 10:49:11 +01:00
mazzol_a 0e1dad47db added fmt to workflow
Run Simulator Tests on local RHEL9 / build (push) Failing after 4s
Run Simulator Tests on local RHEL8 / build (push) Failing after 8s
Build on RHEL9 / build (push) Failing after 7s
Build on RHEL8 / build (push) Failing after 14s
2026-02-23 16:57:52 +01:00
mazzol_a 10ec7c4ae6 cleaned up logs 2026-02-23 16:56:04 +01:00
mazzol_a 23a94b28cc some refactoring 2026-02-23 16:33:26 +01:00
mazzol_a d062b34a58 solved merge conflicts
Run Simulator Tests on local RHEL9 / build (push) Failing after 5s
Run Simulator Tests on local RHEL8 / build (push) Failing after 7s
Build on RHEL9 / build (push) Failing after 7s
Build on RHEL8 / build (push) Failing after 14s
2026-02-23 14:54:52 +01:00
mazzol_a db7b79a0e8 solved merge conflict 2026-02-23 14:46:00 +01:00
maliakal_d 8f07d2a464 Dev/xilinx set dac rewrite (#1389)
Build on RHEL9 / build (push) Successful in 3m46s
Run Simulator Tests on local RHEL9 / build (push) Failing after 3m51s
Build on RHEL8 / build (push) Successful in 5m15s
Run Simulator Tests on local RHEL8 / build (push) Failing after 5m31s
Build on local RHEL8 / build (push) Failing after 3m31s
Build on local RHEL9 / build (push) Failing after 1m25s
* wip

* wip

* wip. xilinx left

* wip. xilinx

* wip

* wip. compiles

* fixed eiger test

* more fixes

* fixed virtual m3

* fix typos and bugs

* setting power to 0

* set power fixed

* updated server binaries

* minor

* refactoring

* get vchip refactoring

* eiger: unnecessary check for setsettings undefined

* retval pointer for printout

* eiger.wip, mV in boolean

* wip. gotthard2 and m3

* wip. jungfrau

* moench.wip

* compiles.wip

* fix eiger

* m3 fix vthresh

* fix ctband xilinx

* default pwr index = pwr_io

* minor:fn name and highvoltage to local var

* refactor funcs

* minor

* minor

* check dac voltage only for normal dacs and not for power dacs as the dac voltage range is different for ctb and xilinx ctb, also throw for -1 in set for set_dac in client itself. in the server its not clear if its set or get with a -1

* minor

* updated versioning

* review changes: removing validateDACValue and other minor stuff

* binaries in

* wip

* refactored m3 vth

* minor review

* minor review

* m3 serverdac index fix

* minor
2026-02-23 14:23:13 +01:00
mazzol_a f4658ab094 Dev/automate documentation build (#1357)
* some test about building docs

* indendation error

* typo -

* forgot to get package hdf5

* had to add shinx and doxygen as well

* oke created environmnet file

* typo

* dont use conda

* dont use conda

* cannot upload artefact commit to gh-pages

* correct copy

* mmh

* try with tokem

* set write permisison

* script to update main_index for versioned documentation

* rename main_index to index

* use absolute path in python script

* update main_index upon a release

* extract release type from version

* copy release notes

* updated links from devdoc to slsDetectorPackage, handling .md for new versions

* changed page source

* updated documentation link in README

* add guideline for Package Versioning to documentation also used as a test

* typo in workflow

* why didnt it copy?

* copied from build instead of docs

* change back - trigger for push

* only trigger for pull_requests and releases

* removed conda environment file

* automatically update documentation paths in release notes

* only keep templated README.md

* added README and updated links

* update Release notes template manually

* generate release notes script not needed anymore

* modified readme to reflect dependencies insides build from source

* subheadings in dependencies

---------

Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
2026-02-23 14:21:44 +01:00
mazzol_a f8723eb0d8 Dev/use aare in pyctbgui (#1379)
Build on RHEL9 / build (push) Successful in 3m57s
Build on RHEL8 / build (push) Successful in 4m43s
Run Simulator Tests on local RHEL9 / build (push) Failing after 3m50s
Build on local RHEL9 / build (push) Failing after 1m24s
Run Simulator Tests on local RHEL8 / build (push) Failing after 5m28s
Build on local RHEL8 / build (push) Failing after 3m32s
* added CMakeLists.txt for pyctbgui

* using aare decoders

* removed c code

* showing proper error message

* dvjgj

---------

Co-authored-by: Erik Fröjdh <erik.frojdh@gmail.com>
2026-02-23 12:33:10 +01:00
mazzol_a c42f070ca7 linked fmt to slsProjectOptions
Run Simulator Tests on local RHEL9 / build (push) Failing after 4s
Run Simulator Tests on local RHEL8 / build (push) Failing after 7s
Build on RHEL9 / build (push) Failing after 29s
Build on RHEL8 / build (push) Failing after 35s
2026-02-23 11:20:41 +01:00
mazzol_a 6b6ce38099 WIP 2026-02-23 10:59:38 +01:00
mazzol_a 14da1245b4 WIP
Run Simulator Tests on local RHEL9 / build (push) Failing after 5s
Run Simulator Tests on local RHEL8 / build (push) Failing after 7s
Build on RHEL9 / build (push) Failing after 29s
Build on RHEL8 / build (push) Failing after 36s
2026-02-20 16:58:10 +01:00
mazzol_a 5d0f7158ae updated logger 2026-02-20 16:56:33 +01:00
mazzol_a f50f600bb8 Merge branch 'developer' of github.com:slsdetectorgroup/slsDetectorPackage into dev/matterhornserver 2026-02-19 10:41:21 +01:00
mazzol_a 65c8f2c7d8 dev/handes trailing / in filepath (#1391)
Build on RHEL9 / build (push) Successful in 3m22s
Run Simulator Tests on local RHEL9 / build (push) Failing after 3m49s
Build on local RHEL9 / build (push) Successful in 1m26s
Build on RHEL8 / build (push) Successful in 5m13s
Run Simulator Tests on local RHEL8 / build (push) Failing after 5m30s
Build on local RHEL8 / build (push) Successful in 3m33s
* member filePath in Implementation is std::filesystem::path, some refactoring

* PR Review

* adapted function signature - compiled with hdf5 on
2026-02-17 17:11:33 +01:00
mazzol_a c6d5b0b8f0 dont use c project settings when building matterhornserver 2026-02-16 16:46:19 +01:00
mazzol_a 2ba38e5cc4 WIP
Run Simulator Tests on local RHEL9 / build (push) Failing after 5s
Run Simulator Tests on local RHEL8 / build (push) Failing after 7s
Build on RHEL9 / build (push) Failing after 7s
Build on RHEL8 / build (push) Failing after 14s
2026-02-16 14:37:44 +01:00
mazzol_a 3ec0a9337e added compile option to set log level 2026-02-16 14:33:14 +01:00
mazzol_a b6470b0d08 bug: added std::signal for proper handling of ctr+c 2026-02-16 10:48:35 +01:00
mazzol_a aa6f7c7ce1 added fmt to workflows 2026-02-13 18:27:17 +01:00