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  

|
ktn
June 22, 2018 06:13PM
Dear AFNI Team,

I am currently using the realtime plug-in to write the ROI average at each TR into a text file. I do this by opening 3 terminals: (i) the first terminal for running realtime_receiver.py along with the the -write_text_data option. (ii) the second for running afni -rt along with the AFNI_REALTIME environment variables. (iii) The third for running DImon in -rt mode.

I notice that there is a delay of a few (~3-4) TRs before any data is written into the text file. This happens only initially for the very first TRs. Specifically, after a delay of about 3 TRs the text file is dumped with 3 lines simultaneously, corresponding to the ROI averages for the first 3 TRs respectively. Following that, each line is written sequentially (as expected) at each TR.

The behavior described above is not just for how the text file is written using the -write_text_data option, but is also replicated in the terminal when using the -show_data option.

I have tried increasing and decreasing the value passed using the -pause option in Dimon, and used rtfeedme instead of Dimon, but always run into this delay problem. In fact, when testing at the scanner while acquiring dicom images in realtime, this initial delay increases to approximately 5 TRs.

I was wondering as to what the reason for this delay was, and if there was any way to eliminate (or considerably minimize) it?

Any help would be much appreciated. Thank you.
Subject Author Posted

Initial delay in the output values of realtime receiver

ktn June 22, 2018 06:13PM

Re: Initial delay in the output values of realtime receiver

rick reynolds June 22, 2018 07:22PM

Re: Initial delay in the output values of realtime receiver

ktn June 22, 2018 07:54PM

Re: Initial delay in the output values of realtime receiver

rick reynolds June 22, 2018 08:55PM