Commit Graph
9614 Commits
Author SHA1 Message Date
maliakal_d d59c24da08 Merge branch 'dev/pr_automation_2' into dev/test_pr_automation_2
Build on RHEL9 docker image / build (push) Successful in 4m32s
Build on RHEL8 docker image / build (push) Successful in 5m10s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m8s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m25s
2026-08-28 10:47:10 +02:00
maliakal_d 352627f9a4 trigger is just for code sync
Build on RHEL9 docker image / build (push) Successful in 4m35s
Build on RHEL8 docker image / build (push) Successful in 5m10s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m5s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m30s
2026-08-28 10:45:59 +02:00
maliakal_d 9388b1bf00 changes 2026-08-28 10:43:26 +02:00
maliakal_d c94fa25898 removed commit 2026-08-28 10:42:24 +02:00
maliakal_d a81371e1d0 test sync 2026-08-28 10:41:35 +02:00
maliakal_d 6f2d795343 Merge branch 'dev/pr_automation_2' into dev/test_pr_automation_2
Run Simulator Tests on local RHEL9 / build (push) Failing after 26s
Build on RHEL8 docker image / build (push) Failing after 1m10s
Build on RHEL9 docker image / build (push) Failing after 1m12s
Run Simulator Tests on local RHEL8 / build (push) Failing after 49s
2026-08-28 09:41:31 +02:00
maliakal_d 81cb32a2cc picked up pr_validation from developer and modified
Build on RHEL9 docker image / build (push) Successful in 3m53s
Build on RHEL8 docker image / build (push) Successful in 5m1s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m8s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m29s
2026-08-28 09:41:17 +02:00
maliakal_d c95e8aecf3 ctb test
Run Simulator Tests on local RHEL9 / build (push) Failing after 24s
Run Simulator Tests on local RHEL8 / build (push) Failing after 47s
Build on RHEL9 docker image / build (push) Failing after 1m6s
Build on RHEL8 docker image / build (push) Failing after 1m12s
2026-08-27 22:01:15 +02:00
maliakal_d 23e2a201f5 Merge branch 'dev/pr_automation_2' into dev/test_pr_automation_2
Build on RHEL9 docker image / build (push) Failing after 1m7s
Build on RHEL8 docker image / build (push) Failing after 1m14s
Run Simulator Tests on local RHEL9 / build (push) Failing after 25s
Run Simulator Tests on local RHEL8 / build (push) Failing after 47s
2026-08-27 21:55:04 +02:00
maliakal_d fde9463c6e pr validation should also call detector labels workflow
Build on RHEL9 docker image / build (push) Successful in 3m47s
Build on RHEL8 docker image / build (push) Successful in 5m11s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m26s
2026-08-27 21:54:19 +02:00
maliakal_d 6fa42e0ec2 Merge branch 'dev/pr_automation_2' into dev/test_pr_automation_2 2026-08-27 21:42:38 +02:00
maliakal_d 38af62dce5 synchronize triger just checks if pr validation is complete and successfull, if not it fails, else it will run detector labesl workflow. it will not wait for pr validation 2026-08-27 21:42:15 +02:00
maliakal_d 85e67b798d Merge branch 'developer' into dev/test_pr_automation_2
Run Simulator Tests on local RHEL9 / build (push) Failing after 25s
Build on RHEL9 docker image / build (push) Failing after 1m8s
Build on RHEL8 docker image / build (push) Failing after 1m12s
Run Simulator Tests on local RHEL8 / build (push) Failing after 45s
2026-08-27 17:22:25 +02:00
maliakal_d 207a7e929a Merge branch 'developer' into dev/pr_automation_2
Build on RHEL9 docker image / build (push) Successful in 3m50s
Build on RHEL8 docker image / build (push) Successful in 5m7s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m4s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m31s
2026-08-27 17:21:54 +02:00
maliakal_d acd1f53b37 Dev/pr automation part 1 (#1540)
Build and Deploy on local RHEL9 / build (push) Successful in 2m6s
Build on RHEL9 docker image / build (push) Successful in 3m50s
Build on RHEL8 docker image / build (push) Successful in 5m8s
Build and Deploy on local RHEL8 / build (push) Successful in 5m4s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m4s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m28s
* added pr validation

* redundnat

* validate type and add label

* breaking api label also in pr validation

* milestone workflow triggered when changing labels and it sets the milestone from the release targets yaml and labels

* milestone workflow triggered when changing labels and it sets the milestone from the release targets yaml and labels

* workflow changing label cannot trigger another workflow, so directly invoking it or if a user changes label for pr milestone workflow

* added trigger workflow for label change by user, added check for infrastructure and breaking api in pr milestone workflow

* typo

* release targets

* milestone workflow should also ensure only 1 primary labels

* it doesnt need to be rerun for commits

* label and unlabel do the checks as well of primary type and brekaing api, it does not need to be in milestone

* pr validation now when primar type and breaking api labels are there and shouldnt be instead of removing them. the the label workflow nowjust ensures labesl and description are the same

* node change

* complain if labels dont match descriotion and retrigger validation workflow for better errors. If none labels, this is okay.. if not, it will give approperiate errors, mainly checking mismatch of labels and descriotion is labels trigger, logic will have been checked in validation anyway and failed if so

* label trigger to run milestone only needs detect-mistmatch and does not need pr validation

* getting rid of checkout for just reading a file from the base branch of PR, if main, give success for milestone

* issues.update is deprecated for prs

* removed label trigger workflow, it will not retrigger itself

* made pr validation not a reusable workflow. it treiggers also on labeled and unlabeled, but ignores unrelated labels, too much resource to check if the checkboxes are edited

* update from pulls back to issues when updating milestone as its not supported yet for pulls

* setting a github rest api version of 2026, else it uses the old one of 2022

* didnt work. removing github api specs for now

* more prints for miestone workflow and infrastructure is now bug fix milestone
2026-08-27 17:19:04 +02:00
maliakal_d 2c2b3bed6f Merge branch 'dev/pr_automation_2' into dev/test_pr_automation_2
Build on RHEL8 docker image / build (push) Failing after 1m11s
Build on RHEL9 docker image / build (push) Failing after 1m11s
Run Simulator Tests on local RHEL9 / build (push) Failing after 26s
Run Simulator Tests on local RHEL8 / build (push) Failing after 42s
2026-08-27 11:28:20 +02:00
maliakal_d b61ddb5a62 makign detector labels a reusable workflow and pr synchronize trigger trigger at synchronize and wait for validation worfklow to be done first
Build on RHEL9 docker image / build (push) Successful in 4m22s
Build on RHEL8 docker image / build (push) Successful in 5m3s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m28s
2026-08-27 11:27:32 +02:00
maliakal_d 9a784a5525 Merge branch 'dev/pr_automation_2' into dev/test_pr_automation_2
Build on RHEL9 docker image / build (push) Failing after 1m6s
Build on RHEL8 docker image / build (push) Failing after 1m15s
Run Simulator Tests on local RHEL9 / build (push) Failing after 25s
Run Simulator Tests on local RHEL8 / build (push) Failing after 46s
2026-08-25 12:38:43 +02:00
maliakal_d 9f0d735b35 ignore infrastrucutr prs
Build on RHEL9 docker image / build (push) Successful in 3m46s
Build on RHEL8 docker image / build (push) Successful in 5m22s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m34s
2026-08-25 12:37:49 +02:00
maliakal_d 897a8f05af Merge branch 'dev/pr_automation_2' into dev/test_pr_automation_2 2026-08-25 12:34:29 +02:00
maliakal_d fa02838304 ignore for infrastructure prs 2026-08-25 12:33:50 +02:00
maliakal_d 6f92e02688 mythen3 test comment in client
Build on RHEL9 docker image / build (push) Failing after 1m6s
Build on RHEL8 docker image / build (push) Failing after 1m15s
Run Simulator Tests on local RHEL9 / build (push) Failing after 26s
Run Simulator Tests on local RHEL8 / build (push) Failing after 46s
2026-08-25 12:28:38 +02:00
maliakal_d 6224acfe3c test server fodler 2026-08-25 12:08:56 +02:00
maliakal_d 13ac440597 Merge branch 'dev/pr_automation_2' into dev/test_pr_automation_2 2026-08-25 12:07:17 +02:00
maliakal_d 44d381cad9 removed warning of deprecated node 20 github maybe?
Build on RHEL9 docker image / build (push) Successful in 3m44s
Build on RHEL8 docker image / build (push) Successful in 5m18s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m31s
2026-08-25 12:06:53 +02:00
maliakal_d 137d382022 Merge branch 'dev/pr_automation_2' into dev/test_pr_automation_2 2026-08-25 12:02:36 +02:00
maliakal_d 3d2effb9c3 do not look at linked issues or prs
Build on RHEL9 docker image / build (push) Successful in 4m19s
Build on RHEL8 docker image / build (push) Successful in 5m23s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m5s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m27s
2026-08-25 11:54:48 +02:00
maliakal_d 6b1b1f8c29 Merge branch 'dev/pr_automation_2' into dev/test_pr_automation_2
Build on RHEL9 docker image / build (push) Successful in 4m26s
Build on RHEL8 docker image / build (push) Successful in 5m27s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m31s
2026-08-25 11:35:50 +02:00
maliakal_d 7ccfdc4cf7 test branch 2026-08-25 11:27:40 +02:00
maliakal_d 2338098bba comment 2026-08-25 11:26:52 +02:00
maliakal_d 4e71f8544b workflow for detector whole word matching from changes in detectorServer folders, matching in pr title description, linked or references issues and prs, change in code with matching labels, add detector labels 2026-08-25 11:20:54 +02:00
maliakal_d 8529c8b232 Dev/test rx roi refactor 2 (#1532)
Build and Deploy on local RHEL9 / build (push) Successful in 2m3s
Build on RHEL8 docker image / build (push) Successful in 5m10s
Build on RHEL9 docker image / build (push) Successful in 5m15s
Build and Deploy on local RHEL8 / build (push) Successful in 5m0s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m8s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m29s
* missed the call, typo

* wip, phase2 refactor

* compiles

* fixed tests
2026-08-19 14:38:29 +02:00
maliakal_d 0ad71c4a29 refactored rx_roi tests a bit (#1530)
Build on RHEL9 docker image / build (push) Successful in 4m58s
Build on RHEL8 docker image / build (push) Successful in 5m7s
Build and Deploy on local RHEL9 / build (push) Successful in 2m2s
Build and Deploy on local RHEL8 / build (push) Successful in 5m8s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m27s
2026-08-18 11:18:44 +02:00
maliakal_d adaeaaa409 Dev/chip version string (#1525)
Build and Deploy on local RHEL9 / build (push) Successful in 2m6s
Build on RHEL9 docker image / build (push) Successful in 3m46s
Build and Deploy on local RHEL8 / build (push) Successful in 5m9s
Build on RHEL8 docker image / build (push) Successful in 5m14s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m30s
* changed api from double to string return for getchipversion, updated python bindings, added to versions command, fixed appropriately to send string from server, fixed tests accordingly to convert the string to int to do the tests

* binary in

* minor

* fixed tests

* updated help for chipversion
2026-08-17 11:53:00 +02:00
maliakal_d 473d31c4b3 added the right version for catch2 and rapidjson docs. minor. (#1523)
Build on RHEL9 docker image / build (push) Successful in 4m40s
Build on RHEL8 docker image / build (push) Successful in 5m6s
Build and Deploy on local RHEL9 / build (push) Successful in 2m9s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Build and Deploy on local RHEL8 / build (push) Successful in 5m12s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m33s
2026-08-14 14:40:03 +02:00
ed6024c026 Use svg images in docs, fix typos (#1487)
Build on RHEL8 docker image / build (push) Successful in 5m6s
Build on RHEL9 docker image / build (push) Successful in 5m5s
Build and Deploy on local RHEL9 / build (push) Successful in 2m3s
Build and Deploy on local RHEL8 / build (push) Successful in 5m10s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m30s
* 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: Dhanya Thattil <dhanya.thattil@psi.ch>
Co-authored-by: Erik Fröjdh <erik.frojdh@gmail.com>
2026-08-14 14:06:37 +02:00
maliakal_d 3d7b97953a Dev/jf chip version1.2 part 1 (#1520)
Build and Deploy on local RHEL9 / build (push) Successful in 2m3s
Build on RHEL9 docker image / build (push) Successful in 4m47s
Build and Deploy on local RHEL8 / build (push) Successful in 5m8s
Build on RHEL8 docker image / build (push) Successful in 5m6s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m28s
* 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

* formating

* 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

* removed a comment

* formatting

* changed some minor comments specifying v1.1

* minor

* removed comment. minor

* use has feature functions and fix reverse bits using configuration

* minor

* minor

* binary in

* remaining from updated features for chip (dacs not done)

* binary in

* 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:52 +02:00
maliakal_d f26fa86a7e Dev/xctb format and binary (#1519)
Build and Deploy on local RHEL9 / build (push) Successful in 2m8s
Build on RHEL9 docker image / build (push) Successful in 4m58s
Build and Deploy on local RHEL8 / build (push) Successful in 5m7s
Build on RHEL8 docker image / build (push) Successful in 5m6s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m8s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m27s
* formatting

* updated firmware versioning

* updated binary and server version
2026-08-13 10:27:10 +02:00
Martin Muellerandmuelle_m1 967246f81c gated Matterhorn on XCTB (#1516)
Build on RHEL9 docker image / build (push) Successful in 4m18s
Build on RHEL8 docker image / build (push) Successful in 5m8s
Build and Deploy on local RHEL9 / build (push) Successful in 2m2s
Build and Deploy on local RHEL8 / build (push) Successful in 5m10s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m28s
* updated RegisterDefs.h, added trigger and gate option to XCTB

* fix timing mode validation

* fix test case

---------

Co-authored-by: Martin Mueller <martin.mueller@psi.ch>
2026-08-12 15:50:57 +02:00
maliakal_d 0cb30a6b77 Dev/eiger vthreshold undefined setting (#1515)
Build on RHEL9 docker image / build (push) Successful in 4m9s
Build on RHEL8 docker image / build (push) Successful in 5m7s
Build and Deploy on local RHEL9 / build (push) Successful in 2m2s
Build and Deploy on local RHEL8 / build (push) Successful in 5m1s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m9s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m30s
* eiger: setting vthreshold dac should also set settings to undefined (refactored to switch for readability)

* compiled with version
2026-08-07 11:40:39 +02:00
maliakal_d af2329a782 fix the path to update versioning for servers (#1513)
Build on RHEL9 docker image / build (push) Successful in 4m3s
Build on RHEL8 docker image / build (push) Successful in 5m15s
Build and Deploy on local RHEL9 / build (push) Successful in 2m2s
Build and Deploy on local RHEL8 / build (push) Successful in 5m9s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m30s
2026-08-07 09:33:00 +02:00
maliakal_d 6ce69bfadc Dev/update rx metadata threshold m3 (#1509)
Build and Deploy on local RHEL9 / build (push) Successful in 2m11s
Build on RHEL9 docker image / build (push) Successful in 5m2s
Build on RHEL8 docker image / build (push) Successful in 5m9s
Build and Deploy on local RHEL8 / build (push) Successful in 5m9s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m8s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m27s
* 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
2026-08-06 16:28:23 +02:00
maliakal_d 3e51239112 dev: remove set rx_hostname from test (#1503)
Build and Deploy on local RHEL9 / build (push) Successful in 2m8s
Build on RHEL9 docker image / build (push) Successful in 4m5s
Build on RHEL8 docker image / build (push) Successful in 5m5s
Build and Deploy on local RHEL8 / build (push) Successful in 5m8s
Run Simulator Tests on local RHEL8 / build (push) Failing after 9m42s
Run Simulator Tests on local RHEL9 / build (push) Failing after 14m22s
* 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:30 +02:00
mazzol_a 063923acc1 run_upon_workflow_dispatch
Build on RHEL9 docker image / build (push) Successful in 4m11s
Build on RHEL8 docker image / build (push) Successful in 5m5s
Build and Deploy on local RHEL9 / build (push) Successful in 2m2s
Build and Deploy on local RHEL8 / build (push) Successful in 5m8s
Run Simulator Tests on local RHEL8 / build (push) Failing after 9m42s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
2026-08-03 12:21:53 +02:00
mazzol_a 7f200d49a0 fixed spi read and write (#1499)
Build and Deploy on local RHEL9 / build (push) Successful in 2m1s
Build on RHEL9 docker image / build (push) Successful in 4m10s
Build and Deploy on local RHEL8 / build (push) Successful in 5m9s
Build on RHEL8 docker image / build (push) Successful in 5m11s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m12s
Run Simulator Tests on local RHEL8 / build (push) Failing after 9m47s
* fixed spi read and write

* use c array to send chip id etc
2026-07-29 15:29:34 +02:00
maliakal_dandmazzol_a 160d793f71 tcp: Variable size array (#1492)
Build and Deploy on local RHEL9 / build (push) Successful in 2m4s
Build on RHEL9 docker image / build (push) Successful in 3m57s
Build on RHEL8 docker image / build (push) Successful in 5m6s
Build and Deploy on local RHEL8 / build (push) Successful in 5m9s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m40s
* templated variable vector size (sending/receive size before vector) in ClientSocket and Module:SendToReceiverVarVector

* fix warnign

* Another tcp function ironed out but for Detector

* wip

* fix

* wip

* wip

* wip

* wip

* fix for execccomand

* typo

---------

Co-authored-by: AliceMazzoleni99 <alice.mazzoleni@psi.ch>
2026-07-22 16:17:18 +02:00
maliakal_dandmazzol_a 8a87c83615 dev: zmq hwm rebind (#1480)
Build on RHEL9 docker image / build (push) Successful in 5m3s
Build on RHEL8 docker image / build (push) Successful in 5m43s
Build and Deploy on local RHEL9 / build (push) Successful in 2m18s
Build and Deploy on local RHEL8 / build (push) Successful in 5m5s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m8s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m45s
* 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-07-21 15:45:56 +02:00
mazzol_a 7db947e4d2 Dev/matterhorn server funcs (#1469)
Build on RHEL9 docker image / build (push) Successful in 4m15s
Build on RHEL8 docker image / build (push) Successful in 5m21s
Build and Deploy on local RHEL9 / build (push) Successful in 2m12s
Build and Deploy on local RHEL8 / build (push) Successful in 5m12s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m55s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m19s
* added fetch fmt server library

* added first draft of matterhorn

* added cpp TCP Interface to slsDetectorServer

* bug: added std::signal for proper handling of ctr+c

* added compile option to set log level

* WIP

* dont use c project settings when building matterhornserver

* updated logger

* WIP

* WIP

* linked fmt to slsProjectOptions

* solved merge conflict

* some refactoring

* cleaned up logs

* WIP

* generated register defs from csv file

* oops given in hex

* properly added fmt as a dependency

* some format changes

* WIP

* used CRTP for virtual detector

* WIP

* added udp functions to matterhornserver

* fixed build

* added Server class usable for all detectors

* removed stopserver

* added some more functions

* wrong overload

* porper cleanup of matterhorn app

* PR Review

* refactored directory structure

* added shared memory for aqcuisition status

* implemented bus read and write

* added Matterhorn data class

* modified memory model

* added SPI communication

* moved memory for Bus communication to BucCommunication class

* WIP added HelperFunction for mask conversion

* completed HelperFunctions

* added tests for MatterHorn Helper Functions

* removed shared memory in destructor

* fixed SPI communication

* moved SharedMemory to slsSupportLib

* added toolchain file for cross compilation

* fix constructor for HarwareSPICommunication is public

* update receiver parameters function

* updated mac address

* uploaded matterhorn server binary tracked as lfs

* small fixes from tests on board

* automatically update matterhorn api version when cross compiling binaries

* fix bug in SPI read

* copy to server_directory/bin when cross compiling

* fixed cmake list

* update generate_registerdefs.py

* fixed copy of server binary

* always return error message

* add error log when opening dev/mem

* code review

* fixed eiger, mythen tests for dynamic range

* second Review

* member function getDerived for better readability

* split code into implementation class and actual class doing tcp communication

* added slsWarnings and c++17 compiler option

* added git lfs to workflow

* fix gitea workflows

* bug: add extra clock register

* implement initial checks

* bug: client excpetcs 4 bytes

* refactoring directory structure and rename to .hpp

* check if detector already set up

* missed .h to .hpp

* Code Review 3

* use temmplate value for stopserver

* use internal CMAKE_CROSSCOMPILING variable

* moved boolean stop server flag to DetectorImpl - moving template parameter up

* missed a file

* replace baseclass:: with this

* add Matterhorn server in github workflow

* whatever workflow bug- lets see

* fixed receiving trim bits changed to int64_t
2026-07-16 10:10:14 +02:00
maliakal_d c3ad3d2e73 Dev/rx disable datastream port (#1448)
Build and Deploy on local RHEL9 / build (push) Successful in 2m13s
Build on RHEL9 docker image / build (push) Successful in 3m53s
Build and Deploy on local RHEL8 / build (push) Successful in 4m58s
Build on RHEL8 docker image / build (push) Successful in 5m47s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m55s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m26s
- changed 
   - command from `datastream` to `udp_datastream` to be more specific
   - Detector API:
      - setNumberofUDPInterfaces(pos) =>setNumberofUDPInterfaces() # no position anymore
      - getDataStream(portPosition, pos) =>getUDPDataStream(portPosition, pos)
      - setDataStream(portPosition, pos) => setUDPDataStream(portPosition) # no position anymore
      
   - modified the dataprocessing thread: 
      - if gui or call back, start zmq processing (connecting sockets) before starting receiver (disabled ports sends dummy that the client zmq sockets are not ready for)
      - if only progress, starting progress processing thread after startReceiver
      -


- added
   - Detector API:
      - getRxDisabledUDPPortIndices()
      - getPortPositionList()  
   - allow disabling/enabling udp interface in receiver for Jungfrua/Moench when both udp interfaces is enabled  (This is to go fast, where only one half of the module matters)
   - write ports type and disabled ports to master file (tests for it as well)
   - tests for python commands as well
   - datastream command to deprecated commands
   - refactored tests to make the new parameters fit

* first draft of disabling data port at the receiver side. Todo: master file and stream for gui to use

* updated help in command

* formatting

* md5 unchanged

* fix test, check port position for detector type

* wip, udp port enable metadata in client, to:receiver, zmq streaming

* wip, master attributes

* wip, imple=> save only disabled ports with port index, 1 interface, is empty

* works in file. still needs refactoring

* updated writer versions

* udp ports type pass, disabled with api yet

* fixed disabled ports meta data as well

* fixed in developer via other PR

* renamed.more intuitive

* fix in gui that wont wait for disabled ports

* added tests for master file

* extra tests

* move the master fiel tests into its own tests with the disable marker for github tests

* refactoring

* python test

* more intuitive and doc

* release notes

* example for python

* back to before

* minor documentation fix and sending nports unnecessarily for getRxUDPPortDisableMetadata

* doc

* review fixes, 1. using std::array instead of vector, 2. moving udp_datastream command testing with different values into master attributes testing file because we test the master file

* minor

* review: update help

* progress printed before assigned

* try catch inside hdf5

* auto generated code for CLI and formatting

* missing packets should not be checked at github workflow level

* formatting

* improved python doc for udp_datastream help

* indent doc python done
2026-07-13 14:58:25 +02:00
maliakal_dandmazzol_a 9cbf588217 debugging (still fails for old cache) (#1485)
Build on RHEL8 docker image / build (push) Successful in 5m11s
Build on RHEL9 docker image / build (push) Successful in 5m16s
Build and Deploy on local RHEL9 / build (push) Successful in 2m5s
Build and Deploy on local RHEL8 / build (push) Successful in 5m38s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m39s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m9s
* 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-07-08 11:39:33 +02:00