Add GalilRIO integration #128

Merged
appel_c merged 1 commits from feat/add_galil_rio into main 2026-01-29 09:59:34 +01:00
Owner

This PR adds the integration of the GalilRIO controller, and a single GalilRIO device with 8 analog channels of the PLC controller. More complex devices may compute combination of signals based on the GalilRIO integration. They will be followed up, issues is created (#127)

This PR adds the integration of the `GalilRIO` controller, and a single `GalilRIO` device with 8 analog channels of the PLC controller. More complex devices may compute combination of signals based on the `GalilRIO` integration. They will be followed up, issues is created (https://gitea.psi.ch/bec/csaxs_bec/issues/127)
appel_c added 2 commits 2026-01-16 10:30:07 +01:00
fix(controller): Ensure wait_for_connection calls controller.on()
All checks were successful
CI for csaxs_bec / test (push) Successful in 1m13s
CI for csaxs_bec / test (pull_request) Successful in 1m19s
1a9a0beb86
feat(galil-rio): Add GalilRio Signal for analog channels
All checks were successful
CI for csaxs_bec / test (pull_request) Successful in 1m19s
CI for csaxs_bec / test (push) Successful in 1m16s
fec451f2d5
appel_c self-assigned this 2026-01-16 10:30:14 +01:00
appel_c requested review from holler 2026-01-16 10:30:21 +01:00
appel_c requested review from wakonig_k 2026-01-16 10:30:21 +01:00
appel_c force-pushed feat/add_galil_rio from fec451f2d5 to d396091d97 2026-01-16 10:53:00 +01:00 Compare
appel_c added 1 commit 2026-01-16 11:13:12 +01:00
test(galil-rio): Add tests for GalilRIOSignal
All checks were successful
CI for csaxs_bec / test (pull_request) Successful in 1m14s
CI for csaxs_bec / test (push) Successful in 1m18s
34be4c69e5
appel_c added 1 commit 2026-01-22 10:12:05 +01:00
wip rio
Some checks failed
CI for csaxs_bec / test (pull_request) Failing after 33s
CI for csaxs_bec / test (push) Failing after 36s
c7f82082f9
appel_c added 1 commit 2026-01-22 10:12:59 +01:00
w
Some checks failed
CI for csaxs_bec / test (pull_request) Failing after 32s
CI for csaxs_bec / test (push) Failing after 39s
83fb7714bf
appel_c added 1 commit 2026-01-22 10:15:10 +01:00
w
Some checks failed
CI for csaxs_bec / test (push) Failing after 37s
CI for csaxs_bec / test (pull_request) Failing after 36s
898059b817
appel_c added 1 commit 2026-01-22 10:16:49 +01:00
w
Some checks failed
CI for csaxs_bec / test (pull_request) Failing after 51s
CI for csaxs_bec / test (push) Failing after 59s
d2fd38ebd9
appel_c added 1 commit 2026-01-22 10:18:28 +01:00
w
Some checks failed
CI for csaxs_bec / test (pull_request) Failing after 31s
CI for csaxs_bec / test (push) Failing after 38s
9de2b0dd65
appel_c added 1 commit 2026-01-22 10:19:36 +01:00
w
Some checks failed
CI for csaxs_bec / test (pull_request) Failing after 33s
CI for csaxs_bec / test (push) Failing after 36s
614189ca62
appel_c added 1 commit 2026-01-22 10:37:41 +01:00
w
All checks were successful
CI for csaxs_bec / test (pull_request) Successful in 1m14s
CI for csaxs_bec / test (push) Successful in 1m20s
edf35046e9
appel_c added 1 commit 2026-01-22 11:04:56 +01:00
w
All checks were successful
CI for csaxs_bec / test (pull_request) Successful in 1m15s
CI for csaxs_bec / test (push) Successful in 1m24s
8e3326a35d
appel_c added 1 commit 2026-01-22 11:10:14 +01:00
w
All checks were successful
CI for csaxs_bec / test (push) Successful in 1m16s
CI for csaxs_bec / test (pull_request) Successful in 1m20s
3d5fbfd3ba
appel_c added 1 commit 2026-01-22 12:38:36 +01:00
wip add SUB_CONNECTION_CHANGED subscription
All checks were successful
CI for csaxs_bec / test (pull_request) Successful in 1m15s
CI for csaxs_bec / test (push) Successful in 1m26s
ba014c989b
appel_c added 2 commits 2026-01-22 15:35:28 +01:00
w
Some checks failed
CI for csaxs_bec / test (push) Failing after 1m3s
CI for csaxs_bec / test (pull_request) Successful in 1m14s
7340044937
appel_c added 1 commit 2026-01-22 15:39:05 +01:00
w
Some checks failed
CI for csaxs_bec / test (push) Has been cancelled
CI for csaxs_bec / test (pull_request) Successful in 1m19s
f93582e97d
appel_c added 1 commit 2026-01-22 15:39:51 +01:00
w
Some checks failed
CI for csaxs_bec / test (push) Has been cancelled
CI for csaxs_bec / test (pull_request) Successful in 1m15s
4e1453c34e
appel_c added 1 commit 2026-01-22 15:40:53 +01:00
w
Some checks failed
CI for csaxs_bec / test (pull_request) Failing after 6s
CI for csaxs_bec / test (push) Successful in 1m19s
6d29c1588c
appel_c added 1 commit 2026-01-22 15:42:32 +01:00
w
Some checks failed
CI for csaxs_bec / test (pull_request) Failing after 16s
CI for csaxs_bec / test (push) Failing after 20s
9f7c6c2011
appel_c added 1 commit 2026-01-22 15:44:18 +01:00
w
All checks were successful
CI for csaxs_bec / test (pull_request) Successful in 1m15s
CI for csaxs_bec / test (push) Successful in 1m24s
1b4b6e0bb3
appel_c added 1 commit 2026-01-22 15:47:01 +01:00
w
Some checks failed
CI for csaxs_bec / test (push) Failing after 17s
CI for csaxs_bec / test (pull_request) Successful in 1m16s
6b90048a79
appel_c added 2 commits 2026-01-22 16:10:41 +01:00
wip test
Some checks failed
CI for csaxs_bec / test (pull_request) Failing after 1m13s
CI for csaxs_bec / test (push) Failing after 1m17s
e499ccf2e7
appel_c force-pushed feat/add_galil_rio from e499ccf2e7 to 825f21fe7b 2026-01-26 07:50:20 +01:00 Compare
appel_c added 1 commit 2026-01-26 08:16:35 +01:00
wip galil rio
Some checks failed
CI for csaxs_bec / test (pull_request) Failing after 1m25s
CI for csaxs_bec / test (push) Failing after 1m38s
701557f1f9
appel_c added 1 commit 2026-01-26 08:19:40 +01:00
w
Some checks failed
CI for csaxs_bec / test (push) Failing after 1m25s
CI for csaxs_bec / test (pull_request) Failing after 1m29s
7ee5db3ca0
appel_c added 1 commit 2026-01-26 08:21:54 +01:00
w
Some checks failed
CI for csaxs_bec / test (push) Failing after 1m25s
CI for csaxs_bec / test (pull_request) Failing after 1m34s
9dec83a975
appel_c added 1 commit 2026-01-26 08:25:42 +01:00
w
Some checks failed
CI for csaxs_bec / test (push) Failing after 1m28s
CI for csaxs_bec / test (pull_request) Failing after 1m29s
c7606914c1
appel_c added 1 commit 2026-01-26 08:30:32 +01:00
w
Some checks failed
CI for csaxs_bec / test (pull_request) Failing after 1m23s
CI for csaxs_bec / test (push) Failing after 1m39s
3122b2d93d
appel_c added 1 commit 2026-01-26 09:51:41 +01:00
w
Some checks failed
CI for csaxs_bec / test (pull_request) Failing after 1m25s
CI for csaxs_bec / test (push) Failing after 1m30s
30ec9f15aa
appel_c added 1 commit 2026-01-26 09:54:10 +01:00
w
Some checks failed
CI for csaxs_bec / test (push) Failing after 1m24s
CI for csaxs_bec / test (pull_request) Failing after 1m30s
9757f731d0
appel_c added 1 commit 2026-01-26 09:56:53 +01:00
w
Some checks failed
CI for csaxs_bec / test (pull_request) Failing after 1m26s
CI for csaxs_bec / test (push) Failing after 1m28s
f22b87cd1c
appel_c added 1 commit 2026-01-26 10:06:57 +01:00
w
Some checks failed
CI for csaxs_bec / test (pull_request) Failing after 1m26s
CI for csaxs_bec / test (push) Failing after 1m28s
3f7d888596
appel_c added 1 commit 2026-01-26 10:09:52 +01:00
w
Some checks failed
CI for csaxs_bec / test (pull_request) Failing after 1m24s
CI for csaxs_bec / test (push) Failing after 1m28s
8200d3f7c5
appel_c added 1 commit 2026-01-26 10:55:53 +01:00
w
All checks were successful
CI for csaxs_bec / test (pull_request) Successful in 1m29s
CI for csaxs_bec / test (push) Successful in 1m31s
8c7e8ab34f
appel_c added 1 commit 2026-01-26 11:02:09 +01:00
w
All checks were successful
CI for csaxs_bec / test (push) Successful in 1m30s
CI for csaxs_bec / test (pull_request) Successful in 1m33s
50b0f570fc
appel_c force-pushed feat/add_galil_rio from 50b0f570fc to bfab5425d9 2026-01-26 11:05:01 +01:00 Compare
wakonig_k reviewed 2026-01-26 20:55:45 +01:00
@@ -36,0 +68,4 @@
"""
Read-only Signal for reading a single analog input channel from the Galil RIO controller.
It always read all 8 analog channels at once, and updates the reabacks of all channels.
Further reads within 0.5 seconds return the last readback value without querying the controller again.
Owner

0.1 seconds

0.1 seconds
Author
Owner

done

done
appel_c marked this conversation as resolved
@@ -36,0 +90,4 @@
def get(self):
"""Get current analog channel values from the Galil RIO controller."""
# If the last readback has happend more than 0.5 seconds ago, read all channels again
Owner

more than _READ_TIMEOUT seconds ago

more than _READ_TIMEOUT seconds ago
Author
Owner

done

done
appel_c marked this conversation as resolved
appel_c force-pushed feat/add_galil_rio from bfab5425d9 to 36e68a7d47 2026-01-29 08:19:38 +01:00 Compare
appel_c force-pushed feat/add_galil_rio from 36e68a7d47 to 82d47c7511 2026-01-29 08:20:38 +01:00 Compare
wakonig_k approved these changes 2026-01-29 08:35:59 +01:00
appel_c merged commit 82d47c7511 into main 2026-01-29 09:59:34 +01:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bec/csaxs_bec#128