Configuration files
Posted: Mon Dec 02, 2013 3:54 pm
Hi everybody !
So, I was trying to use my own configurations parameters, for the designer and the acquisition server.
Reading the documentation, I quickly find that I need to use a $HOME/.openviberc file (on Ubuntu), and definitively NOT the files in $HOME/.config/openvibe/
As mentioned in these files header,
So i adjust my personal configuration file ($HOME/.openviberc), launch the acquisition-server and ... nothing happens. My configuration disappears somewhere in the numerical void.
The reason is simple : due to lines arrangement in the kernel/share/openvibe.conf file, the personal configuration file ($HOME/.openviberc) is read BEFORE the custom ones ( $HOME/.config/openvibe/). So the saved configuration override mine.
Solution : in the kernel/share/openvibe.conf file (or in the dist/share/openvibe/kernel/openvibe.conf one), you have move the "Include custom configuration" block BEFORE the "Include custom configuration (from deprecated location)" block.
DrMick
So, I was trying to use my own configurations parameters, for the designer and the acquisition server.
Reading the documentation, I quickly find that I need to use a $HOME/.openviberc file (on Ubuntu), and definitively NOT the files in $HOME/.config/openvibe/
As mentioned in these files header,
Code: Select all
# This file is generated
# Do not modify
The reason is simple : due to lines arrangement in the kernel/share/openvibe.conf file, the personal configuration file ($HOME/.openviberc) is read BEFORE the custom ones ( $HOME/.config/openvibe/). So the saved configuration override mine.
Solution : in the kernel/share/openvibe.conf file (or in the dist/share/openvibe/kernel/openvibe.conf one), you have move the "Include custom configuration" block BEFORE the "Include custom configuration (from deprecated location)" block.
DrMick