In ScanImage 5.1 and ScanImage 2015/2016, the resonant scanner is the timing master of the system. Since the frequency of the resonant scanner can change slightly over time (mostly due to temperature changes), it is hard to predict the exact timing ahead of time.
However, during an active scan, you can measure the time delay between frames by reading out the frame clock with an oscilloscope.
The frame clock is exported on PFI6 of the resonant/galvo control board.
The frame clock goes high when the first sample of the first pixel of a frame is acquired and it goes low after the last sample of the last pixel of the frame is acquired.
The low time of the frame clock is exactly the time when no data is acquired.
Useful ScanImage Links: