Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent out of order frames #298

Conversation

Modularius
Copy link
Contributor

Summary of changes

In the aggregator: prevents new frames from being created whose timestamp is earlier than or equal to any that have previously been dispatched. That is, if a digitiser messages arrives late, then if it's frame is still in the cache, it is aggregated into that frame, otherwise it is discarded and a warning emitted.

Closes #288.

Note that we still assume that each frame's initial digitiser message appears in chronological order.

Instruction for review/testing

General code review.
Has been tested on simulated data.

@Modularius Modularius requested a review from DanNixon January 14, 2025 23:59
Copy link
Member

@DanNixon DanNixon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@DanNixon DanNixon merged commit 7501aaf into STFC-ICD-Research-and-Design:main Jan 15, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Possible Resolutions to Out-of-Order frames in the nexus files
2 participants