History of AFNI updates  

|
June 02, 2015 04:21PM
Thanks, that helped a lot. I was able to get both sections of your code to work but using the GETENV command does not cause the stream to flush. I have also tried the SETENV command to see if that changes anything but the stream only seems to flush when I quit AFNI. I am currenlty using the code below in tcsh on OSX.
afni -yesplugouts | grep 'RAI xyz' > test.txt &

plugout_drive 	-quit\
		-comm 'GETENV bogus'\
		-comm 'SETENV AFNI_ENVIRON_WARNINGS NO'\
		-comm 'GET_DICOM_XYZ'\
		-comm 'GETENV bogus'\
		-comm 'SETENV AFNI_ENVIRON_WARNINGS NO'
It saves the x, y, and z coordinates in test.txt but only after I have quit AFNI. Do you have another idea on how to flush the stream? I tried clicking some of the different opitions on the AFNI GUI itself but nothing changed anything. This has been a big help.

Thanks
Matthew
Subject Author Posted

Plugout_Drive GET_DICOM_XYZ output

rollom June 01, 2015 05:22PM

Re: Plugout_Drive GET_DICOM_XYZ output

Isaac Schwabacher June 01, 2015 06:29PM

Re: Plugout_Drive GET_DICOM_XYZ output

rollom June 02, 2015 12:54PM

Re: Plugout_Drive GET_DICOM_XYZ output

Isaac Schwabacher June 02, 2015 02:45PM

Re: Plugout_Drive GET_DICOM_XYZ output

rollom June 02, 2015 04:21PM

Re: Plugout_Drive GET_DICOM_XYZ output

Daniel Glen June 02, 2015 05:37PM

Re: Plugout_Drive GET_DICOM_XYZ output

Isaac Schwabacher June 02, 2015 05:41PM

Re: Plugout_Drive GET_DICOM_XYZ output

rollom June 03, 2015 10:33AM

Re: Plugout_Drive GET_DICOM_XYZ output

Daniel Glen June 03, 2015 01:47PM

Re: Plugout_Drive GET_DICOM_XYZ output

rollom June 03, 2015 02:21PM