Key result
Four microcontroller units and the LabJack U3 were comparable to the parallel port in latency and jitter for event marking, consistently achieving latencies under one millisecond.
Why the study?
The parallel port traditionally used for event marking and synchronization is disappearing from computer hardware, creating a need for an adequate replacement.
Microcontroller units provide a cost-effective, flexible, and performant USB-based replacement for the disappearing parallel port for event marking and data stream synchronization.
MCUs match legacy performance for event marking; leaves open validation across diverse experimental setups.
Modern experimental research often relies on the synchronization of different events prior to data analysis. One way of achieving synchronization involves marking distinct events with electrical pulses (event markers or “TTL pulses”), which are continuously recorded with research hardware, and can later be temporally aligned. Traditionally, this event marking was often performed using the parallel port in standard personal computers. However, the parallel port is disappearing from the landscape of computer hardware, being replaced by a serial (COM) port, namely the USB port. To find an adequate replacement for the parallel port, we evaluated four microcontroller units (MCUs) and the LabJack U3, an often used USB data acquisition device, in terms of their latency and jitter for sending event markers in a simulated experiment. Our results show that all four MCUs were comparable to the parallel port in terms of both latency and jitter, and consistently achieved latencies under one millisecond. With some caveats, the LabJack U3 can also achieve comparable latencies. In addition to the collected data, we share extensive documentation on how to build and use MCUs for event marking, including code examples. MCUs are a cost-effective, flexible, and performant replacement for the disappearing parallel port, enabling event marking and synchronization of data streams.
No takes yet. Share an insight, caveat, or question.
Appelhoff et al. (2021) studied this question. Microcontroller units (MCUs) and LabJack U3 vs. Parallel port was evaluated on Latency and jitter for sending event markers. Four microcontroller units and the LabJack U3 were comparable to the parallel port in latency and jitter for event marking, consistently achieving latencies under one millisecond.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: