* 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
* 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
* eiger: setting vthreshold dac should also set settings to undefined
* compiled server with new release version and changed name to match
* release notes
* 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
* 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>
* 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>
* 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>
* 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>
* 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>
* 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
* treating warnings as errors during workflows
* suppress warnings for moench calibration
* no format overflow
* revert formatting
* bettter conditional branching in cmake
* 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>
* 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>
* 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>
* 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
* 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>