Volume 38, Number 1, 142-145, DOI: 10.3758/BF03192759

Published in partnership with

Logo

The Psychonomic Society

Millisecond accuracy video display using OpenGL under Linux

Neil Stewart

View Related Documents

Abstract

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.

Fulltext Preview

Image of the first page of the fulltext document