Page 1 of 1

How modificated the lua stimulator

Posted: Mon Dec 14, 2015 9:23 pm
by Aline Buzzi
Hello Dear,

In my project, I work with three stimulus classes. Because that, I need to add in the lua stimulator one more class, but I don't know how I do that.
Someone knows how I modified the box lua stimulator for add one more class?

Thank you :)

Re: How modificated the lua stimulator

Posted: Tue Dec 15, 2015 3:07 pm
by nfoy
Hi Aline,
In the Lua Stimulator you can modify the Lua script. The way to send stimulations is as follows:
box:send_stimulation(1, OVTK_StimulationId_ExperimentStart, t, 0)
You can replace this stimulation by any other stimulation code from this page: http://openvibe.inria.fr/stimulation-codes/
Also don't hesitate to have a look at the Lua stimulator documentation box http://openvibe.inria.fr/documentation/ ... lator.html where you will find an example at the end.
Best regards