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

Changes to help avoid warning messages when tardy TPs arrive at the TPStreamWriter #96

Merged
merged 4 commits into from
Jul 3, 2024

Conversation

bieryAtFnal
Copy link
Collaborator

This PR is related to ones in daqdataformats and dfmodules, but it can be regression tested and merged by itself.

These changes are part of reducing the number of warning messages when tardy TPs arrive at the TPStreamWriter.

The changes in this package basically consist of checking whether a TimeSlice has already been written to the HDF5 file, and throwing a custom exception when that happens so that the code that calls write(TimeSlice) can react intelligently.

The change in HDF5LIBS_TestDumpRecord is not related to the TPSW changes, but is just a convenience that is being included here for expedience.

Kurt Biery added 4 commits July 2, 2024 09:05
…Header DataSet as a single string. This will be used to check if a TSH already exists for a given time slice and not waste time trying to create it again.
…TestDumpRecord output so that expert users can verify that the correct number is present.
…esn't try to write a TimeSlice that already exists. It now throws a special exception instead so that callers can react appropriately.
@wesketchum wesketchum merged commit 4b3d137 into patch/fddaq-v4.4.x Jul 3, 2024
1 check passed
@wesketchum wesketchum deleted the kbiery/tpsw_ignore_late_tps branch July 3, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants