Hi, I am using a Matlab box to send stimulations, but there is a large gap between the Event and the time point when the stimulation is sent (approx. 200 ms). Is this normal?
I read in the following site that some lag is to be expected with stimulations via the Matlab Scripting box:
http://openvibe.inria.fr/overview-sendi ... -openvibe/
However, 200 ms seems like a lot. I also could not solve the problem with lowering the box clock frequency.
Matlab: large lag when sending stimulation codes
Re: Matlab: large lag when sending stimulation codes
Matlab is a heavy language, not really done for optimization and real time. Python would be "maybe" faster.
Re: Matlab: large lag when sending stimulation codes
Thank you for the answer!
Right now I'm trying the figure out how the "external processing" box works; are there example Scenarios with external processing boxes that call a script rather than an executable? I always receive the error "No Client connected before the timeout."
edit: another question: why is there no Python Scripting box in my Version of OpenVibe Designer 2.2.0? Is it maybe because it has become obsolete and is replaced by the External Processing box?
Right now I'm trying the figure out how the "external processing" box works; are there example Scenarios with external processing boxes that call a script rather than an executable? I always receive the error "No Client connected before the timeout."
edit: another question: why is there no Python Scripting box in my Version of OpenVibe Designer 2.2.0? Is it maybe because it has become obsolete and is replaced by the External Processing box?
Re: Matlab: large lag when sending stimulation codes
It's weird for the python box, it is always present normally, you miss other boxes?
Re: Matlab: large lag when sending stimulation codes
The Matlab Scripting box is there. In the Folder "Scripting" there are the following boxes:
DLL Bridge
External Processing
Lua Stimulator
Matlab Scripting
When I type "python" in the search field (boxes) I get no results.
DLL Bridge
External Processing
Lua Stimulator
Matlab Scripting
When I type "python" in the search field (boxes) I get no results.
Re: Matlab: large lag when sending stimulation codes
Have you the correct python install (2.7 & 3.4 x64 if your openvibe is compile in 64 x32 if your openvibe is compile in 32)
Re: Matlab: large lag when sending stimulation codes
I tried installing Python 3.4.4 64 bit and reinstalled OpenVibe 64 bit. But there is still no Python Scripting box
Re: Matlab: large lag when sending stimulation codes
Hi,
When you launch OpenViBE what is the log on the console wndows (the black windows) ?
Thibaut
When you launch OpenViBE what is the log on the console wndows (the black windows) ?
Thibaut