Hi Daniel,
The sync output does indeed work well. And the issue seems to be related to the writing process.
I changed computer and now use a very recent one (Dell Inspiron, 3 months old) equipped with a SSD drive, and running windows 7.
I run a ~1800 frames movie at 30fps, and observed that the number of missing frames has been reduced by a lot, but unfortunately there are still some (4 in total).
The writing speed has dropped a few times to 120fps, as indicated by the software.
As mentioned in my previous post, the counter of dropped frames remained at zero, although it should be at 4.
The time stamps data are showing when the problem occurred (calculating the difference between successive time stamps and plotting these values, you see peaks corresponding to the times one or few frames were lost).
Not sure what to try next because this machine is pretty good. Maybe try windows 10? I will check with a Windows 10 laptop, and let you know.
Stephan
PS: Here is the way I am measuring this effect:
In this set-up, no LED is connected to the CMOS board.
I have an arduino which is receiving the Sync output of the camera. The arduino is programmed to turn on a LED for ~10ms once every 2 rising edge of the Sync Signal (once every 4 frames). The LED is directed at the camera. That way, I can check whether and when a frame is lost looking at the movie (I should always see 3 dark frames followed by 1 bright one unless a frame has been lost).
The light of the LED is also reaching a photodiode. Its output, as well as the Sync Output are recorded on a NI-DAQ during the movie acquisition. This is used to make sure the Sync Output is fine and the LED indeed turned on properly.