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  

|
October 20, 2015 05:43PM
Dear,

I'm using Dimon to send images in real time to AFNI in another computer with this command and everything is working

I'm using this command:

Dimon -rt \
-infile_prefix $PATIENTDIR/i \
-host $RTFMRI_AFNI_HOST \
-pause 2000 \
-tr $TR_TIME \
-dicom_org \
-num_slices $NUMBER_OF_SLICES \
-nt $VOLUMES_PER_RUN \
-rt_cmd 'GRAPH_XRANGE '$VOLUMES_PER_RUN'' \
-rt_cmd 'NAME '$FMRI_SESSION'' \
-drive_wait 'OPEN_WINDOW axialimage geom=400x300+890+47' \
-drive_afni 'OPEN_WINDOW axialgraph pinnum='$VOLUMES_PER_RUN'' \
-drive_afni 'SET_SUBBRICKS 0 1 1' \
-drive_afni 'SET_DICOM_XYZ 152 20 37' \
-drive_afni 'SET_FUNC_RANGE 0' \
-drive_afni 'SET_THRESHNEW 0.4' \
-max_quiet_trs 3 \
-sleep_frac 0.4 \
-sleep_init 3000 \
-sort_method num_suffix \
-quit

but I'd like to modify the motion graph according with another expression and I'd like to include -rt_cmd 'GRAPH_EXPR sqrt(d*d+e*e+f*f)' to Dimon init. But if I include this option, Dimon crash and give Segmentatio Fault.

New Dimon expression:

Dimon -rt \
-infile_prefix $PATIENTDIR/i \
-host $RTFMRI_AFNI_HOST \
-pause 2000 \
-tr $TR_TIME \
-dicom_org \
-num_slices $NUMBER_OF_SLICES \
-nt $VOLUMES_PER_RUN \
-rt_cmd 'GRAPH_XRANGE '$VOLUMES_PER_RUN'' \
-rt_cmd 'GRAPH_EXPR sqrt(d*d+e*e+f*f)' \
-rt_cmd 'NAME '$FMRI_SESSION'' \
-drive_wait 'OPEN_WINDOW axialimage geom=400x300+890+47' \
-drive_afni 'OPEN_WINDOW axialgraph pinnum='$VOLUMES_PER_RUN'' \
-drive_afni 'SET_SUBBRICKS 0 1 1' \
-drive_afni 'SET_DICOM_XYZ 152 20 37' \
-drive_afni 'SET_FUNC_RANGE 0' \
-drive_afni 'SET_THRESHNEW 0.4' \
-max_quiet_trs 3 \
-sleep_frac 0.4 \
-sleep_init 3000 \
-sort_method num_suffix \
-quit

Segmentation fault error:
Fatal Signal 11 (SIGSEGV) received
mri_read_dicom
Dimon
Bottom of Debug Stack
** AFNI version = AFNI_2011_12_21_1014 Compile date = Oct 16 2015
** [[Precompiled binary linux_openmp_64: Oct 16 2015]]
** Program Death **
** If you report this crash to the AFNI message board,
** please copy the error messages EXACTLY, and give
** the command line you used to run the program, and
** any other information needed to repeat the problem.
** You may later be asked to upload data to help debug.
** Crash log is appended to file /home/maicondiogo/.afni.crashlog



######afni.crashlog

*********------ CRASH LOG ------------------------------***********
Fatal Signal 11 (SIGSEGV) received
.......... recent internal history .........................................
-------RWC_printf [7]: EXIT} (file=mri_dicom_hdr.c line=218) to DCM_DumpElements
+++++++RWC_printf [7]: {ENTRY (file=mri_dicom_hdr.c line=183) from DCM_DumpElements
-------RWC_printf [7]: EXIT} (file=mri_dicom_hdr.c line=218) to DCM_DumpElements
+++++++RWC_printf [7]: {ENTRY (file=mri_dicom_hdr.c line=183) from DCM_DumpElements
-------RWC_printf [7]: EXIT} (file=mri_dicom_hdr.c line=218) to DCM_DumpElements
+++++++RWC_printf [7]: {ENTRY (file=mri_dicom_hdr.c line=183) from DCM_DumpElements
-------RWC_printf [7]: EXIT} (file=mri_dicom_hdr.c line=218) to DCM_DumpElements
+++++++RWC_printf [7]: {ENTRY (file=mri_dicom_hdr.c line=183) from DCM_DumpElements
-------RWC_printf [7]: EXIT} (file=mri_dicom_hdr.c line=218) to DCM_DumpElements
------DCM_DumpElements [6]: EXIT} (file=mri_dicom_hdr.c line=2621) to mri_dicom_header
mri_dicom_header -- closing
-----mri_dicom_header [5]: EXIT} (file=mri_dicom_hdr.c line=338) to mri_read_dicom
+++++get_posns_from_elist [5]: {ENTRY (file=mri_read_dicom.c line=1654) from mri_read_dicom
-----get_posns_from_elist [5]: EXIT} (file=mri_read_dicom.c line=1685) to mri_read_dicom
+++++process_siemens_mosaic [5]: {ENTRY (file=mri_process_siemens.c line=42) from mri_read_dicom
-----process_siemens_mosaic [5]: EXIT} (file=mri_process_siemens.c line=64) to mri_read_dicom
+++++mri_new_7D_generic [5]: {ENTRY (file=mri_new.c line=48) from mri_read_dicom
-----mri_new_7D_generic [5]: EXIT} (file=mri_new.c line=140) to mri_read_dicom
+++++mri_add_name [5]: {ENTRY (file=mri_add_name.c line=19) from mri_read_dicom
-----mri_add_name [5]: EXIT} (file=mri_add_name.c line=30) to mri_read_dicom
----mri_read_dicom [4]: EXIT} (file=mri_read_dicom.c line=1315) to mri_read_dicom
++++mri_free [4]: {ENTRY (file=mri_free.c line=49) from mri_read_dicom
mri_free -- call killpurge
+++++mri_killpurge [5]: {ENTRY (file=mri_purger.c line=259) from mri_free
mri_killpurge -- check if im==NULL ptr=0x2220930
mri_killpurge -- can't killpurge NULL fname!
-----mri_killpurge [5]: EXIT} (file=mri_purger.c line=270) to mri_free
mri_free -- free name
mri_free -- free ptr
mri_free -- free im
----mri_free [4]: EXIT} (file=mri_free.c line=66) to mri_read_dicom
............................................................................
mri_read_dicom
Dimon
** AFNI compile date = Oct 16 2015
** [[Precompiled binary linux_openmp_64: Oct 16 2015]]
** Program Crash **

*********------ CRASH LOG ------------------------------***********
Fatal Signal 11 (SIGSEGV) received
.......... recent internal history .........................................
-------RWC_printf [7]: EXIT} (file=mri_dicom_hdr.c line=218) to DCM_DumpElements
+++++++RWC_printf [7]: {ENTRY (file=mri_dicom_hdr.c line=183) from DCM_DumpElements
-------RWC_printf [7]: EXIT} (file=mri_dicom_hdr.c line=218) to DCM_DumpElements
+++++++RWC_printf [7]: {ENTRY (file=mri_dicom_hdr.c line=183) from DCM_DumpElements
-------RWC_printf [7]: EXIT} (file=mri_dicom_hdr.c line=218) to DCM_DumpElements
+++++++RWC_printf [7]: {ENTRY (file=mri_dicom_hdr.c line=183) from DCM_DumpElements
-------RWC_printf [7]: EXIT} (file=mri_dicom_hdr.c line=218) to DCM_DumpElements
+++++++RWC_printf [7]: {ENTRY (file=mri_dicom_hdr.c line=183) from DCM_DumpElements
-------RWC_printf [7]: EXIT} (file=mri_dicom_hdr.c line=218) to DCM_DumpElements
------DCM_DumpElements [6]: EXIT} (file=mri_dicom_hdr.c line=2621) to mri_dicom_header
mri_dicom_header -- closing
-----mri_dicom_header [5]: EXIT} (file=mri_dicom_hdr.c line=338) to mri_read_dicom
+++++get_posns_from_elist [5]: {ENTRY (file=mri_read_dicom.c line=1654) from mri_read_dicom
-----get_posns_from_elist [5]: EXIT} (file=mri_read_dicom.c line=1685) to mri_read_dicom
+++++process_siemens_mosaic [5]: {ENTRY (file=mri_process_siemens.c line=42) from mri_read_dicom
-----process_siemens_mosaic [5]: EXIT} (file=mri_process_siemens.c line=64) to mri_read_dicom
+++++mri_new_7D_generic [5]: {ENTRY (file=mri_new.c line=48) from mri_read_dicom
-----mri_new_7D_generic [5]: EXIT} (file=mri_new.c line=140) to mri_read_dicom
+++++mri_add_name [5]: {ENTRY (file=mri_add_name.c line=19) from mri_read_dicom
-----mri_add_name [5]: EXIT} (file=mri_add_name.c line=30) to mri_read_dicom
----mri_read_dicom [4]: EXIT} (file=mri_read_dicom.c line=1315) to mri_read_dicom
++++mri_free [4]: {ENTRY (file=mri_free.c line=49) from mri_read_dicom
mri_free -- call killpurge
+++++mri_killpurge [5]: {ENTRY (file=mri_purger.c line=259) from mri_free
mri_killpurge -- check if im==NULL ptr=0x171f2a0
mri_killpurge -- can't killpurge NULL fname!
-----mri_killpurge [5]: EXIT} (file=mri_purger.c line=270) to mri_free
mri_free -- free name
mri_free -- free ptr
mri_free -- free im
----mri_free [4]: EXIT} (file=mri_free.c line=66) to mri_read_dicom
............................................................................
mri_read_dicom
Dimon
** AFNI compile date = Oct 16 2015
** [[Precompiled binary linux_openmp_64: Oct 16 2015]]
** Program Crash **

*********------ CRASH LOG ------------------------------***********
Fatal Signal 11 (SIGSEGV) received
.......... recent internal history .........................................
-------RWC_printf [7]: EXIT} (file=mri_dicom_hdr.c line=218) to DCM_DumpElements
+++++++RWC_printf [7]: {ENTRY (file=mri_dicom_hdr.c line=183) from DCM_DumpElements
-------RWC_printf [7]: EXIT} (file=mri_dicom_hdr.c line=218) to DCM_DumpElements
+++++++RWC_printf [7]: {ENTRY (file=mri_dicom_hdr.c line=183) from DCM_DumpElements
-------RWC_printf [7]: EXIT} (file=mri_dicom_hdr.c line=218) to DCM_DumpElements
+++++++RWC_printf [7]: {ENTRY (file=mri_dicom_hdr.c line=183) from DCM_DumpElements
-------RWC_printf [7]: EXIT} (file=mri_dicom_hdr.c line=218) to DCM_DumpElements
+++++++RWC_printf [7]: {ENTRY (file=mri_dicom_hdr.c line=183) from DCM_DumpElements
-------RWC_printf [7]: EXIT} (file=mri_dicom_hdr.c line=218) to DCM_DumpElements
------DCM_DumpElements [6]: EXIT} (file=mri_dicom_hdr.c line=2621) to mri_dicom_header
mri_dicom_header -- closing
-----mri_dicom_header [5]: EXIT} (file=mri_dicom_hdr.c line=338) to mri_read_dicom
+++++get_posns_from_elist [5]: {ENTRY (file=mri_read_dicom.c line=1654) from mri_read_dicom
-----get_posns_from_elist [5]: EXIT} (file=mri_read_dicom.c line=1685) to mri_read_dicom
+++++process_siemens_mosaic [5]: {ENTRY (file=mri_process_siemens.c line=42) from mri_read_dicom
-----process_siemens_mosaic [5]: EXIT} (file=mri_process_siemens.c line=64) to mri_read_dicom
+++++mri_new_7D_generic [5]: {ENTRY (file=mri_new.c line=48) from mri_read_dicom
-----mri_new_7D_generic [5]: EXIT} (file=mri_new.c line=140) to mri_read_dicom
+++++mri_add_name [5]: {ENTRY (file=mri_add_name.c line=19) from mri_read_dicom
-----mri_add_name [5]: EXIT} (file=mri_add_name.c line=30) to mri_read_dicom
----mri_read_dicom [4]: EXIT} (file=mri_read_dicom.c line=1315) to mri_read_dicom
++++mri_free [4]: {ENTRY (file=mri_free.c line=49) from mri_read_dicom
mri_free -- call killpurge
+++++mri_killpurge [5]: {ENTRY (file=mri_purger.c line=259) from mri_free
mri_killpurge -- check if im==NULL ptr=0x29532a0
mri_killpurge -- can't killpurge NULL fname!
-----mri_killpurge [5]: EXIT} (file=mri_purger.c line=270) to mri_free
mri_free -- free name
mri_free -- free ptr
mri_free -- free im
----mri_free [4]: EXIT} (file=mri_free.c line=66) to mri_read_dicom
............................................................................
mri_read_dicom
Dimon
** AFNI compile date = Oct 16 2015
** [[Precompiled binary linux_openmp_64: Oct 16 2015]]
** Program Crash **
Subject Author Posted

DIMON with GRAPH_EXPR option

maicondiogo October 20, 2015 05:43PM

Re: DIMON with GRAPH_EXPR option

rick reynolds October 21, 2015 12:23PM

Re: DIMON with GRAPH_EXPR option

maicondiogo October 21, 2015 01:06PM

Re: DIMON with GRAPH_EXPR option

Daniel Glen October 21, 2015 05:54PM