Device Syncing With LSL
Here is a step-by-step guide on using explorepy
and OpenViBE to visualize multiple Mentalab Explore systems simultaneously.
-
Start two Python consoles and activate a virtual environment for
explorepy
in both. -
Use the
push2lsl
command to stream data from your Explore device to lab streaming layer (one device per console). -
Open an OpenViBE acquisition server and select “LabStreamingLayer” as the driver. Under “Driver Properties”, select your Explore device’s “ExG” and “Marker” streams, selecting only one of the connected Explore devices. Click “Apply” and “Connect”.
-
Open an OpenViBE acquisition server server again, and select “LabStreamingLayer” as the driver again. Under “Driver Properties”, select the “ExG” and “Marker” streams from your other connected Explore device. Use a different connection port this time by opening “Preferences” and changing the
TCP_Tagging_Port
. Click “Apply” and “Connect”. -
Open the OpenViBE designer and start a “New Project”. Add two acquisition clients from the “Boxes” menu. Make sure that their port numbers match the port numbers you set in the acquisition servers.
-
Add a “Signal Merger” to combine the signals and add a “Signal Display”. Connect the two acquisition clients into the merger, and then add the merger to the display (connect the pink triangles on the edges of the boxes).
-
Click “Play” and enjoy!