The discrepancy in timing between synchronous signals and visual stimulation should not be underestimated

Behav Res Methods. 2024 Mar 14. doi: 10.3758/s13428-024-02382-8. Online ahead of print.

Abstract

Response latency is a critical parameter in studying human behavior, representing the time interval between the onset of stimulus and the response. However, different time between devices can introduce errors. Serial port synchronization signal can mitigate this, but limited information is available regarding their accuracy. Optical signals offer another option, but the difference in the positioning of optical signals and visual stimuli can introduce errors, and there have been limited reports of error reduction. This study aims to investigate methods for reducing the time errors. We used the Psychtoolbox to generate visual stimuli and serial port synchronization signals to explore their accuracy. Subsequently, we proposed a calibration formula to minimize the error between optical signals and visual stimuli. The findings are as follows: Firstly, the serial port synchronization signal presenting precedes visual stimulation, with a smaller lead time observed at higher refresh rates. Secondly, the lead time increases as the stimulus position deviates to the right and downwards. In Linux and IOPort(), serial port synchronization signals exhibited greater accuracy. Considering the poor accuracy and the multiple influencing factors associated with serial port synchronization signals, it is recommended to use optical signals to complete time synchronization. The results indicate that under the darkening process, the time error is - 0.23 ~ 0.08 ms (mean). This calibration formula can help measure the response latency accurately. This study provides valuable insights for optimizing experimental design and improving the accuracy of response latency. Although it only involves visual stimuli, the methods and results of this study can still serve as a reference.

Keywords: Correction function; Response latency; Synchronous signal; Timing; Visual stimulation.