26 Commits

Author SHA1 Message Date
soederqvist_a 152200366f Do not poll Threshold when disabled, e.g. Channel=0
Example Action / Lint (push) Successful in 8s
Example Action / BuildAndTest (push) Successful in 48s
Only conditionally poll Threshold when it's enabled.
Use a trick to initialize the record at threshold 0
2026-04-27 11:29:40 +02:00
wall_e 0eb937104e fixes bug, that monitor-channel was being reset on startup
Example Action / Lint (push) Successful in 3s
Example Action / BuildAndTest (push) Successful in 38s
2026-04-24 12:09:50 +02:00
wall_e 577d4dca88 makes the low_rate bit polarity configurable
Example Action / Lint (push) Successful in 3s
Example Action / BuildAndTest (push) Successful in 37s
2026-04-20 14:45:59 +02:00
wall_e 38bd4293bf propogate severity
Example Action / Lint (push) Successful in 3s
Example Action / BuildAndTest (push) Failing after 9s
2026-04-02 15:57:03 +02:00
soederqvist_a f7d4292d68 Software proton counter DAQ (#5)
Example Action / Lint (push) Successful in 3s
Example Action / BuildAndTest (push) Failing after 10s
This PR implements a software based proton counterbox implementation supporting only 1 channel, the proton current that is typically propagated over channel access.

It also changes a minor convention of how to signal low rate, but this wasn't used by the client Nicos so this shouldn't affect anything.

Reviewed-on: #5
2026-03-11 09:25:17 +01:00
soederqvist_a 9958ef428b Monitor channels, change record type to int64in
Example Action / Lint (push) Successful in 8s
Example Action / BuildAndTest (push) Failing after 15s
2025-11-17 09:54:34 +01:00
wall_e e91b0e54b7 make limits on 4 and 8 channel consequent
Example Action / Lint (push) Successful in 4s
Example Action / BuildAndTest (push) Failing after 10m0s
2025-09-19 10:31:16 +02:00
wall_e 14214e6151 low rate status is handled differently in new and old box
Example Action / Lint (push) Successful in 3s
Example Action / BuildAndTest (push) Failing after 9m52s
2025-09-17 13:54:08 +02:00
wall_e b8406016d2 removes duplicated clearing of channels and cleans up status mapping for nicos
Example Action / Lint (push) Successful in 3s
Example Action / BuildAndTest (push) Failing after 9m42s
2025-09-17 12:26:47 +02:00
wall_e eefb8c2053 :( missed the command
Example Action / Lint (push) Successful in 2s
Example Action / BuildAndTest (push) Failing after 9m44s
2025-07-08 12:33:43 +02:00
wall_e 2717b66fcd corrects how each channel should be cleared
Example Action / Lint (push) Successful in 2s
Example Action / BuildAndTest (push) Failing after 9m40s
2025-07-08 12:16:09 +02:00
wall_e ae20111e42 correct simulation
Example Action / Lint (push) Successful in 8s
Example Action / BuildAndTest (push) Successful in 10m10s
2025-07-04 15:41:01 +02:00
wall_e 2770cd80da Description too long 2025-06-17 16:19:38 +02:00
wall_e 65ad13d114 adds gating stuff, writes all thresholds simultaneously, updates readme with example 2025-06-17 10:12:52 +02:00
wall_e 3dd7c5a1d9 moves the gating configuration logic to epics 2025-06-16 17:38:48 +02:00
wall_e f31e7c1e23 changes to play nicer with the nicos detector interface and with caproto 2025-05-23 11:51:57 +02:00
wall_e 5066cafc07 rename from counterbox to daq 2025-04-29 17:22:31 +02:00
wall_e d81105551d use the INSTR environment variable instead of PREFIX 2025-04-29 15:58:32 +02:00
wall_e d4b111ce6d Commiting state after implementing gating etc before cleaning and refactoring 2025-02-13 16:06:31 +01:00
wall_e 4bd648ea5d Adds PVs for reseting the channels and timer 2024-11-18 14:43:16 +01:00
wall_e 3b660ca560 SINQSW-107 makes some changes to better cooperate with Nicos 2024-11-13 12:29:24 +01:00
wall_e 897e54901f Adding sim and test 2024-11-05 09:29:38 +01:00
wall_e 29e8aa9e85 simplify status/count update logic 2024-10-24 11:53:37 +02:00
wall_e 91c059370b adds PV to find out number of supported channels 2024-10-23 09:25:41 +02:00
wall_e 15b5bf8cfe Adds support for 4 channel boxes and overview in Readme 2024-10-21 08:48:56 +02:00
wall_e d612f5c565 Draft Stream Device Rewrite of Counterbox Driver 2024-10-18 13:18:43 +02:00