Hello, dear openvibe developers. Lately i encoutered a dificulty in connecting through TCP/IP with another program called PEBL. And the problem is that after being able to establish a connection between these two programs i notives that openvibe's scenarios freezes, and also the acquisition server. Although the conection functions correctly it is only when the unitialize function is executed in the Lua Stimulator toolbox that is possible to receive the signal through the acquisition server.
Probably openvibe works with treads of execution, so it would be expected to be able to receive through both connections at the same time.
Any ideas how to overcome this issue?
warmest regards
Alex
Lua socket freezes OpenVibe
Re: Lua socket freezes OpenVibe
Dear alexbr,
is there any kind of blocking call you're doing in LuaSocket ? In case not, just remember you have to release CPU using box:sleep() !
Posting a code snipet may help us to understand the problem
Regards,
Yann
is there any kind of blocking call you're doing in LuaSocket ? In case not, just remember you have to release CPU using box:sleep() !
Posting a code snipet may help us to understand the problem
Regards,
Yann