Add logic for EXT/EN to DDG and MCS for flOMNI #136
Merged
appel_c
merged 12 commits from 2026-02-16 10:41:35 +01:00
feat/add_flomni_ext_en into main
Dismiss Review
Are you sure you want to dismiss this review?
Labels
Clear labels
issue::not confirmed
issue::not reproducible
issue::reproducible
priority::critical
priority::needed
priority::nice to have
scope::backend
scope::frontend
stage::in development
stage::on hold
stage::pre_release
stage::ready for review
stage::selected for development
stage::weekly backlog
type::bug
type::discussion
type::doc
type::feature
type::improvement
type::test
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
Used if an issue has not yet been confirmed by a developer
Used if an issue is not reproducible
Used if a developer was able to reproduce the issue
Should be done as soon as possible
An important update to the code base
Not really needed but a good improvement
An issue regarding the backend services
An issue regarding the user-facing services
This issue is currently being worked on
Something is blocking the development
For issues that have been merged into a pre-release branch and are waiting for their release.
For issues that have been resolved and are ready for review
This issue has been selected for development but has not been scheduled yet
This issue has been selected for development for the next development cycle
It's a bug!
A discussion is wanted/needed
Improvements to the documentation
A new feature
Neither a feature nor a bug but an improvement to the code base
Missing tests or improvements to the test suite
Something is not working
This issue or pull request already exists
New feature
Need some help
Something is wrong
More information is needed
This won't be fixed
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
acerbo_a (acerbo_a)
bec-gitea
celcer_t (celcer_t)
debenjak_l (debenjak_l)
diaz (diaz)
divall_e (divall_e)
guizar_m (guizar_m)
haghta_s (haghta_s)
holler (holler)
lombosi_c (lombosi_c)
menzel (menzel)
perl_d (perl_d)
usov_i (usov_i)
wakonig_k (wakonig_k)
wang_x1 (wang_x1)
wyzula_j (wyzula_j)
zamofing_t (zamofing_t)
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: bec/csaxs_bec#136
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
PR to extend the logic on the DDG and the MCS card for operation with flOMNI. THe implementation now supports flOMNI fly scans, for which the mcs card is setup in a different fashion. We also configure the DDG differently in that scenario. In addition, we added the logic to the two devices to be able to cope with EXT/EN signals configured on the DDG. This is a first working version, but should be crosschecked for other built-in fly scans to make sure that they still work as expected.
Looks great to me. One thing I am currently wondering is the DDG line where we removed the shutter close time.
d = a + exp_time * burst_count + 1ms (to allow the shutter to close)
Removing the 1 ms makes sense because the shutter shall start closing immediately after the exposure ends.
Having some additional delay on another channel to account for the close time could be used to block the delay generator for the full shutter close time of 2 ms. Then the entire setup would be in a clean state for opening the shutter again.
With the new fast shutter system, I actually execute the full close movement before starting the open movement. If the trigger signal for opening comes to early, the shutter will still open, but then it will not take 2 ms but the full close open cycle of 2+2 ms.