Commit Graph
9333 Commits
Author SHA1 Message Date
maliakal_d f4bb891ef8 binary in 2026-09-02 13:52:23 +02:00
maliakal_d 00774f6bb5 unnecessary checks
Build on RHEL8 docker image / build (push) Successful in 4m53s
Build on RHEL9 docker image / build (push) Successful in 5m24s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m54s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m18s
2026-09-02 13:40:13 +02:00
maliakal_d 58fc862bdc fixed tests
Build on RHEL9 docker image / build (push) Successful in 3m23s
Build on RHEL8 docker image / build (push) Successful in 4m49s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m57s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m22s
2026-09-02 10:44:43 +02:00
maliakal_d 5aa856b59e binary in 2026-09-01 17:25:38 +02:00
maliakal_d e93eb1fe59 jf firmware already fixed max loops for pedestalmode. allow the max now. should have been in 9.1 firmware 2026-09-01 17:24:18 +02:00
maliakal_d 094d0cbb1f 10.1.0: refactored rx_roi tests (#1531)
Build on RHEL9 docker image / build (push) Successful in 4m0s
Build on RHEL8 docker image / build (push) Successful in 4m45s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m58s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m16s
* refactored rx_roi tests a bit

* missed the call, typo

* wip, phase2 refactor

* compiles

* fixed tests
2026-08-19 12:46:03 +02:00
maliakal_d 44d2591049 corrected chip version tests for jf (#1526)
Build on RHEL9 docker image / build (push) Successful in 4m38s
Build on RHEL8 docker image / build (push) Successful in 4m43s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m54s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m19s
2026-08-18 11:22:32 +02:00
maliakal_d ae6e663995 10.1.0: fix no rx roi port (#1529)
* 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
2026-08-18 11:18:57 +02:00
maliakal_dandlunin_l 529f91c4ae 1010/docs typos svg images (#1524)
Build on RHEL9 docker image / build (push) Successful in 3m48s
Build on RHEL8 docker image / build (push) Successful in 4m40s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m55s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m20s
* replaced png images with svg

* fixed docs typos

* fix filename

* fix image references, filename in index

* fixed drawio svg export, upd drawio plots

---------

Co-authored-by: lrlunin <lunin.leonid@gmail.com>
2026-08-14 15:55:21 +02:00
maliakal_d 95379fe660 1010/update doc dependency (#1522)
Build on RHEL9 docker image / build (push) Successful in 4m20s
Build on RHEL8 docker image / build (push) Successful in 4m43s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m55s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m21s
* update documentation regarding dependencies

* compiles
2026-08-14 14:26:26 +02:00
maliakal_d af7c5ab09f 1010/jf chip version1.2 part 1 (#1518)
Build on RHEL9 docker image / build (push) Successful in 4m24s
Build on RHEL8 docker image / build (push) Successful in 4m43s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m54s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m19s
* chipversion changed to chipversioninfpga, chipindex, vals and type introduced with string for 3 different types for chip v1.2 and 1.3.

* changed chipversion to chipindex (more apt?) and refactored

* fix without the list.h

* formatting

* scanning string instead of int from server config file for version

* scan works in config now

* chip versions =1.2 divided again

* minor refactoring

* formatting

* startup set features allowed with chip index

* fixed existing features

* updated features for chip (dacs not done)

* fixed a test

* fixed another test and removed and unused reg

* fixed check for storage cell feature

* jf binary in

* diable a test for github checking rx_missing packets

* removed a comment

* formatting

* changed some minor comments specifying v1.1

* server binary in

* minor

* removed comment. minor

* use has feature functions and fix reverse bits using configuration

* binary in

* minor

* minor

* updated fw versioning (not compatible with old)

* binary in

* moved storage cell delay also to storage cell reg and removed 2 reg field defines that is not used anymore

* binary in
2026-08-14 12:00:26 +02:00
maliakal_d 00d7ad27cf 1010/eiger vthreshold undefined settings (#1514)
Build on RHEL9 docker image / build (push) Successful in 3m50s
Build on RHEL8 docker image / build (push) Successful in 4m46s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m54s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m20s
* eiger: setting vthreshold dac should also set settings to undefined

* compiled server with new release version and changed name to match

* release notes
2026-08-07 11:40:54 +02:00
maliakal_d 4c6b7f5922 fix the path to update versioning for servers (#1512)
Build on RHEL9 docker image / build (push) Successful in 3m46s
Build on RHEL8 docker image / build (push) Successful in 4m54s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m57s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m19s
2026-08-07 09:33:09 +02:00
maliakal_d b07f289133 updated package and client version (#1510)
Build on RHEL9 docker image / build (push) Successful in 4m45s
Build on RHEL8 docker image / build (push) Successful in 4m46s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m58s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m16s
2026-08-06 16:28:58 +02:00
maliakal_d 0aaea316c5 1010/update rx metadata threshold m3 (#1508)
* update rx master file for all threshold energies(m3) when setting dac directly, custom trimbits, setting settings, trimbits etc

* formatting

* refactored for future modifications for eier

* renaming

* release notes
2026-08-06 16:28:00 +02:00
maliakal_d 281943eb69 formatting
Build on RHEL9 docker image / build (push) Successful in 3m48s
Build on RHEL8 docker image / build (push) Successful in 4m40s
Run Simulator Tests on local RHEL8 / build (push) Failing after 8m46s
Run Simulator Tests on local RHEL9 / build (push) Failing after 13m24s
2026-08-06 11:10:01 +02:00
maliakal_d d7cc22f7ef 1010/test should not set rx hostname (#1505)
Build on RHEL9 docker image / build (push) Successful in 3m43s
Build on RHEL8 docker image / build (push) Successful in 4m41s
Run Simulator Tests on local RHEL8 / build (push) Failing after 8m42s
Run Simulator Tests on local RHEL9 / build (push) Failing after 13m24s
* removed the test that set rx_hostname because it will reset parameters and some failures might be hidden for past or future tests

* reverted last change
2026-08-06 09:29:07 +02:00
maliakal_dandmazzol_a 91ccb982a3 1010/fix/blockadded check if reciever is running (#1502)
Build on RHEL9 docker image / build (push) Successful in 3m49s
Build on RHEL8 docker image / build (push) Successful in 4m49s
Run Simulator Tests on local RHEL8 / build (push) Failing after 8m38s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m59s
* added check if reciever is running

* added some tests

* uups dummy test - deleted test file

* changed test

* stopped receiver

* added some more tests as they also affect fifo structure

* fixed tests to work with test_simualtor for all cmdcall tests

* minor

* fix fro cmdcall back to detectorintegration

* removed the .rx marker that we did at soe point

* typo

* brekaing api change removed

---------

Co-authored-by: mazzol_a <mazzol_a@pc17378.psi.ch>
2026-08-05 17:32:28 +02:00
mazzol_a 4d53950b09 removed some python tests from other PRs
Build on RHEL9 docker image / build (push) Successful in 3m35s
Build on RHEL8 docker image / build (push) Successful in 4m40s
Run Simulator Tests on local RHEL8 / build (push) Failing after 8m39s
Run Simulator Tests on local RHEL9 / build (push) Failing after 13m26s
2026-08-03 15:07:30 +02:00
maliakal_dandErik Fröjdh fc39fe0719 Dev/refactor caller tests master attributes (#1462)
Build on RHEL9 docker image / build (push) Successful in 3m41s
Build on RHEL8 docker image / build (push) Successful in 4m41s
Run Simulator Tests on local RHEL9 / build (push) Failing after 7m0s
Run Simulator Tests on local RHEL8 / build (push) Failing after 8m37s
* refactoring

* wip

* refactored, yet to take out checkers

* checker added

* wip acquire ctb state

* wip acquire ctb state

* wip, acq test

* acquire moved out

* fix

* wip, To fix masterattribtues

* wip, masterfilecheks

* wip, at ctbexpectedstate

* wip, fixing acquire

* wip, acquire done

* wip

* compiles

* refactoring

* minor

* minor

* reduced unnecessary includes

* fix in tests

* removed ctb state check

* ctb fix with ctb state

* fixed ctb guard tests

* minor debug

* work for xilinx ctb

---------

Co-authored-by: Erik Fröjdh <erik.frojdh@gmail.com>
2026-08-03 14:12:39 +02:00
mazzol_a edc3d88d0e proper fix when using log files in simulator tests 2026-08-03 12:37:14 +02:00
mazzol_a 2195431c64 fixed killprocess in test script
Build on RHEL9 docker image / build (push) Successful in 3m51s
Build on RHEL8 docker image / build (push) Successful in 4m42s
Run Simulator Tests on local RHEL9 / build (push) Failing after 6m55s
Run Simulator Tests on local RHEL8 / build (push) Failing after 8m36s
2026-08-03 12:20:14 +02:00
mazzol_a 2a94597e8c fix:use powerchip for xilinx
Run Simulator Tests on local RHEL8 / build (push) Failing after 2m43s
Build on RHEL9 docker image / build (push) Successful in 3m28s
Build on RHEL8 docker image / build (push) Successful in 4m38s
Run Simulator Tests on local RHEL9 / build (push) Failing after 6m58s
2026-08-03 11:37:35 +02:00
maliakal_dandErik Fröjdh 670db88cbc Dev/include file (#1306)
* create a include command calling the same function as parameters (cmd generation and autocompletion), testing parameters and include

* added include in command line and python and its supposed to do the same as parameters command. both are tested

* added colorama

* moved test_free and test_command python tests to tests/scripts folder from python/tests due to CI issues with dependencies

* generated commands

* formatting

---------

Co-authored-by: Erik Fröjdh <erik.frojdh@gmail.com>
2026-08-03 11:13:16 +02:00
mazzol_a 22d001c534 fixed run processes for log files 2026-08-03 11:07:18 +02:00
mazzol_a c16ab5b0e1 fixed corrupted merge conflicts/discrepancies 2026-08-03 11:06:11 +02:00
maliakal_dandmazzol_a 9c0bfe3517 dev: zmq hwm rebind (#1480)
* move hwm into the zmq constructor and reconstruct the socket instead of rebind. seems to work better than rebind (most connections cant bind so fast?)

* fix after merge

* added tests to reconnect zmq sockets when setting rx zmqport and rx zmqhwm, changed the tests scripts a bit to make the receiver starting tcp port configurable

* tests: slsreceiver also starting up  with 2000 as default tcp port, using latest cli args for receiver and multi receiver

* releasr notes

---------

Co-authored-by: AliceMazzoleni99 <alice.mazzoleni@psi.ch>
2026-08-03 09:34:57 +02:00
maliakal_dandmazzol_a 3a780271c6 debugging (still fails for old cache) (#1485)
* debugging (still fails for old cache)

* verification removed. Leaving the creating and restorign cachec at v1.6.1 instead of latest for cache-apt-pkgs-action

* cache-apt-pkgs-action at v1.6.1 also for build_documentation yaml

* Clean up run_tests.yaml by removing comments

Removed commented-out line for clarity.

---------

Co-authored-by: AliceMazzoleni99 <alice.mazzoleni@psi.ch>
2026-08-03 09:32:15 +02:00
maliakal_d 2554e7520d Dev/fix workflow cmake cache (#1484)
* Validate restored apt packages in CI before CMake configuration

Add checks for cached apt dependencies to catch incomplete installations. A temporary Ubuntu mirror/package index mismatch caused apt installation to fail, but the failure was not detected before CMake ran.

* continue on error uncommented to see that it actually restores the previous step. The previous commit was to check the error message on failure to install the packages

* repair didnt run earlier.. checking on condition from custom message

* Remove redundant HDF5 verification step from CI. And fix broken repairs half configured dependenceies before reinstalling requested packages

* fix the simulator tests workflow for the same reason as previous commit (not failing for actual failure to restore installation from cache)

* removed redundant checks for repair as we are not repairing anymore

* use a different cache (changing version)

* changing ubuntu back to 22 instead of 24 (latest) because of 'E: Failed to fetch mirror+file:/etc/apt/apt-mirrors.txt/pool/main/c/curl/libcurl4-openssl-dev_8.5.0-2ubuntu10.9_amd64.deb 404 Not Found'

* cache at specific version

* version typo

* go back to original version number  (was changed earlier to create a new cache everytime)

* added the other yaml

* minor, but recreating new caches with v1.0 version
2026-08-03 09:31:58 +02:00
Erik Fröjdh 5fb0e2c941 Better error message on socket (#1477)
* checking errno

* improved socket error message

* improved message

* decode error code

* format

* clearer msg

* report write errors, handle SIGPIPE

* retry and cleaned up timeout

* removed read/write in DataSocket
2026-08-03 09:31:26 +02:00
mazzol_a a01d96e892 treating warnings as errors during workflows (#1473)
* treating warnings as errors during workflows

* suppress warnings for moench calibration

* no format overflow

* revert formatting

* bettter conditional branching in cmake
2026-08-03 09:30:53 +02:00
mazzol_a 7a4af4e7e1 Fix/segmentation fault in virtual detectors (#1472)
* fix overflow in copying of image to packet

* overflow fixed for xilinx
2026-08-03 09:29:56 +02:00
lunin_landmaliakal_d faedb0acf1 Add rx_streamdummyheader command (#1442)
* add rx_restream_stop command. This allows to send a ZMQ dummy header any time user wants to do so. For example this allows to pre-configure the ZMQ processing software before the acquisition begins. Therefore, the dummy header was adapted in order to contain the fields stored in the receiver.

* renamed command, changed inherit, moved commands to zmq related section

* update filename in restreamstop

* renamed helper function, sorted header fields alphabetically

* fixed fnametostream set

* renamed functions, add SetFileName method, format JSON parameters order

* added python bindings and formatting (does nothing really)

* renamed restream stop functions to stream dummy

* checkout .github files from ed8c885

* release notes

---------

Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
2026-08-03 09:27:53 +02:00
lunin_landmazzol_a 504e5c0d58 CI: Use conda-build instead conda build (#1464)
* repalce conda build with conda-build, bump actions versions

* updated github actions versions to run on node 24

---------

Co-authored-by: Alice <alice.mazzoleni@psi.ch>
2026-08-03 09:20:47 +02:00
maliakal_d 033312ad3f removed the unzooming at the start of every acquisition so that right click zoom should stay (#1451) 2026-08-03 09:17:46 +02:00
Erik Fröjdh 9b77aaf877 removed unused function readDataFile/writeDataFile (#1456)
* removed unused function readDataFile/writeDataFile

* release notes
2026-08-03 09:17:01 +02:00
mazzol_a c2b4007de3 Dev/doc/add ctb to doc (#1455)
* added numpy for patterngenerator

* treat warnings as errors

* fix warnings during docu build

* added power and ctb to documentation
2026-08-03 09:13:52 +02:00
mazzol_aandmaliakal_d 732599bc10 fixed python simulator test fixture (#1350)
* fixed python simulator test fixture

* clear_roi after every test to bring it back to default state, test passing multiple parameters

* Exposing the ctb api tests now to CI

* Revert "Exposing the ctb api tests now to CI"

This reverts commit 411fad1b27.

* fixed tests removed uneccessary stuff

* did not save properly

* updated documentation, renamed file

---------

Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
2026-08-03 09:10:07 +02:00
Erik Fröjdh 73f9d4299a Add support for building RPMs (#1439)
* rpm

* versioned binaries

* also zmq process

* use distro style naming

* added gui
2026-08-02 23:32:53 +02:00
maliakal_d f1bb4f7ab4 fix synchronizer test script (#1440) 2026-08-02 23:32:02 +02:00
mazzol_a 778e941329 updated documentation workflow (#1436) 2026-08-02 23:31:36 +02:00
maliakal_d 948b1ed93c Dev/jungfrau 1m root display support (#1364)
* Aldo Mozzanica added support for 2 modules in 1M configuration for root display

* deleted the wrong files
2026-08-02 23:30:26 +02:00
maliakal_d 2d7a48e584 rm unnecessary hidden test tags (#1415)
* removed hidden tags other than .detectorintegration and .disable_check_data_file

* updated label, minor
2026-08-02 23:28:16 +02:00
mazzol_a ea8ec830a4 Dev/update workflows (#1406)
* 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-08-02 23:23:07 +02:00
muelle_m1 ab2a6fc66a added copy of ctbDetectorServer to auto-deploy 2026-08-02 23:20:51 +02:00
maliakal_d afa0ac3248 fix the master hdf5 extension from aprevious PR (#1399) 2026-08-02 23:20:19 +02:00
mazzol_aandmaliakal_d 12a33a1ad9 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-08-02 23:18:25 +02:00
mazzol_a 038ccf82bf dev/handes trailing / in filepath (#1391)
* member filePath in Implementation is std::filesystem::path, some refactoring

* PR Review

* adapted function signature - compiled with hdf5 on
2026-08-02 23:10:22 +02:00
maliakal_d 4490a0f83a added patternstart to python (#1368)
* added patternstart to python

* release notesg
2026-08-02 23:01:36 +02:00
froejdh_e 73f3208512 docstring and release 2026-08-02 22:56:52 +02:00