Page 1 of 1

OpenVibe Shell Script to Play Scenario

Posted: Sat Mar 21, 2015 11:59 pm
by rsinghal
We have a scenario that collects data for 5 seconds and then stops. We need to set it up this way so that OpenVibe would write the data to a csv file every 5 seconds (we're trying to read and run the data through a machine learning algorithm in real time). We modified the cmd file for OpenVibe designer to start running the scenario every 5 seconds. Unfortunately, right now the cmd file is just opening the scenario. It will not click the play button when the scenario opens. We have a very hacky macro we wrote in the meanwhile with a RAZR mouse to click the play button periodically, but we would really like to do this using a script ideally. Help is much appreciated.

Re: OpenVibe Shell Script to Play Scenario

Posted: Sun Mar 22, 2015 6:36 pm
by jtlindgren
Hi Rsinghal,

see Designer command line parameters with --help. There should be switch --play to do what you want.


Happy hacking,
Jussi