I realized that when I record the TTLs that the miniscope sends for each recorded frame I always end up with more pulses/timestamps than frames recorded. The difference ranges from very few up to more than 100.
I couldn't find any correlation between the difference and recording length.
It is always more timestamps than frames.
The timestamp.dat file corresponds to the number of frames recorded.
The time difference between all TTL-timestamps recorded is the same (so I cannot exclude some timestamps just by looking at the difference).
=> It looks like the Miniscope sends the TTLs before starting the recording or is still sending TTLs after the Recording stopped (Or both).
Any ideas what could cause this or possible solutions?