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

Add verification of session connections consistency in configuration #511

Open
alessandrothea opened this issue Oct 2, 2024 · 0 comments

Comments

@alessandrothea
Copy link
Contributor

alessandrothea commented Oct 2, 2024

All DAQ applications network endpoints in DAQ systems are supposed to have one or more endpoints to establish connections. The presence of unmatched network endpoints in a system configuration could lead to warnings, error or, if not properly handled, to crashes and non-deterministic behaviour.
Unmatched or dangling endpoints can be detected with the following steps

  1. Loop over applications in a session
  2. Gather the input and output network endpoints for all modules
    • if the application is a SmartDaqApplication, generate the list of modules, and then gather
  3. Match inputs and outputs across applications
  4. List non-connected endpoints
  5. Raise warning/errors appropriately
@alessandrothea alessandrothea changed the title Verify session connections in configuration Add verification of session connections consistency in configuration Oct 3, 2024
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

No branches or pull requests

1 participant