Abstract
Object-oriented programming provides a useful structure for designing reusable code. Accurate millisecond timing is essential for many areas of research. With this in mind, this paper provides a Turbo Pascal unit containing an object-oriented millisecond timer. This approach allows for multiple timers to be running independently. The timers may also be set at different levels of temporal precision, such as 10−3 (milliseconds) or 10−5 sec. The object also is able to store the time of a flagged event for later examination without interrupting the ongoing timing operation.
Article PDF
Similar content being viewed by others
Avoid common mistakes on your manuscript.
References
Bovens, N., &Brysbaert, M. (1990). IBM PC/XT/AT and PS/2 Turbo Pascal timing with extended resolution.Behavior Research Methods, Instruments, & Computers,22, 332–334.
Graves, R. E., &Bradley, R. (1987). Millisecond interval timer and auditory reaction time programs for the IBM PC.Behavior Research Methods, Instruments, & Computers,19, 30–35.
Graves, R. E., &Bradley, R. (1991). Millisecond timing on the IBM PC/XT/AT and PS/2: A review of the options and corrections for the Graves and Bradley algorithm.Behavior Research Methods, Instruments, & Computers,23, 377–379.
Heathcote, A. (1988). Screen control and timing routines for the IBM microcomputer family using a high-level language.Behavior Research Methods, Instruments, & Computers,20, 289–297.
Kello, C. T., &Kawamoto, A. H. (1998). Runword: An IBM-PC software package for the collection and acoustic analysis of speeded naming responses.Behavior Research Methods, Instruments, & Computers,30, 371–383.
Myors, B. (1999). Timing accuracy of PC programs running under DOS and Windows.Behavior Research Methods, Instruments, & Computers,31, 322–328.
Segalowitz, S. J., &Graves, R. E. (1990). Suitability of the IBM XT, AT, and PS/2 keyboard, mouse, and game port as response devices in reaction time paradigms.Behavior Research M ethods, Instruments, & Computers,22, 283–289.
Smith, B., & Puckett, T. (1984, April). Life in the fast lane.PC Technical Journal, pp. 63–74.
Wilson, W. J. (1996). The f-maze: A versatile automated T-maze for learning and memory experiments in the rat.Behavior Research Methods, Instruments, & Computers,28, 360–364.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Hamm, J.P. Object-oriented millisecond timers for the PC. Behavior Research Methods, Instruments, & Computers 33, 532–539 (2001). https://doi.org/10.3758/BF03195412
Received:
Accepted:
Issue Date:
DOI: https://doi.org/10.3758/BF03195412