Millisecond accuracy video display using OpenGL under Linux.
To measure people's reaction times to the nearest millisecond, it is necessary to know exactly when a stimulus is displayed. This article describes how to display stimuli with millisecond accuracy on a normal CRT monitor, using a PC running Linux. A simple C program is presented to illustrate how this may be done within X Windows using the OpenGL rendering system. A test of this system is reported that demonstrates that stimuli may be consistently displayed with millisecond accuracy. An algorithm is presented that allows the exact time of stimulus presentation to be deduced, even if there are relatively large errors in measuring the display time.
Stewart
Neil
N
Department of Psychology, University of Warwick, Coventry CV4 7AL, England. neil.stewart@warwick.ac.uk
D035841:Behavioral Research / Q000379:methods*; D016288:Computer Terminals; D003625:Data Collection / Q000379:methods*; D006801:Humans; D010775:Photic Stimulation; D011930:Reaction Time; D012984:Software