Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 2.48 KB

readme.md

File metadata and controls

49 lines (32 loc) · 2.48 KB

Guideline for OpenViBE to work with EMOTIV LSL Interface

The following guide describes how OpenViBE works with EMOTIV LSL Interface.

Prerequisites

How to receive data from EMOTIV LSL Outlet stream in OpenViBE

  1. Go to Lab Streaming Layer page, Outlet tab in EmotivPRO, choose the desire Data stream type and cf_float32 for Data format (as OpenViBE only supports this format for the moment). Click Start button to start streaming.

  2. Open the OpenViBE Acquisition Server, select LabStreamingLayer (LSL) option in the Driver field. Click the Driver Properties button. In the Device Configuration, make sure EmotivDataStream-xx/xx is selected in the Signal stream field. The EmotivDataStream-EEG stream is for EEG data, the EmotivDataStream-Motion stream is for motion data, etc.

  1. Connect to the LSL stream and then hit Play to start receiving data:

  1. Open the OpenViBE designer, then open the file LSLViewer.mxs. You can see the program connect an "Acquisition client" block to a "Signal display". Click on the "Acquisition client" block to change the settings, and make sure the Acquisition server port is matching with the connection port on the Acquisition server. Hit Apply to save and close the dialog.

  1. New hit Play button to display data streams:

Notes: Currently, OpenViBE only supports cf_float32 and cf_int32. So the data will be casted to cf_float32. Almost data still is same after casting but "Timestamp. Because the Timestamp is large number, lost precision after casting.

How to send marker from OpenViBE to EMOTIV LSL Inlet

Coming soon...

Reference