Page 1 of 1

Sending stimulation to external programs and devices

Posted: Sun Sep 23, 2012 6:42 pm
by atom2004
I wonder if there are any boxes that can output stimulation to external programs and devices through TCP, UDP, parallel port and serial port.

Since different programs and devices may have different mechanism to tag stimulation, it would be good to have more choices available.

Yichuan

Re: Sending stimulation to external programs and devices

Posted: Mon Sep 24, 2012 11:56 am
by jlegeny
Hello atom2004,

there are several ways to communicate stimulations to external programs. You can use the VRPN button box to send them via the VRPN protocol, if your target application supports that. Otherwise you can create a socket connection using either the Lua Stimulation Box or Python Scripting Box.

Yann has written a post about using sockets with the Lua box and it can be found on his blog here: http://stickyvibe.tuxfamily.org/blog/?p=433

Cheers
Jozef