I'm interested in writing my own TCP Server in Matlab to receive ROI values from the real time plugin, but I need some help. I can't find much documentation about how the realtime plugin sends the data, and thus am having trouble parsing the data on the server side.
Is there some documentation, or is there a way I can look at the serial_helper source so that I can work off that code for my Matlab server?
Also, I'm new to MRI/afni so these might be naive questions but:
1. What are the units for the mask that afni expects (talaraich etc..)?
2. What are the units for the output (either voxel data or ROI averages)?
3. As I understand it, if I set registration for realtime, then it does motion correction before sending the values. Is that correct?
Thanks a lot for your help!