graph-prototype icon indicating copy to clipboard operation
graph-prototype copied to clipboard

Implemention of Synchronization block

Open drslebedev opened this issue 1 year ago • 0 comments

The primary functionality of this block is to synchronize input samples.

The key features and requirements for this block are outlined below:

  1. The block should support N input Async ports and N output ports. As an initial proof of concept, the implementation can start with handling just 2 ports, but the design should be scalable to support more ports in the future.

  2. Synchronization Based on Input Tags: This synchronization should be based on the information available in input tags. The block must be capable of handling various scenarios as demonstrated in the provided figure.

  3. Sync Information Tags: The block should extract synchronization information from specific tags: trigger_name, trigger_time, and trigger_offset.

  4. Sample Rate Consistency Check: If the sample_rate information is provided via corresponding tag, the block should verify that the sample rate is consistent across all ports. In cases where there is a discrepancy in the sample rates among the ports, the block should return an error.

sync_block

Issue will be updated.

drslebedev avatar Jan 23 '24 14:01 drslebedev