Commit Graph

9539 Commits

Author SHA1 Message Date
maliakal_d 37a7ed3318 m3 fix vthresh
Build on RHEL9 / build (push) Successful in 3m27s
Build on RHEL8 / build (push) Successful in 4m50s
Run Simulator Tests on local RHEL9 / build (push) Failing after 11m13s
Run Simulator Tests on local RHEL8 / build (push) Failing after 13m15s
2026-02-13 12:33:30 +01:00
maliakal_d da2963a274 fix eiger
Build on RHEL9 / build (push) Successful in 3m46s
Build on RHEL8 / build (push) Successful in 5m11s
Run Simulator Tests on local RHEL9 / build (push) Failing after 9m36s
Run Simulator Tests on local RHEL8 / build (push) Failing after 11m35s
2026-02-13 12:18:40 +01:00
maliakal_d 621031f638 compiles.wip 2026-02-13 12:06:11 +01:00
maliakal_d cfeffcc36e moench.wip 2026-02-12 16:18:08 +01:00
maliakal_d 078a3618af wip. jungfrau 2026-02-12 15:50:20 +01:00
maliakal_d 34549d5e9a wip. gotthard2 and m3 2026-02-12 15:31:19 +01:00
maliakal_d 2efce1203d eiger.wip, mV in boolean 2026-02-11 16:04:11 +01:00
maliakal_d 61a4bbfb0c retval pointer for printout
Build on RHEL9 / build (push) Successful in 3m28s
Build on RHEL8 / build (push) Successful in 4m53s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m42s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m0s
2026-02-10 17:21:38 +01:00
maliakal_d 2fe45e1602 eiger: unnecessary check for setsettings undefined
Build on RHEL9 / build (push) Successful in 3m21s
Build on RHEL8 / build (push) Successful in 4m51s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m42s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m3s
2026-02-10 16:47:23 +01:00
maliakal_d e3d38ab73c Merge branch 'developer' into dev/xilinx_set_dac_rewrite
Build on RHEL9 / build (push) Successful in 3m54s
Build on RHEL8 / build (push) Successful in 4m55s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m40s
Run Simulator Tests on local RHEL8 / build (push) Successful in 16m56s
2026-02-10 16:12:17 +01:00
maliakal_d 1c44a66964 formatted 2026-02-10 16:10:51 +01:00
maliakal_d fad524de7a Merge branch 'developer' into dev/xilinx_set_dac_rewrite
Build on RHEL9 / build (push) Successful in 3m57s
Build on RHEL8 / build (push) Successful in 5m14s
Run Simulator Tests on local RHEL8 / build (push) Has been cancelled
Run Simulator Tests on local RHEL9 / build (push) Has been cancelled
2026-02-10 15:57:41 +01:00
maliakal_d b45dca06da get vchip refactoring
Build on RHEL9 / build (push) Successful in 3m40s
Build on RHEL8 / build (push) Successful in 4m41s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m40s
Run Simulator Tests on local RHEL8 / build (push) Successful in 16m57s
2026-02-10 15:19:44 +01:00
maliakal_d bb31575cdd refactoring
Build on RHEL9 / build (push) Successful in 3m35s
Build on RHEL8 / build (push) Successful in 4m39s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m39s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m1s
2026-02-10 15:07:49 +01:00
maliakal_d 268fbd845f minor
Build on RHEL9 / build (push) Successful in 3m57s
Build on RHEL8 / build (push) Successful in 4m58s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m40s
Run Simulator Tests on local RHEL8 / build (push) Successful in 16m57s
2026-02-10 14:47:28 +01:00
maliakal_d affc3bd845 updated server binaries
Build on RHEL9 / build (push) Successful in 3m28s
Build on RHEL8 / build (push) Successful in 4m38s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m39s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m1s
2026-02-10 11:59:42 +01:00
maliakal_d 57422c9b6b set power fixed 2026-02-10 11:59:32 +01:00
maliakal_d 5cddff04d8 setting power to 0
Build on RHEL9 / build (push) Successful in 3m55s
Build on RHEL8 / build (push) Successful in 4m36s
Run Simulator Tests on local RHEL9 / build (push) Failing after 11m15s
Run Simulator Tests on local RHEL8 / build (push) Failing after 13m20s
2026-02-09 17:51:40 +01:00
maliakal_d ac32cc47a6 fix typos and bugs 2026-02-09 17:45:35 +01:00
mazzol_a 1c18803dc9 Merge pull request #1385 from slsdetectorgroup/dev/fix_update_ctb
Build on RHEL9 / build (push) Successful in 3m21s
Build on RHEL8 / build (push) Successful in 4m45s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m40s
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 3m32s
skip if not plotted
2026-02-09 15:22:16 +01:00
mazzol_a b3f5473385 Merge branch 'developer' into dev/fix_update_ctb
Build on RHEL9 / build (push) Successful in 3m53s
Build on RHEL8 / build (push) Successful in 4m39s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m40s
Run Simulator Tests on local RHEL8 / build (push) Successful in 16m58s
2026-02-09 15:17:02 +01:00
Erik Fröjdh 3f4df445f1 send back the result of the SPI write (#1387)
Build on RHEL9 / build (push) Successful in 3m21s
Build on RHEL8 / build (push) Successful in 4m47s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m39s
Build on local RHEL9 / build (push) Successful in 1m25s
Run Simulator Tests on local RHEL8 / build (push) Successful in 16m57s
Build on local RHEL8 / build (push) Successful in 3m32s
2026-02-09 13:50:35 +01:00
maliakal_d afbc7a2229 fixed virtual m3
Run Simulator Tests on local RHEL9 / build (push) Failing after 3m28s
Build on RHEL9 / build (push) Successful in 3m25s
Build on RHEL8 / build (push) Successful in 4m46s
Run Simulator Tests on local RHEL8 / build (push) Failing after 5m3s
2026-02-09 13:09:19 +01:00
mazzol_a ec6a8b6d66 added range update
Build on RHEL9 / build (push) Successful in 3m24s
Build on RHEL8 / build (push) Successful in 4m44s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m41s
Run Simulator Tests on local RHEL8 / build (push) Successful in 17m0s
2026-02-09 12:42:35 +01:00
mazzol_a 78044b2783 always write all wave data & uncheck plot if digital bit unchecked
Build on RHEL9 / build (push) Successful in 3m28s
Build on RHEL8 / build (push) Successful in 4m45s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m38s
Run Simulator Tests on local RHEL8 / build (push) Successful in 16m58s
2026-02-06 16:41:04 +01:00
maliakal_d b759c72bb6 more fixes
Run Simulator Tests on local RHEL9 / build (push) Failing after 3m22s
Build on RHEL9 / build (push) Successful in 3m24s
Build on RHEL8 / build (push) Successful in 4m47s
Run Simulator Tests on local RHEL8 / build (push) Failing after 5m2s
2026-02-06 15:27:14 +01:00
mazzol_a 7f5b26743f uff introduced another bug 2026-02-06 14:55:18 +01:00
mazzol_a 92da709bda skip if not plotted 2026-02-06 14:39:11 +01:00
maliakal_d e97edfda18 Merge branch 'developer' into dev/xilinx_set_dac_rewrite
Run Simulator Tests on local RHEL9 / build (push) Failing after 13s
Run Simulator Tests on local RHEL8 / build (push) Failing after 25s
Build on RHEL9 / build (push) Failing after 29s
Build on RHEL8 / build (push) Failing after 35s
2026-02-06 13:22:21 +01:00
maliakal_d 2fff72e867 fixed eiger test 2026-02-06 13:19:32 +01:00
maliakal_d 199cf336d5 wip. compiles
Build on RHEL9 / build (push) Successful in 3m15s
Build on RHEL8 / build (push) Successful in 4m42s
2026-02-05 20:45:59 +01:00
maliakal_d 0352d637b5 wip
Build on RHEL8 / build (push) Failing after 32s
Build on RHEL9 / build (push) Failing after 28s
2026-02-05 19:10:25 +01:00
Erik Fröjdh 0992c7ae4c Read and write SPI for Xilinx CTB (#1381)
Build on RHEL9 / build (push) Successful in 3m25s
Build on RHEL8 / build (push) Successful in 4m37s
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 17m0s
Build on local RHEL8 / build (push) Successful in 3m32s
-readSpi and writeSpi in C++ and Python API
2026-02-05 17:20:47 +01:00
maliakal_d aeec120430 wip. xilinx
Build on RHEL9 / build (push) Failing after 28s
Build on RHEL8 / build (push) Failing after 35s
2026-02-05 16:30:11 +01:00
muelle_m1 fb58fefe57 added RegDefs for 1G support on XCTB
Build on RHEL9 / build (push) Successful in 3m28s
Build on RHEL8 / build (push) Successful in 4m36s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m40s
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 3m31s
2026-02-05 15:11:31 +01:00
maliakal_d 326a8efad6 wip. xilinx left
Build on RHEL8 / build (push) Failing after 32s
Build on RHEL9 / build (push) Failing after 29s
2026-02-04 17:52:20 +01:00
maliakal_d edd4111d8a wip
Build on RHEL9 / build (push) Failing after 28s
Build on RHEL8 / build (push) Failing after 34s
2026-02-03 18:23:26 +01:00
mazzol_a 28b2aa9673 Dev/add simulator tests in GitHub workflows (#1337)
Build on RHEL9 / build (push) Successful in 3m50s
Build on RHEL8 / build (push) Successful in 4m46s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m37s
Build on local RHEL9 / build (push) Successful in 1m26s
Run Simulator Tests on local RHEL8 / build (push) Successful in 16m57s
Build on local RHEL8 / build (push) Successful in 3m33s
* added simulator tests in github workflows

* indentation error

* typo

* debug

* Logging for debugging

* added more debug lines

* more debugging

* debug

* debug

* debug

* dont throw if process does not exist

* debug

* added absolute path to sls_detector commands

* some refactoring in test scripts

* added absolute path to all slsdet command

* typo

* ../tests/scripts/test_frame_synchronizer.py

* raise exception upon failure for github workflows

* removed hidden tags

* some refactoring in test scripts

* some refactoring

* fixed CMakeLists

* fixed unsuccesful merge

* updated python tests using simulators

* debug import error

* debug module import

* python -m runs module pytest as script - everything in path available

* removed integartion tests

* enable file write not to log files

* run tests without log files

* increased sleep time for udp packets

* added logg level variable to cmake

* added testing policies to documenattion

* disabled check for num_frames for jungfrau & xilinx

* set log level as cmake cached variable

* disable tests for jungfrau and xilinx_ctb

* check frames for HDF5

* updated Documentation of Testing

* changed withdetectorsimulators to detectorintegration

* replaced [.cmdcall] with [.detectorintegration]

* check_file_size only disabled for jungfrau - disable for all roi tests

* changed time to wait after receive to 5 ms

* take into account half modules of eiger

* num udp interfaces needs to be consistent across modules

* suppressed warning enclosing if

* config added 2 udp ports per default for moench and jungfrau

* write detector output to console

* allow jungfrau to tests num frames, remove unused variable (numinterfaces), add comment for future to handle traceback to know which calling function threw the files unmatched, added documentation for tests (examples for .detectoritnegration and how to disable marked tests, removed addditional argumetns to disable for test_simulator as one can just use ~, removed the check that checks for jungfrau checking number of frames at master attributes and at rx test, removed unused advanced_test_settings in test_simulator script, the num_mods check for multiple modules is removed and default num  modules set to 1 for test_simulator (to be increased later), back to raising exception for killprocess

* removed integration tests from cmakelists.txt and cmk.sh, modified the tests workflow command to reflect the disable argument and removed xilinx_ctb from test (fix fromdeveloper merge to be done)

* filtering by actual name for disable certain tests on github workflow

* minor refactor

* wip

* wip

* changes to run on local rh9 runner instead of github workfloa

* modified yml to remove some leftover from github workflow

* test

* fix build_dir in scripts (github workflow) and pytest dir in gitea workflow

* making the local machine use python3.13 binary

* pythonpath added

* changes for build_Dir back

* allowing ctb api tests

* allowed ctb api tests and set up slsdetname envt variable for shared memory being reserved just for these tests

* added rh8 workflow for local runner on gitea

* remnants from rh9 local runner

* remnants from rh9 local runner

* conda env for all shell for local runner

* allowing hdf5 to build on local runner

* run all tests for both the runners

* refactored fixtures a bit and merged some tests that use one session for entire server

* test fail

* test fix

* adding github workflow to test without data file checks and without logs

* documentation changes

* unnecessary import in conftest

* allowing the session_simulator to test for multiple modules and interfaces etc

* allow test_simulator script to run for 2 modules for all modules except ctb and xilinx ctb

* run upon push

* removing the disable file check on github workflow

* minor adjustment

* testing without synch

* reverting to previous

* with log file

* without the space

* summary from file and more error extracts from file to terminal

* minor

* trying nlf for more details

* updated with no log file to print everything to screen  also for det and rxr

* trying a no throw

* stoi was more about indent in yaml

* tries

* wip

* debug

* number of frames inconsistent fix=>just take first one, only test xilinx

* jungfrau tests without frames caught check

* extend the disable file check to everywhere that creates files

* specify path for test_simulator

* withoutprinting ==

* wip

* back with printing===, but not parsing file for errors anymore

* lang?

* wip

* safe log?

* wip2

* wip

* dont split error as its streaming live, just raise

* with log files

* lang?

* last resort

* wip

* test no det with general tests

* show tests live

* also include hidden integration tests

* without extra summary?

* revert

* last resort again

* tsquash on int64_t?

* tsquash on int64_t? mroe print

* writing to /tmp?

* all tests

* might be the fix?

* write to file

* fixed a few quiet mode no log file tests

* work on any branch for github tests, work on also release candidates for gitea tests

* added frame synchronizer tests to github workflow

* moved tests to run_tests.yaml from cmake.yaml

* documentation

* disabled general tests

---------

Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
2026-02-03 11:45:12 +01:00
maliakal_d e3020446ca wip 2026-02-03 11:15:27 +01:00
mazzol_a a390e580d2 Merge pull request #1375 from slsdetectorgroup/dev/xilinx_rm_powerdown
Build on local RHEL9 / build (push) Successful in 1m25s
Build on RHEL9 / build (push) Successful in 3m58s
Build on RHEL8 / build (push) Successful in 4m48s
Build on local RHEL8 / build (push) Successful in 3m32s
xilinx server: remove powerdown for power regulators
2026-02-02 13:53:53 +01:00
mazzol_a aeed4762cf Merge branch 'developer' into dev/xilinx_rm_powerdown
Build on RHEL9 / build (push) Successful in 3m18s
Build on RHEL8 / build (push) Successful in 4m40s
2026-02-02 12:17:07 +01:00
mazzol_a 809d70a950 Merge pull request #1376 from slsdetectorgroup/dev/mh1decode
Build on local RHEL9 / build (push) Successful in 1m25s
Build on RHEL9 / build (push) Successful in 3m16s
Build on local RHEL8 / build (push) Successful in 3m33s
Build on RHEL8 / build (push) Successful in 4m40s
pyctbgui decoder for Matterhorn1 16 bits (1 and 4 counters)
2026-01-29 14:06:16 +01:00
Erik Fröjdh c86263fc33 Merge branch 'developer' into dev/mh1decode
Build on RHEL9 / build (push) Successful in 3m20s
Build on RHEL8 / build (push) Successful in 4m37s
2026-01-28 18:58:02 +01:00
froejdh_e c500891eb5 removed comments
Build on RHEL9 / build (push) Successful in 3m43s
Build on RHEL8 / build (push) Successful in 4m41s
2026-01-28 16:43:43 +01:00
froejdh_e 8a0191e3f6 using np.take and updated pixel map
Build on RHEL9 / build (push) Successful in 3m47s
Build on RHEL8 / build (push) Successful in 4m42s
2026-01-28 15:54:27 +01:00
maliakal_d 5811e4e9ab added tests to ensure startup val is not -1 or -100 after powerchip in config for xilinx 2026-01-28 15:30:42 +01:00
maliakal_d 9e7952048a calling setPower instead of setDac as the conversion should happen here 2026-01-28 15:20:34 +01:00
froejdh_e c3c3970f19 added 16bit 1 counter and 16bit 4 counters 2026-01-28 15:13:15 +01:00
maliakal_d 9a876075ab updated binary 2026-01-28 15:12:55 +01:00
maliakal_d 2c6ded89ad xilinx server: not allowing power down as default dac values for the power regulators and not allowing to be set to these in the future either 2026-01-28 14:59:49 +01:00