In case of a final user of openViBE (ex : a clinician), the best to resume openViBE execution is a shortcut, to be exactly as a standard software. To do this, a command file has to be produced and a shortcut to this file next.
How to build this command file?
First, create a file.bat (on windows). Next build a command with :
>>> test-designer [ switch ] [ scenario_name ]
>>> Providing scenario_name opens the scenario immediately
>>> Possible switches :
>>> -p --play : plays the opened scenario
>>> -pf --play-fast : plays fast forward the opened scenario
>>> example : test-designer.cmd -p ../scenarios/my-scenar.xml
a problem remains, the environment has to be initialized. So a good example for a command file created in openViBE source folder :
Code: Select all
@echo off
pushd ..\scripts
call win32-init_env_command.cmd
popd
cd bin
OpenViBE-designer-dynamic.exe -p
..\share\openvibe-scenarios\neurofeedback\ICAneurofeedback_online\ICAneurofeedback_online.xml
Another point, it could be nice to lunch a scenario without designer at all, only the interface generated.