I'm currently investigating a timing issue where a square wave is 2-3 frames delayed (2048 Hz, approx. 1 - 1.4 ms) when recorded via the analog input box and compared against the digital trigger. I replicated the experiment (and used EEGLAB for data processing) on a .bdf file from ActiView, and the square waves from both the analog and digital signals are exactly aligned.