Difference between revisions of "Contributions:LSLSource"
(→Steps to use LSLSource)
|Line 1:||Line 1:|
Latest revision as of 14:14, 29 August 2019
"LSLSource" is a source module that can use Labstreaminglayer to aquire data from different hardware, such as OpenBCI, USBAmp, and eyes tracker. This source module can automatically detect the sampling rate and number of channels of the input signal and configure the output signal.
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. More information can be found at  The Documentation for Labstreaminglayer can be found at .
Steps to use LSLSource
1.Download the merge branch 'master' for the hardware (Applications can be found at .)
2.Connect hardware to your compute and open the application.
3.Set up sampling rate, sample block size and channels if necessary and open the connection to hardware.
4.Open LSLSource and configure the sample block size.
5.Set configuration and click start.
The number of channels will be automatically detected by the source module. User doesn't need to set it.
Samples per channel per digitized block. Together with the sampling rate, this parameter determines how often per second data are collected, processed, and feedback is updated. For example, at 500 Hz sampling and a SampleBlockSize of 20, the system (e.g., source signal display, signal processing, and stimulus presentation) will be updated 25 times per second. This variable will change as using different device. User can find the best sampling block size on the hardware spec sheet.
The sample rate of the system. Different hardware has different sampling rate. This source module can automatically detect the sampling rate for different hardware. The sampling rate should be compatible with sample block size. In case you are experiencing problems by higher sampling rates (e.g., data loss, jerky display, etc.), increase the SampleBlockSize so that you are updating the system less frequently (usually, updating the system 20-30 times per second is sufficient for most applications), and increase Visualize->VisualizeSourceDecimation. This parameter will decrease the number of samples per second that are actually drawn in the Source display.
Gain for each channel.
Offset for each channel.
Names of each channel.