Sending via UDP with luasocket or python socket library
Posted: Wed Jun 12, 2013 3:44 pm
Hello Open Vibers,
This is my first post, so : bravo and many thanks to the development team for providing such a useful open-source tool.
Now here's my problem :
I'm currently trying to send UDP messages from designer to a third-party software running on localhost.
I have tried the trick in the sticky note from Yann Renard about luasocket, adapting it for UDP.
I also tried to insert some socket code in the python-sinus-oscillator example to send test packets.
I precise that I'm listening to the port with pd-extended, which I plan to use as a media manager for some EEG experiments.
I also precise that I'm running ov-designer on virtualbox with an ubuntu 12.04 guest, on a macosx host, but I see no reason why this could lead to local networking troubles.
Nothing arrives, like if packets woulnd't go out of OpenVibes.
Maybe I have to set some global variable somewhere to enable that ?
Or maybe I'm missing some basic point ...
For the moment I'm looking for a way to do he same thing with VRPN, but my preference still goes to raw UDP (and OSC in general).
Could please someone enlighten me ?
Thanks,
Joseph
This is my first post, so : bravo and many thanks to the development team for providing such a useful open-source tool.
Now here's my problem :
I'm currently trying to send UDP messages from designer to a third-party software running on localhost.
I have tried the trick in the sticky note from Yann Renard about luasocket, adapting it for UDP.
I also tried to insert some socket code in the python-sinus-oscillator example to send test packets.
I precise that I'm listening to the port with pd-extended, which I plan to use as a media manager for some EEG experiments.
I also precise that I'm running ov-designer on virtualbox with an ubuntu 12.04 guest, on a macosx host, but I see no reason why this could lead to local networking troubles.
Nothing arrives, like if packets woulnd't go out of OpenVibes.
Maybe I have to set some global variable somewhere to enable that ?
Or maybe I'm missing some basic point ...
For the moment I'm looking for a way to do he same thing with VRPN, but my preference still goes to raw UDP (and OSC in general).
Could please someone enlighten me ?
Thanks,
Joseph