Please follow the general LSL App build instructions. The LabRecorder brings up a console window in the background which shows a list of all streams that are added to the recording - this is a good place to check whether a late stream did get picked up successfully during a live recording. Again, it is advisable to check that the device is in fact discoverable and added.
If your computer uses Windows 7 or earlier, you may need to download a free PDF viewer (such as Adobe Reader ) before you can view PDF files. This can be useful when a device can only be turned on while the recording is already in progress. If the PDF file is already on your computer, you can simply double-click to open it with the default PDF application. If a device is displayed in red when you start recording (and it is checked), it will be added to the ongoing recording by the time when it comes online. Also, be sure to test whether it is in fact recoverable before relying on this feature (you can test this with a viewer by turning the device app off and back on). You should check the health of your device to be sure, however, for example using an online stream viewer program (see, for example, ViewingStreamsInMatlab).
If a device program or computer crashes while recording, you will for sure lose data, but any device program that transmits an associated device serial number will be picked up automatically by the recorder when it comes back online (these programs are called "recoverable"), without a need to stop and re-start the recording. If it takes you longer to fix the problem, you will have some gap in your recording. If a network connectivity error happens while recording (e.g., a network cable pops out that connects to the source of a data stream), you have usually 6 minutes (think 5) to plug it back it in during which the data will be buffered on the sending machine. The LabRecorder has some useful features that can add robustness if things go wrong during the experiment:
Download and install the latest liblsl- '.The Ubuntu releases do not typically ship with their dependencies so you will also have to download and install those: Install homebrew: /bin/bash -c "$(curl -fsSL )".In the near future it will be necessary to use homebrew to manage LSL Apps and their dependencies: About Press Copyright Contact us Creators Advertise Developers Terms Privacy Policy & Safety How YouTube works Test new features Press Copyright Contact us Creators. Getting LabRecorder Dependenciesįor LabRecorder to work on your system, you might need to first install some dependencies. There are importers for MATLAB, EEGLAB, BCILAB, Python, and MoBILAB. This is an open general-purpose format that was designed concurrently with LSL and supports all features of LSL streams. The file format used by the LabRecorder is XDF. It allows to record all streams on the lab network (or a subset) into a single file, with time synchronization between streams. I would start with a simple module for writing the data with the correct format (can probably find a lot of similar functions to those used in the xdf import module) that will live in the xdf python package. The LabRecorder is the default recording program that comes with LSL. The xdf format is open source so you should be able to write a pure Python xdf writer.