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
- Loop over applications in a session
- Gather the input and output network endpoints for all modules
- if the application is a
SmartDaqApplication, generate the list of modules, and then gather
- Match inputs and outputs across applications
- List non-connected endpoints
- Raise warning/errors appropriately