Lua socket freezes OpenVibe

Making & changing box plugins and external apps
Post Reply
alexbr
Posts: 1
Joined: Thu Nov 25, 2010 3:37 pm

Lua socket freezes OpenVibe

Post by alexbr »

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

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: Lua socket freezes OpenVibe

Post by yrenard »

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

Post Reply