Adding New Stimulation Codes

Tinkering with OpenViBE core: kernel/, modules/, toolkit/ etc
Post Reply
slightly
Posts: 5
Joined: Sun Dec 29, 2019 4:04 pm

Adding New Stimulation Codes

Post by slightly »

Hi Thibaut!

I have managed to fix things up such that I can successfully send the stimulation codes of my choice to the Acquisition Server. I am wondering if there is a way to add new stim codes or change the descriptions of the stim codes on my local version of OpenVibe.

I took a look at the page at http://openvibe.inria.fr/stimulation-codes/ and it says:
Note: Although OpenViBE does not restrict what numbers can be used as stimulations, in practice the OpenViBE Designer GUI elements only allow those stimuli that have been declared to the OpenViBE kernel’s Type Manager via a C++ call.

Could you please explain what this means? Does it mean that I would have change the source code to include any new codes / modified description and recompile OpenVibe on my pc (which is way beyond my ability)? I was hoping there is some script I can execute or text table/file I can modify which would add new codes with their description or modify the existing codes descriptions.

Your input would be greatly appreciated

Thibaut
Posts: 264
Joined: Wed Oct 31, 2018 9:14 am

Re: Adding New Stimulation Codes

Post by Thibaut »

Hello, Indeed, you must recompile locally with your own stimuli and code but I STRONGLY INADVISABLED. For some of them it's standard stimulation (for example it's compatible with biosig toolbox), and for community sharing it can be really a problem if you make some custom stimulations. (and we LOOOOVE share here^^).
Thibaut

Post Reply