AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
February 01, 2009 07:37PM
Here is a program I wrote in python with a TCP server that receives the motion parameters, plus one value for a ROI mask average, and plots it in real time. You should be able to get everything you need from the first three functions. It is reasonably clear and well-commented. It took me a long time to figure out how this stuff worked, so I figure this should save you some trouble! :)

[brainimaging.waisman.wisc.edu]

I have no idea what would be involved in writing a TCP server in Matlab, that's not really what Matlab is for, although at this point they've tacked every imaginable thing onto it (just like every other language, of course.) And if you need threading, it will be very tricky, here's a conversational thread about threading in Matlab:
[forum.allaboutcircuits.com]

I recommend python, for no reason other than that the code I sent you will give you almost everything you need.... :)

I did get a lot of the info for this from looking at the serial_helper source code. Hint: google "serial_helper.c" clever, huh?

-dave
Subject Author Posted

realtime AFNI

Alex December 21, 2008 10:24PM

Re: realtime AFNI

rick reynolds December 22, 2008 09:55AM

Re: realtime AFNI

Alex February 01, 2009 03:12PM

Re: realtime AFNI

David Perlman February 01, 2009 07:37PM

Re: realtime AFNI

rick reynolds February 01, 2009 08:14PM

Re: realtime AFNI

Alex February 16, 2009 06:13PM

Re: realtime AFNI

rick reynolds February 17, 2009 10:02AM

Re: realtime AFNI

Alex February 19, 2009 09:51PM

Re: realtime AFNI

rick reynolds February 19, 2009 10:39PM

Re: realtime AFNI

Alex February 20, 2009 08:59AM

Re: realtime AFNI

rick reynolds February 20, 2009 09:37PM

Re: realtime AFNI

Alex February 22, 2009 12:57PM

Re: realtime AFNI

rick reynolds February 22, 2009 02:07PM

Re: realtime AFNI

Alex February 24, 2009 10:40AM

Re: realtime AFNI

rick reynolds February 24, 2009 02:33PM

Re: realtime AFNI

Alex February 22, 2009 02:39PM