Device Syncing With LSL

Here is a step-by-step guide on using explorepy and OpenViBE to visualize multiple Mentalab Explore systems simultaneously.

  1. Start two Python consoles and activate a virtual environment for explorepy in both.

  2. Use the push2lsl command to stream data from your Explore device to lab streaming layer (one device per console).

  3. 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”.

  4. 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”.

  5. 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.

  6. 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).

  7. Click “Play” and enjoy!

Copyright © 2024 Mentalab