Page 1 of 1

Python 3 scripting and LSL

Posted: Mon Nov 07, 2022 10:15 am
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

Re: Python 3 scripting and LSL

Posted: Tue Nov 22, 2022 9:39 am
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