Search PubMed⌕ Search

PubMed · 11447669

Real-time data collection in Linux: a case study.

Abstract

Multiuser UNIX-like operating systems such as Linux are often considered unsuitable for real-time data collection because of the potential for indeterminate timing latencies resulting from preemptive scheduling. In this paper, Linux is shown to be fully adequate for precisely controlled programming with millisecond resolution or better. The Linux system calls that subserve such timing control are described and tested and then utilized in a MIDI-based program for tapping and music performance experiments. The timing of this program, including data input and output, is shown to be accurate at the millisecond level. This demonstrates that Linux, with proper programming, is suitable for real-time experiment software. In addition, the detailed description and test of both the operating system facilities and the application program itself may serve as a model for publicly documenting programming methods and software performance on other operating systems.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

S A Finney. 2001. Real-time data collection in Linux: a case study.. https://doi.org/10.3758/bf03195362

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related citations

Minimal data sets.

Explore the source record for details and available documents.

Data Collection↗