<aside> 💡 There is also an “internal” LSL channel on Mattermost (MPSCog-VR-Lab) for quick communication

</aside>

<aside> ⚠️ @Micha Gaebler July 19, 2024: Always count number of LSL streams or program your stimulation script to wait for all streams to be ready (@Anthony knows more)

</aside>

<aside> 📌

For BrainProducts, new LSL Connectors & LSL Viewer are available as of August 25, 2025 https://pressrelease.brainproducts.com/brainvision-lsl-tools/

</aside>

Description

The lab streaming layer (LSL) is a system for the unified collection of measurement time series in research experiments that handles both the networking, time-synchronization, (near-) real-time access as well as optionally the centralized collection, viewing and disk recording of the data.

Documentation:

LabStreamingLayer’s Documentation — Labstreaminglayer 1.13 documentation

General introduction to LSL

Introduction — Labstreaminglayer 1.13 documentation

https://youtu.be/tDDkrmv3ZKE?feature=shared

Jump to min 02:31 for an intro to the LabRecorder method or to min 05:49 for an overview on XDF file format.

Supported devices with LSL: https://labstreaminglayer.readthedocs.io/info/supported_devices.html

Resources:

Example of LSL code snippets in PsychoPy experiment

Integration with Brain Products devices

Tips and tricks for using Lab Streaming Layer (LSL) | Brain Products GmbH

GitHub - brain-products/LSL-BrainAmpSeries: LSL connector for BrainAmps

BCI+ | A complete data processing pipeline using LSL