Python 3 scripting and LSL

Concerning processing components: filters, file load/save, visualizations, communication ...
Post Reply
mhadji05
Posts: 53
Joined: Tue Mar 16, 2021 9:37 am

Python 3 scripting and LSL

Post by mhadji05 »

Hello.

I m trying to send the simulations via LSL from Python 3 scripting classifier but I fail.
When I try the same with classifier processor everything is ok.

Please let me know how can I send the stimulations for left and right hand from python classifier via LSL.

Image

Thomas
Posts: 210
Joined: Wed Mar 04, 2020 3:38 pm

Re: Python 3 scripting and LSL

Post by Thomas »

Hi mhadji05,

If the stimulations are going through LSL when using the classifier processor box, this means that there is probably something wrong with the python script trying to perform the same thing.

You can find info on how to manipulate stimulations in python at : http://openvibe.inria.fr/tutorial-using ... -openvibe/
I suggest you to look at the stimulation section of course, and also the Tutorial 3 (Clock Stimulator) code example.

You can also use the box Stimulation Listener in OpenViBE, in order to see directly in the logs what comes out of your box.

Hope this helps.

Cheers,
Thomas

Post Reply