Support for fMRI experiments
started playing around with 0.25 I noticed that there is no out-of-the-box support for fMRI experiments, where one typically needs to sync to triggers send from the scanner. There is the port_reader plugin, but that is windows-only. It seems like inline-scripts + PySerial are the best way to address this in OpenSesame. I just wonder whether somebody is already working on something like this?
Interesting features to have would be: Wait for first/next trigger; wait for a particular trigger pulse (counted since start of the experiment/block/trial), log current trigger number for any event of interest, log temporal distance from last recorded trigger.
A generic implementation would probably need a separate thread that can poll whatever device to keep track of the incoming trigger, register callbacks or tell opensesame when to run the next loop iteration ...