timetag / ETA

ETA is a graphical event-driven programming language for time-tag processing.
https://timetag.github.io/
GNU General Public License v2.0
16 stars 6 forks source link

How would find last sync work in combined source? #103

Closed linzuzeng closed 4 years ago

linzuzeng commented 4 years ago

Maybe it should take the SYNC from the first timetag file as reference.

linzuzeng commented 4 years ago

We should allow users to set their own SYNC rate.

Cyberfly100 commented 4 years ago

aligning the syncs would be a great feature anyways. One file needs to be the master, other files internal time needs to be streched to match the master-sync. This becomes useful when the hardware has no external clock input to do it in internally (qutag and swabian have external clock input).

linzuzeng commented 4 years ago

The current implementation in master is that if multiple T3 mode file are used, they will both starts at time 0. If the SYNC rates are the same , they are synced without extra efforts. If the SYNC are different, the find Last-sync will find SYNC from the first defined rfile (master).

If T3 and T2 are mixed, it should work similarly without extra configurations. Things get a little bit complicated if T2 doesn't start at 0 while T3 does. In order to mix them properly, you will need to manually modify the Clip object and add a negative value to global time shift (global means apply to all chns within the same source)

We need to put this in the documentation.

linzuzeng commented 4 years ago

tested working. reopen if we find other issues.