[open] Sending triggers from open sesame to other apps (Android)
Hi,
we would like to enable our Android app for receiving triggers from open sesame during the experiment for the purpose of EEG experiments.
From the other forum discussions I got the feeling that the best way to do this would be to implement UDP client that would listen certain port.
So, my question is ... Does open sesame acts like UDP server at the moment - if so on what port it communicates with clients?
Comments
Hi,
Yes, that would be my first option. It's simple and fast.
OpenSesame supports all the functionality of Python, one of which is running a UDP server. In other words, you can write a Python
inline_scriptto have OpenSesame send trigger messages to another program, possibly running on the same device. @Edwin posted an example of this here:See also:
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!