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  

|
November 09, 2021 02:10AM
Hi there,

I am trying to learn how to drive suma from the command line by following the example from this video
[www.youtube.com]


I am using this code (running from inside the SUMA folder of my subject)
#!/bin/tcsh

## Set up vars
set subj = P007_FR
set spec_file = {$subj}_lh.spec
set surf_vol = {$subj}_SurfVol+orig

## Set up afni vars
set portnum = `afni -available_npb_quiet`
setenv SUMA_DriveSumaMaxWait "30"


# Open surface
suma \
-echo_edu \
-npb $portnum \
-spec $spec_file \
-sv $surf_vol &

sleep 1

# Give side view for LH
DriveSuma \
-echo_edu \
-npb $portnum \
-com viewer_cont -key 'Ctrl+left'


But I am getting this error

Error SUMA_niml_call (SUMA_niml.c:597):
WriteCheck timed out (> 30000 ms).
-- Error SUMA_SendToSuma (SUMA_niml.c:4335):
Failed in SUMA_niml_call
-- Error DriveSuma (SUMA_DriveSuma.c:58):
Failed to initialize SUMA_SendToSuma
-- Error SUMA_SendToSuma (SUMA_niml.c:4363):
You must call SUMA_SendToSuma with action 0 before action 1.
No Communcation cleanup done.
oo Warning SUMA_ProcessCommand (SUMA_driver.c:628):
Failed in SUMA_SendToSuma
Communication halted.


Does anyone have any idea what I am doing wrong?

Thank you for your help,

Harriet
Subject Author Posted

DriveSuma not driving

hdempseyjones November 09, 2021 02:10AM

Re: DriveSuma not driving

hdempseyjones November 10, 2021 08:40PM

Re: DriveSuma not driving

Peter Lauren November 12, 2021 03:57PM

Re: DriveSuma not driving

rick reynolds November 12, 2021 04:06PM