Dear Openvibe
I want to create global variables that can be accessed from several boxes. Can we do this by defining 'int global_x' in ovp_global_defines.h? For example, in P300-speller-xDAWN, if I set 'int global_x = 2' in ovp_global_defines.h, then the box 'P300SpellerStimulator' and the box 'StimulationBasedEpoching' can access global_x. Also, how to set win-32-init_env_command.cmd to compile it?
Thank you very much
-Jim
global variables
Re: global variables
Hello,
what would you like to do with these global variables?
If you wish to have some settings globally available I suggest you look at the configuration manager object. This enables you to define tokens in configuration files and then access their values globally throughout the application.
Documentation is here:
http://openvibe.inria.fr/the-configuration-manager/
http://openvibe.inria.fr/documentation/ ... nager.html
what would you like to do with these global variables?
If you wish to have some settings globally available I suggest you look at the configuration manager object. This enables you to define tokens in configuration files and then access their values globally throughout the application.
Documentation is here:
http://openvibe.inria.fr/the-configuration-manager/
http://openvibe.inria.fr/documentation/ ... nager.html