How modificated the lua stimulator

Come here to discuss about OpenViBE in general!
Post Reply
Aline Buzzi
Posts: 9
Joined: Mon Oct 12, 2015 2:47 pm

How modificated the lua stimulator

Post 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 :)

nfoy
Posts: 40
Joined: Fri Nov 14, 2014 1:06 pm

Re: How modificated the lua stimulator

Post 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

Post Reply